/decx:decx-vulnhuntfrom decx
Android vulnerability hunting with DECX. Use when analyzing APK app-layer attack surfaces (exported components, deep links, WebView/Provider/Service/Receiver IPC) or Android framework/Binder targets (system_server, AIDL, system services, vendor/OEM code, privileged IPC), or composed exploit chains.
Ships in decx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Goal: prove exploitable attack paths from entrypoint to visible impact, on APK app-layer or Android framework/Binder targets.
Use for Android vulnerability hunting on APK apps or framework/Binder targets. Do not use for report writing, PoC construction, or generic DECX command help.
Route reports to decx-report, PoC work to decx-poc, raw CLI usage to decx-cli.
| Target | Open command | Surface | Track |
|---|---|---|---|
| APK / DEX | decx process open | exported components, deep links, AIDL, dynamic receivers, WebView, providers, services | App |
| processed framework JAR | decx android framework open | Binder services, AIDL methods, system service implementations | Framework |
Pick one track per target. Load references/app-chains.md (App) or references/framework-chains.md (Framework) for composite chains and single-pattern routing.
References are a vulnerability knowledge base, not a workflow manual — this file controls execution. Every pattern card carries YAML frontmatter track: app|framework; only load cards matching the active track. A card should add one of: a routing signal, a non-obvious API/Binder/identity/permission quirk or version default, or a closed-form constraint that prevents false positives. Stop reading a card when it only repeats generic Android security knowledge.
references/<track>-chains.md and pick the smallest chain that matches. Load one or two matching references/patterns/<track>_*.md cards for source/sink/guard/reject rules; do not load sibling cards by name alone — only when the trace crosses that boundary.references/risk-rating.md before calling any candidate a finding.Use human hints when provided, but never promote a path without complete evidence.
Call it a finding only when concrete evidence proves every required kind along one traced path:
| Kind | Required proof |
|---|---|
entrypoint | component type, exported/trigger condition, trigger syntax |
reachability | attacker action reaches the path |
control | attacker-controlled value reaches sink argument |
guard | guard passes, is bypassed, or is absent |
sink | dangerous operation |
impact | visible consequence |
| Kind | Required proof |
|---|---|
service-entrypoint | Binder/service method exposed |
binder-reachability | unprivileged caller can reach it |
control | attacker-controlled Binder parameter/state reaches sink |
identity | caller identity at trust boundary |
permission-guard / appop-guard / user-guard | authorization result |
sink | privileged operation |
impact | system-visible consequence |
Framework guards must be checked at the Binder trust boundary (caller identity bound before the privileged operation, target user bound via INTERACT_ACROSS_USERS before any asUser call).
For both tracks, reject candidates based only on names/registration, inline-only evidence, mixed evidence kinds, or scope drift.
One proven path = one finding writeup. Field contract (one field per line):
id — F<n>, numbered in analysis order; reused directly as report anchor and PoC spec idtitletarget — target file + session name/portentrypoint — component/service + exported/trigger conditiontrigger — concrete trigger syntaxpath — entry → control → guard → sink, with concrete evidence per step (class/method/line level)impact — visible consequencerating — per references/risk-rating.md + rationaleevidence — DECX command outputs / code location referencesdecx-report and decx-poc consume this contract; field names in this section are the single source of truth.
Hand finalized finding writeups to decx-report for reporting and decx-poc for PoC construction.
references/app-chains.md — App composite chains and single-pattern routingreferences/framework-chains.md — Framework composite chains and single-pattern routingreferences/patterns/app_*.md — App pattern cards (load only matching)references/patterns/framework_*.md — Framework pattern cards (load only matching)references/risk-rating.md — single rating authority for both tracks; load only before calling a candidate a findingreferences/app-chains.md (opens in a new tab)references/framework-chains.md (opens in a new tab)references/patterns/app_archive-extraction.md (opens in a new tab)references/patterns/app_broadcast.md (opens in a new tab)references/patterns/app_cross-app-channels.md (opens in a new tab)references/patterns/app_exported-access.md (opens in a new tab)references/patterns/app_fragment-ui.md (opens in a new tab)references/patterns/app_implicit-intent-hijack.md (opens in a new tab)references/patterns/app_intent-redirect.md (opens in a new tab)references/patterns/app_object-parsing.md (opens in a new tab)references/patterns/app_pendingintent.md (opens in a new tab)references/patterns/app_provider-leak.md (opens in a new tab)references/patterns/app_service-cmd.md (opens in a new tab)references/patterns/app_setresult-leak.md (opens in a new tab)references/patterns/app_uri-grant.md (opens in a new tab)references/patterns/app_webview-entry.md (opens in a new tab)references/patterns/app_webview-exploit.md (opens in a new tab)references/patterns/framework_clear-identity.md (opens in a new tab)references/patterns/framework_content-provider-proxy.md (opens in a new tab)references/patterns/framework_identity-confusion.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: hooks: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
4 skills in this plugin
/decx-cliUse when running DECX CLI commands to open APK, DEX, JAR, or framework targets; inspect classes, methods, source, xrefs, inheritance, or search results; inspect manifests, components, resources, AIDL, Binder metadata, or permissions for Android targets; or manage DECX sessions./decx-pocBuild one Android PoC project from one finalized DECX finding writeup. Optional compile/deploy only when explicitly requested./decx-reportGenerate DECX reports from finalized finding writeups. Use after decx-vulnhunt has produced proven findings.Other plugins' skills for the same job