mobile-sec-audit

mobile-sec-audit is a command for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 20 tokens per session (1,190 once invoked), scanned A, original, MIT.

A command for performing a structured security audit of an Android or iOS application against OWASP MASVS categories. It produces prioritised findings with platform-specific remediation guidance.

In plain words
What is it for?
Running pre-release reviews, periodic assessments, compliance checks, third-party due diligence, and post-incident mobile-app reviews.
Why use it?
It helps turn application details, source code, or app packages into an ordered list of security issues and fixes.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the mobile-app-security plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Running pre-release reviews, periodic assessments, compliance checks, third-party due diligence, and post-incident mobile-app reviews.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hermeticormus/libresecops-claude-code/mobile-sec-audit
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/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install mobile-app-security, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 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-sec-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/mobile-sec-audit/github.svg)](https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/mobile-sec-audit)
Your own site
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/mobile-sec-audit"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/mobile-sec-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-sec-audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/mobile-sec-audit"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/mobile-sec-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 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,190 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.00020 $0.01190
Opus 5.5 $0.00008 $0.00476
Sonnet 5.5 $0.00004 $0.00238
Haiku 4.5 $0.00002 $0.00119

Measured 12d ago against content hash 60ace0027bbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mobile-sec-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 12d 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.

plugins/mobile-app-security/commands/mobile-sec-audit.md · 130 lines

How it starts

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

/mobile-sec-audit

Structured security audit of a mobile application against OWASP MASVS categories, producing prioritized findings with platform-specific remediation.

Trigger

Use when you need to assess the security posture of an Android or iOS application. Appropriate for:

  • Pre-release security assessment
  • Periodic security review of existing apps
  • Compliance verification against MASVS
  • Due diligence on acquired or third-party applications
  • Post-incident review of a mobile application

Input

Provide as much of the following as available:

  • Platform: Android, iOS, or cross-platform (React Native, Flutter, Xamarin)
  • Application purpose: What the app does, what data it handles
  • Risk profile: Financial, healthcare, general consumer, enterprise
  • Source code or decompiled code (preferred for deep review)
  • APK/IPA file information (package name, permissions, manifest)
  • Architecture description: Backend API, authentication method, third-party services
  • AndroidManifest.xml or Info.plist contents
  • Network Security Config (Android) or ATS configuration (iOS)
  • Previous assessment results if this is a reassessment

At minimum, provide the platform and application purpose. More context enables more specific findings.

Process

The audit follows OWASP MASVS v2.0 control groups systematically:

  1. MASVS-STORAGE -- Data Storage and Privacy

    • Review local storage mechanisms (databases, preferences, files)
    • Check for sensitive data in logs, clipboard, backups, screenshots
    • Verify proper use of platform secure storage (Keystore/Keychain)
    • Test data exposure through IPC mechanisms
    • Assess third-party analytics/crash reporting data leakage
  2. MASVS-CRYPTO -- Cryptography

    • Verify algorithm selection (no MD5, SHA-1, DES, RC4, ECB mode)
    • Check key generation (proper entropy, platform CSPRNG)
    • Assess key storage (hardware-backed Keystore/Secure Enclave)
    • Review crypto implementation for common pitfalls (static IVs, key reuse)
    • Verify certificate validation in custom TrustManagers/URLSession delegates

Read the full file on GitHub · 130 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. 12d ago Changed · +5 lines · +20 tokens per session 60ace0027bbc
  2. 1mo ago First seen · 125 lines · 0 tokens per session scan A 382813385189

Subscribe to this mod's changes

mobile-sec-audit is a command published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 9d ago), licensed MIT. It adds 20 tokens to every session and 1,190 once invoked, about $0.0001 per session on Opus 5.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-09-03.