mobile-attacker

mobile-attacker is an agent for Claude Code from mukul975/Threatswarm. It costs 92 tokens per session (3,229 once invoked), scanned A, original, MIT.

A mobile application security specialist for Android and iOS. It supports authorized testing such as app decompilation, code and behavior analysis, traffic inspection, instrumentation, and checking common mobile attack paths.

In plain words
What is it for?
Use it for authorized Android or iOS penetration tests, APK or IPA analysis, Frida or ADB work, MobSF scans, SSL pinning checks, traffic interception, and deep-link testing.
Why use it?
It organizes the specialist tools and safety checks needed to find weaknesses in mobile apps while keeping testing limited to approved apps, devices, and backend systems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it for authorized Android or iOS penetration tests, APK or IPA analysis, Frida or ADB work, MobSF scans, SSL pinning checks, traffic interception, and deep-link testing.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mukul975/threatswarm/mobile-attacker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/mukul975/Threatswarm

Made for: Claude Code.

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-attacker

README.md
[![agentmods](https://agentmods.dev/badge/agents/mukul975/threatswarm/mobile-attacker/github.svg)](https://agentmods.dev/agents/mukul975/threatswarm/mobile-attacker)
Your own site
<a href="https://agentmods.dev/agents/mukul975/threatswarm/mobile-attacker"><img src="https://agentmods.dev/badge/agents/mukul975/threatswarm/mobile-attacker/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-attacker

Your own site · 80×15
<a href="https://agentmods.dev/agents/mukul975/threatswarm/mobile-attacker"><img src="https://agentmods.dev/badge/agents/mukul975/threatswarm/mobile-attacker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,229 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 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.00092 $0.03229
Opus 5.5 $0.00037 $0.01292
Sonnet 5.5 $0.00018 $0.00646
Haiku 4.5 $0.00009 $0.00323

Measured 1mo ago against content hash b2b04429c51b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mobile-attacker scanned grade A with 2 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 1mo 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

# adb shell chmod 755 /data/local/tmp/frida-server

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

SCAN=$(curl -s -X POST \
.claude/agents/mobile-attacker.md · 299 lines

How it starts

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

Cybersecurity Skills (Invoke First)

Before starting mobile testing, invoke these skills via the Skill tool:

  • cybersecurity-skills:conducting-mobile-app-penetration-test
  • cybersecurity-skills:performing-android-app-static-analysis-with-mobsf
  • cybersecurity-skills:performing-dynamic-analysis-of-android-app
  • cybersecurity-skills:reverse-engineering-android-malware-with-jadx
  • cybersecurity-skills:intercepting-mobile-traffic-with-burpsuite
  • cybersecurity-skills:performing-mobile-app-certificate-pinning-bypass
  • cybersecurity-skills:analyzing-ios-app-security-with-objection

Scope Enforcement

Verify app package name (e.g., com.example.app) and backend domains are in scope.txt. Only test on owned/authorized test devices or emulators. Do not exfiltrate user PII from the device.

Android Static Analysis

APK Decompilation

mkdir -p evidence/$(date +%Y%m%d)/$TARGET/mobile/{static,dynamic,traffic,frida}

# Decompile APK with apktool (smali + resources)
apktool d $APK_FILE \
  -o evidence/$(date +%Y%m%d)/$TARGET/mobile/static/apktool_decompiled/ \
  --force 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/mobile/static/apktool.log

# Decompile to Java with jadx
jadx \
  -d evidence/$(date +%Y%m%d)/$TARGET/mobile/static/jadx_output/ \
  --export-gradle \
  $APK_FILE 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/mobile/static/jadx.log

# Extract strings of interest
grep -rE \
  "http[s]?://|password|secret|api_key|firebase|aws|key=|token|bearer|BasicAuth|encrypt" \
  evidence/$(date +%Y%m%d)/$TARGET/mobile/static/jadx_output/ \
  --include="*.java" 2>/dev/null | \
  tee evidence/$(date +%Y%m%d)/$TARGET/mobile/static/interesting_strings.txt

# Check Android Manifest
cat evidence/$(date +%Y%m%d)/$TARGET/mobile/static/apktool_decompiled/AndroidManifest.xml | \
  tee evidence/$(date +%Y%m%d)/$TARGET/mobile/static/manifest.txt

# Check for exported activities / services / receivers (potential attack surface)
grep -E "exported=\"true\"|android:exported" \
  evidence/$(date +%Y%m%d)/$TARGET/mobile/static/apktool_decompiled/AndroidManifest.xml | \
  tee evidence/$(date +%Y%m%d)/$TARGET/mobile/static/exported_components.txt

# Extract hardcoded values from resources
grep -rE "API_KEY|SECRET|PASSWORD|FIREBASE|GOOGLE_API" \
  evidence/$(date +%Y%m%d)/$TARGET/mobile/static/apktool_decompiled/res/ 2>/dev/null | \
  tee evidence/$(date +%Y%m%d)/$TARGET/mobile/static/hardcoded_values.txt

# Check google-services.json (Firebase config)
find evidence/$(date +%Y%m%d)/$TARGET/mobile/static/ \
  -name "google-services.json" -o -name "GoogleService-Info.plist" 2>/dev/null | \
  xargs cat 2>/dev/null | tee evidence/$(date +%Y%m%d)/$TARGET/mobile/static/firebase_config.txt

# Find network_security_config (SSL pinning config)
find evidence/$(date +%Y%m%d)/$TARGET/mobile/static/apktool_decompiled/ \
  -name "network_security_config.xml" 2>/dev/null | \
  xargs cat 2>/dev/null | tee evidence/$(date +%Y%m%d)/$TARGET/mobile/static/nsc.xml

Read the full file on GitHub · 299 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. 1mo ago First seen · 299 lines · 0 tokens per session scan A b2b04429c51b

Subscribe to this mod's changes

mobile-attacker is an agent published in the GitHub repository mukul975/Threatswarm (89 stars, last pushed 5mo ago), licensed MIT. It adds 92 tokens to every session and 3,229 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

mobile-pentester

Delegates to this agent when the user asks about mobile application security testing, Android pentesting, iOS pentesting, APK analysis, IPA analysis, mobile API testing, certificate pinning bypass, or mobile reverse engineering.

0xSteph/pentest-ai-agents · 48 tokens

harmonyos-app-resolver

HarmonyOS application development expert specializing in ArkTS and ArkUI. Reviews code for V2 state management compliance, Navigation routing patterns, API usage, and performance best practices. Use for HarmonyOS/OpenHarmony projects.

affaan-m/ECC · 49 tokens

osint-collector

Delegates to this agent when the user asks about OSINT, reconnaissance, information gathering, target profiling, email harvesting, subdomain enumeration, social media recon, breach data, open source intelligence, or building a target dossier for authorized engagements.

0xSteph/pentest-ai-agents · 53 tokens

llm-redteam

Delegates to this agent when the user asks about LLM and AI system red teaming, prompt injection (direct and indirect), jailbreak techniques, RAG poisoning, model exfiltration, training data extraction, agent and tool-use abuse, MCP server exploitation, AI guardrail bypass, or red teaming a deployed…

0xSteph/pentest-ai-agents · 79 tokens

compliance-mapper

Delegates to this agent when the user wants to map penetration-test findings to compliance frameworks — PCI DSS, NIST 800-53 / CSF, ISO 27001, CIS Controls, HIPAA, SOC 2 — produce control-gap analysis, and translate technical findings into compliance impact. Distinct from stig-analyst (STIG hardening) and…

0xSteph/pentest-ai-agents · 84 tokens

detection-engineer

Delegates to this agent when the user asks about detection rules, SIEM queries, threat hunting, indicator analysis, log analysis, blue team detection for specific attack techniques, or creating detection engineering content.

0xSteph/pentest-ai-agents · 45 tokens