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.
git clone --depth 1 https://github.com/tungnk123/mobile-best-practicesWrote 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.
[](https://agentmods.dev/commands/tungnk123/mobile-best-practices/mobile-security-audit)<a href="https://agentmods.dev/commands/tungnk123/mobile-best-practices/mobile-security-audit"><img src="https://agentmods.dev/badge/commands/tungnk123/mobile-best-practices/mobile-security-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.
<a href="https://agentmods.dev/commands/tungnk123/mobile-best-practices/mobile-security-audit"><img src="https://agentmods.dev/badge/commands/tungnk123/mobile-best-practices/mobile-security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00014 | $0.01579 |
| Opus 5 | $0.00007 | $0.00790 |
| Sonnet 5 | $0.00003 | $0.00316 |
| Haiku 4.5 | $0.00001 | $0.00158 |
Grade A, and why
mobile-security-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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Perform a comprehensive security audit of this mobile project.
IMPORTANT: You MUST run every python3 search command below and base ALL findings exclusively on the database results. Do NOT rely on training data. Every vulnerability and recommendation must come from the database output.
Step 1: Scan the Entire Project
Find all relevant source files:
- Android:
find . -name "*.kt" -o -name "*.kts" -o -name "*.xml" -o -name "*.gradle" -o -name "*.json" -o -name "*.properties" | grep -v build | grep -v .gradle - iOS:
find . -name "*.swift" -o -name "*.plist" -o -name "*.entitlements" | grep -v .build - Flutter:
find . -name "*.dart" -o -name "*.yaml" -o -name "AndroidManifest.xml" -o -name "*.plist" | grep -v .dart_tool - React Native:
find . -name "*.tsx" -o -name "*.ts" -o -name "*.js" -o -name "*.json" | grep -v node_modules
Read the actual source files to understand the current security implementation.
Step 2: Search the Database — ALL Entries Required
Run ALL of the following searches. Do NOT skip any. Use the results as the authoritative source:
# Authentication & session security
python3 ~/.mobile-best-practices/scripts/search.py "authentication token session jwt biometric" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "oauth login credential" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "session management logout token revoke" --domain security -n 10
# Data storage security
python3 ~/.mobile-best-practices/scripts/search.py "keystore keychain encrypted storage" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "sharedpreferences userdefaults plaintext sensitive" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "api key secret hardcoded credential" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "encryption aes rsa cipher" --domain security -n 15
# Network security
python3 ~/.mobile-best-practices/scripts/search.py "ssl tls certificate pinning network" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "https cleartext man-in-the-middle" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "network security config trust anchor" --domain security -n 10
# Logging & data exposure
python3 ~/.mobile-best-practices/scripts/search.py "log logcat sensitive data leak" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "crash report analytics pii" --domain security -n 10
python3 ~/.mobile-best-practices/scripts/search.py "clipboard screenshot task switcher" --domain security -n 10
# Code & binary security
python3 ~/.mobile-best-practices/scripts/search.py "root jailbreak detection bypass" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "obfuscation proguard r8 minify" --domain security -n 10
python3 ~/.mobile-best-practices/scripts/search.py "tamper detection integrity" --domain security -n 10
python3 ~/.mobile-best-practices/scripts/search.py "reverse engineering decompile apk" --domain security -n 10
# Input & injection
python3 ~/.mobile-best-practices/scripts/search.py "input validation injection sql xss" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "intent deeplink url scheme" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "webview javascript interface" --domain security -n 15
# Permissions & privacy
python3 ~/.mobile-best-practices/scripts/search.py "permission runtime privacy gdpr" --domain security -n 15
python3 ~/.mobile-best-practices/scripts/search.py "location camera microphone background" --domain security -n 10
# Platform-specific security
python3 ~/.mobile-best-practices/scripts/search.py "android manifest exported broadcast" --domain security --filter-platform android -n 15
python3 ~/.mobile-best-practices/scripts/search.py "content provider sql injection cursor" --domain security --filter-platform android -n 10
python3 ~/.mobile-best-practices/scripts/search.py "ios ats app transport security" --domain security --filter-platform ios -n 15
python3 ~/.mobile-best-practices/scripts/search.py "keychain access group entitlements" --domain security --filter-platform ios -n 10
python3 ~/.mobile-best-practices/scripts/search.py "flutter dart secure storage plugin" --domain security --filter-platform flutter -n 15
python3 ~/.mobile-best-practices/scripts/search.py "react native async storage bridge" --domain security --filter-platform react-native -n 15
# OWASP Mobile Top 10 coverage
python3 ~/.mobile-best-practices/scripts/search.py "improper platform usage" --domain security -n 10
python3 ~/.mobile-best-practices/scripts/search.py "insecure data storage" --domain security -n 10
python3 ~/.mobile-best-practices/scripts/search.py "insufficient cryptography" --domain security -n 10
python3 ~/.mobile-best-practices/scripts/search.py "insecure authentication" --domain security -n 10
python3 ~/.mobile-best-practices/scripts/search.py "binary protection" --domain security -n 10
# Platform guidelines for security
python3 ~/.mobile-best-practices/scripts/search.py "security" --platform android -n 10
python3 ~/.mobile-best-practices/scripts/search.py "security" --platform ios -n 10
python3 ~/.mobile-best-practices/scripts/search.py "security" --platform flutter -n 10
python3 ~/.mobile-best-practices/scripts/search.py "security" --platform react-native -n 10
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.
- 10d ago First seen · 112 lines · 14 tokens per session scan A 8b43f4948ea6
mobile-security-audit is a command published in the GitHub repository tungnk123/mobile-best-practices (22 stars, last pushed 6mo ago), licensed MIT. It adds 14 tokens to every session and 1,579 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.
Other commands, from other repositories
app-store-audit
Run an enterprise pre submission compliance audit on an iOS or Android app against Apple App Store and Google Play rejection rules. Pass a project path or run from the project root.
initialize-ios
Manual override: initialize ast-index for iOS/Swift/ObjC project.
maestro-selectors-instructions
Guide to using Maestro selectors for targeting UI elements in tests.
flutter-review
Review Flutter/Dart code for idiomatic patterns, widget best practices, state management, performance, accessibility, and security. Invokes the flutter-reviewer agent.
flutter-test
Run Flutter/Dart tests, report failures, and incrementally fix test issues. Covers unit, widget, golden, and integration tests.
kmp-update-design-system
Compares the current KMP project's :core:designsystem/components against the reference implementations in the kmp-compose-design-system skill and applies safe updates.