mobile-audit

mobile-audit is a command for Claude Code from allsmog/vuln-scout. It costs 27 tokens per session (1,592 once invoked), scanned A, original, MIT.

A command that audits Android applications assembled from decompiled APK files. It scans both Java or Kotlin source code and Android configuration files, then combines the results.

In plain words
What is it for?
It is for finding Android security issues such as exposed components, unsafe WebViews, weak network settings, hardcoded secrets, insecure storage, and risky deep links.
Why use it?
A normal vulnerability scan can miss problems when the decompiled application is split across separate source and resource directories.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 vuln-scout/scripts/mobile_scan.py "$ARG_TARGET" \.

Part of the vuln-scout plugin — 32 skills, 15 commands, 9 agents shipped together

Good fit It is for finding Android security issues such as exposed components, unsafe WebViews, weak network settings, hardcoded secrets, insecure storage, and risky deep links.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/allsmog/vuln-scout
agentmods
npx agentmods add commands/allsmog/vuln-scout/mobile-audit

Made for: Claude Code.

Or install vuln-scout, the plugin that ships this one along with the rest of its 32 skills, 15 commands, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mobile-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/allsmog/vuln-scout/mobile-audit/github.svg)](https://agentmods.dev/commands/allsmog/vuln-scout/mobile-audit)
Your own site
<a href="https://agentmods.dev/commands/allsmog/vuln-scout/mobile-audit"><img src="https://agentmods.dev/badge/commands/allsmog/vuln-scout/mobile-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mobile-audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/allsmog/vuln-scout/mobile-audit"><img src="https://agentmods.dev/badge/commands/allsmog/vuln-scout/mobile-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,592 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01592
Opus 5 $0.00014 $0.00796
Sonnet 5 $0.00005 $0.00318
Haiku 4.5 $0.00003 $0.00159

Measured 9d ago against content hash 26f02fb93256, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

mobile-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vuln-scout/commands/mobile-audit.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mobile Audit

End-to-end mobile audit driver for Android targets. Most Android bug-bounty work involves a decompiled APK that's been split into two directories:

Directory Holds What we scan for
jadx_out/sources/ Java/Kotlin pseudocode WebView JS injection, remote-controlled URLs, insecure crypto, sensitive SharedPreferences, hardcoded secrets, @JavascriptInterface exposure
apktool_out/ AndroidManifest.xml, res/xml/network_security_config.xml, native libs Exported components, NSC pinning gaps, debuggable builds, allowBackup, deeplink hosts

Pointing the regular /vuln-scout:scan at the target root misses one or the other. This command auto-discovers both, runs the orchestrator on each, and writes a single merged findings.json to the target's .claude/.

Usage

/vuln-scout:mobile-audit ~/bug-bounty/<target>
/vuln-scout:mobile-audit ~/bug-bounty/target --profile deep --output /tmp/out.json
# Apply a previously-triaged FP allowlist
/vuln-scout:mobile-audit ~/bug-bounty/target --suppressions ~/bug-bounty/target/.vuln-scout-ignore

The driver also auto-discovers <target>/.vuln-scout-ignore if --suppressions is not given.

# Limit CI output to the two highest-impact chains
/vuln-scout:mobile-audit ~/bug-bounty/target --top-chains 2
# Ultra-quick smoke scan — skip chain detection entirely
/vuln-scout:mobile-audit ~/bug-bounty/target --no-chains
# Discover the chain pattern slugs to use in .vuln-scout-ignore rules
/vuln-scout:mobile-audit --list-chain-patterns
# Same, but emit JSON for tooling integration
/vuln-scout:mobile-audit --list-chain-patterns --list-chain-patterns-format json
# Lint a .vuln-scout-ignore file — warns on unknown chain slugs,
# invalid severity levels, and empty patterns. Exits non-zero on issues.
# Accepts either a file path or a target directory (auto-finds the
# .vuln-scout-ignore inside it).
/vuln-scout:mobile-audit --validate-suppressions ~/bug-bounty/target/.vuln-scout-ignore
/vuln-scout:mobile-audit --validate-suppressions ~/bug-bounty/target

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 159 lines · 27 tokens per session scan A 26f02fb93256

Subscribe to this mod's changes

mobile-audit is a command published in the GitHub repository allsmog/vuln-scout (24 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 1,592 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.