bedkillerspacex-boop/codex-skill-library/android-intent-security
Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Review Android Intent security: exported components, intent filters, PendingIntent mutability, deeplinks, and parcel extras validation. Use when auditing owned apps or authorized mobile assessments beyond generic exported-component lists.
Install
npx vskill@latest install bedkillerspacex-boop/codex-skill-library/android-intent-securitySKILL.md
The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/android-intent-security.
Android Intent Security
Scope And Authorization
- In scope: Owned apps, labs, CTFs, authorized mobile assessments.
- Out of scope: Delivering malware intents against third-party apps without authorization.
- Use test devices/accounts; redact tokens found in extras.
- Builds on
android-exported-components; pair fixes withcode-quality-standards.
When To Use
- Auditing Intent extras handling and type confusion.
- PendingIntent flags (
FLAG_IMMUTABLE/ mutability). - Deep link parameter injection and identity assertion.
- Implicit intent hijacking / intent redirection.
Do Not Use As Primary
| Need | Skill instead | |
|---|---|---|
| Exported surface inventory only | android-exported-components | |
| WebView-specific issues | android-webview-security | |
| Full pentest toolbox | android-pentesting-tricks | |
| Implementation quality baseline | code-quality-standards |
Domain Focus
| Issue class | Summary | |
|---|---|---|
| Implicit intent hijack | Sending implicit intents with sensitive extras | |
| Intent redirection | Forwarding attacker-controlled Intent to privileged component | |
| Extras trust | Assuming types/ranges; parcel mismatch | |
| PendingIntent | Mutable PI allows attacker fill-in | |
| Deep links | Auth tokens in query; open redirect | |
| Task affinity / trampoline | UI spoofing patterns |
Workflow
1. Confirm scope and success criteria
- Package, components of interest, auth model.
- Success: dangerous intent paths listed with repro; PendingIntents immutable where required; extras validated; deep links don’t grant auth alone.
- Combine with exported inventory.
2. Static review
- Flag
getIntent()data passed tostartActivitywithout validation (redirection). - Flag mutable PendingIntents for notifications/alarms on modern SDKs.
3. PendingIntent hardening
| Case | Guidance | |
|---|---|---|
| Fixed target/action | Prefer IMMUTABLE | |
| Need fill-in | Use carefully; explicit component; minimal attacker control | |
| Notifications | Immutable default on recent Android |
4. Extras validation
| Check | Action | |
|---|---|---|
| Null/missing | Fail closed | |
| Type | Use typed APIs; careful with custom Parcelable | |
| Ranges | IDs positive; lengths capped | |
| Nested intents | Unwrap only if trusted |
5. Intent redirection tests
- Prove whether untrusted app can force privileged activity or data leak.
- Fix: never forward raw attacker Intent; copy allowed fields only.
6. Deep links and identity
- Tokens in links leak via logs, referrers, history — prefer server-side one-time codes.
- Validate path/host; reject unexpected schemes.
7. Implicit intents with sensitive data
- Prefer explicit component when targeting your own app.
- For
ACTION_SEND, assume other apps can read extras.
8. Hand off
- File each issue with component, intent payload, impact.
- Add lint/rules if available for mutable PI and intent redirects.
- Regression tests for deep link allowlists.
Good / Bad
| Topic | Good | Bad | |
|---|---|---|---|
| PI flags | IMMUTABLE default | Mutable “for convenience” | |
| Redirection | Field allowlist | startActivity(intent.getParcelableExtra("next")) | |
| Deep link | One-time server code | Long-lived session in URL | |
| Implicit | No secrets in extras | Auth headers in SEND extras |
Output Checklist
- [ ] Exported inventory available
- [ ] PendingIntent mutability reviewed
- [ ] Extras validation reviewed on entry points
- [ ] Redirection paths tested
- [ ] Deep links auth model verified
- [ ] Implicit sensitive sends reviewed
- [ ] Fixes verified
- [ ]
code-quality-standardsapplied
Rules
- Authorized testing only.
- Validate all untrusted Intent data.
- Prefer explicit intents and immutable PendingIntents.
- Deep links are not authentication by themselves.
- Redact tokens from PoCs and reports.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingandroid-intent-security/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/android-intent-security)