bedkillerspacex-boop/codex-skill-library/android-exported-components

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.

Authorized Android exported-component security review: Activities, Services, BroadcastReceivers, ContentProviders, deep links, and intent-filter surface. Use when assessing android:exported, unprotected IPC, path permissions, or privilege escalation via exported components on owned apps, labs, or CTF APKs.

Install

npx vskill@latest install bedkillerspacex-boop/codex-skill-library/android-exported-components

SKILL.md

The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/android-exported-components.

Android Exported Components

Scope And Authorization

  • In scope: APKs you own, lab builds, CTFs, or mobile assessments with written authorization.
  • Out of scope: Attacking third-party apps on user devices without permission.
  • Prefer debug builds with test accounts; avoid production user data.
  • Pair remediations with code-quality-standards and deeper intent review via android-intent-security.

When To Use

  • Manifest review for android:exported="true" components.
  • Hunting IPC entry points: activities, services, receivers, providers.
  • Deep link / App Link attack surface inventory.
  • Privilege escalation from a same-device malicious app model.

Do Not Use As Primary

NeedSkill instead
PendingIntent / extras deep diveandroid-intent-security
Full mobile pentest flowandroid-pentesting-tricks
WebView XSSandroid-webview-security
Implementation quality baselinecode-quality-standards

Domain Focus

ComponentRisk if exported unprotected
ActivityUI/task hijack, forced flows, data leak via extras
ServiceBackground action trigger, bind exposure
ReceiverSpoofed broadcasts causing state change
ProviderSQL/IDOR-like data read/write; path traversal
Deep linksOpen redirects, token theft via params

Android 12+: components with intent filters must explicitly set android:exported.

Workflow

1. Confirm scope and success criteria
  1. Record package name, build type, auth model.
  2. Success: inventory of exported components with protection level; proof for each high-risk; fixes or accepted risk.
  3. Threat model: malicious app on device without privileges.
2. Inventory from manifest
bash
# Decode
apktool d app.apk -o apk_out
# Or aapt
aapt dump xmltree app.apk AndroidManifest.xml | rg -i 'exported|intent-filter|provider|activity|service|receiver'
jadx -d jadx_out app.apk
bash
# On device
adb shell dumpsys package com.example.app | rg -i 'exported|Activity|Service|Receiver|Provider'

Build a table:

ComponentTypeExportedPermissionIntent filters
3. Classify protection
PatternAssessment
exported=falseNot directly invocable by other apps
exported=true + signature permissionOnly same-signing apps
exported=true + normal/dangerous custom permWeaker; may be obtainable
exported=true + no permissionWorld callable — review code
Provider grantUriPermissionsTemporary URI exposure review
4. Dynamic probes (authorized)
bash
PKG=com.example.app
# Start exported activity
adb shell am start -n $PKG/.DebugActivity
# Send broadcast
adb shell am broadcast -a com.example.ACTION -n $PKG/.MyReceiver
# Start service
adb shell am startservice -n $PKG/.MyService
# Query provider
adb shell content query --uri content://$PKG.provider/items
  1. Fuzz extras carefully (see android-intent-security).
  2. Observe data returned, crashes, privilege changes.
5. ContentProvider specifics
  1. Check android:readPermission / writePermission / path-permission.
  2. Test SQL injection in selection if raw queries; IDOR across users if multiprofile.
  3. openFile path traversal (..%2F) if file-backed.
6. Deep links
bash
adb shell am start -a android.intent.action.VIEW -d 'https://example.com/path?token=TEST'
adb shell am start -a android.intent.action.VIEW -d 'myapp://reset?code=TEST'
  1. Validate tokens server-side; do not trust deep link alone for auth.
  2. Prefer verified App Links (android:autoVerify).
7. Remediate and verify
IssueFix
Needlessly exportedexported=false
Must exportsignature-level permission or system permission
Provider dataEnforce authz in provider code, not only manifest
Debug activityStrip from release builds

Reinstall release build and re-run am start expect failures where appropriate.

Good / Bad

TopicGoodBad
DefaultsExplicit exported flagsImplicit surprises pre-review
DebugNon-exported or debug-onlyDebugActivity exported in prod
ProvidersPermissions + in-code checksOpen content:// with PII
TestingEvidence per componentManifest-only assumptions

Output Checklist

  • [ ] Full exported component table
  • [ ] Protection classification per entry
  • [ ] Dynamic invocation results
  • [ ] Provider/deep link special cases covered
  • [ ] High-risk issues with repro steps
  • [ ] Remediation verified on release build
  • [ ] Related intent issues handed to android-intent-security
  • [ ] Secrets redacted

Rules

  • Authorized apps only.
  • Treat on-device malicious app as default adversary.
  • Prefer least export surface.
  • Evidence-driven: code paths + runtime.
  • Do not publish exploit APKs for out-of-scope store apps.

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/bedkillerspacex-boop/codex-skill-library/android-exported-components/badge)](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/android-exported-components)

Something wrong with this skill or its page? Tell us.