Skip to main content
skill CX Codex

mobile-code-review — Claude Code skill: what it does, how to install

mobile-code-review audits native Android and iOS source code for security vulnerabilities against the OWASP MASVS v2.1.0 benchmark.

CC-BY-4.0 224 installs ★ 230 updated 2026-10-15

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add OWASP/secure-agent-playbook --skill mobile-code-review -a claude-code
Open on GitHub

What mobile-code-review does

The skill evaluates native source code written in Java, Kotlin, Swift, Objective-C, and Dart. It starts by fingerprinting the target platform through AndroidManifest.xml, build.gradle, Info.plist, or Xcode project files. Detecting only a cross-platform wrapper triggers a partial coverage notice.

Evaluation follows the eight MASVS categories in sequence: storage, crypto, authentication, network, platform interaction, code quality, resilience, and privacy. For each control, the agent retrieves corresponding MASTG test procedures and inspects the repository tree. When reviewing pull request diffs, it targets changed lines to ensure certificate pinning, KeyStore or Keychain usage, and permission configurations are not weakened.

Results follow templates/finding.md and are sorted by severity from CRITICAL down to INFO. Static checks cannot confirm runtime privacy and resilience protections, so the generated report flags those gaps and supplies follow-up dynamic tests from MASTG.

What it helps with

  • audit native Android and iOS codebases against OWASP MASVS v2.1.0
  • inspect mobile PR diffs for weakened certificate pinning or Keychain handling
  • rank discovered mobile vulnerabilities by severity into structured finding reports
  • compile dynamic test checklists for runtime privacy and anti-tampering validation

Example prompts for the agent

  • Review this iOS authentication module diff against OWASP MASVS controls
  • Run a mobile security review on our Android repository focusing on KeyStore usage
  • Audit this pull request for insecure data storage and missing network security configs

How to install mobile-code-review

1Skills CLI (Vercel)

npx skills add OWASP/secure-agent-playbook --skill mobile-code-review -a claude-code

2Manually: put the files in place

~/.claude/skills/mobile-code-review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/mobile-code-review/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about mobile-code-review

How to install mobile-code-review in Claude Code?

Run npx skills add OWASP/secure-agent-playbook --skill mobile-code-review -a claude-code in your terminal.

What does mobile-code-review do?

It guides the agent through static security reviews of mobile code bases using OWASP MASVS v2.1.0 standards and MASTG test definitions.

How does the skill handle hybrid or cross-platform codebases?

The checks require native Android and iOS constructs. If only a cross-platform shell is detected, the skill flags the review as partial coverage.

Source text

SKILL.md · CC-BY-4.0
---
name: mobile-code-review
description: Security-focused review of native Android and iOS mobile app source code against OWASP MASVS v2.1.0. Use when reviewing mobile codebases, mobile PR diffs, or auditing a mobile module.
license: CC-BY-4.0
---
 
# Mobile Security Code Review

Review native Android and iOS source code for security vulnerabilities by following the full procedure in `plays/mobile-code-review.md`.

## Steps

1. **Scope & Context** — Language (Java/Kotlin/Swift/Obj-C/Dart), platform, app type, sensitive data, exposure.
2. **Platform Detection** — Fingerprint Android (AndroidManifest.xml, build.gradle) and/or iOS (Info.plist, *.xcodeproj). If only a cross-platform shell is detected, declare partial coverage.
3. **Systematic Review by MASVS Group** — For each of the 8 MASVS groups (STORAGE, CRYPTO, AUTH, NETWORK, PLATFORM, CODE, RESILIENCE, PRIVACY) in priority order:
   - Load `data/masvs/MASVS-<GROUP>-<N>.md` for the control statement and the `mastg_tests:` list.
   - For each MASTG test ID, load `data/mastg/MASTG-TEST-####.md` and apply its Static Analysis content (V1) or Steps/Observation/Evaluation (V2) to the source tree.
   - Note V1-fallback tests in findings using the file's `status_note`.
4. **Diff-Specific Analysis** (for PRs) — Focus on changed lines; verify pinning, permissions, and KeyStore/Keychain usage are not weakened.
5. **Produce Findings** — Use `templates/finding.md`. Sort by severity (CRITICAL > HIGH > MEDIUM > LOW > INFO). Deduplicate cross-group findings (cite the most specific MASVS control in `OWASP Ref`).

## Output

Scope summary (platform, languages), upstream-pointer note for MASTG IDs (`https://github.com/OWASP/mastg`, `https://mas.owasp.org/MASTG/`), findings sorted by severity using `templates/finding.md` (each finding carries an optional `MASTG references:` bullet listing any non-TEST `@MASTG-<KIND>-####` cross-refs cited in the informing tests, grouped by KIND alphabetically, IDs sorted numerically, omitted when empty), positive observations, severity count table, RESILIENCE static-only notice block, PRIVACY runtime-required caveat for findings against PRIVACY-2/PRIVACY-3, dynamic-test follow-up list (collected from `data/mastg/` entries with `type: [dynamic]` that informed findings).

## OWASP References

- OWASP MASVS v2.1.0
- OWASP MASTG (forward cross-references)
- OWASP MAS Checklist
- OWASP ASVS v5.0 (overlap items only)
- CWE-312, CWE-327, CWE-295, CWE-926, CWE-749, others per finding

© OWASP · CC-BY-4.0 · OWASP/secure-agent-playbook

Similar skills

All skills for Security →

From the same set18

The whole set →
security-guidance The security-guidance skill applies OWASP ASVS guidance to code involving input, auth, storage, networks, files, cryptography, or access control. CX Codex +1 492installs secrets-scan secrets-scan scans source and config files for hardcoded credentials, API keys and tokens, whether you are reviewing before a merge or auditing a repo. CX Codex +1 427installs sca-audit sca-audit scans project dependencies for known CVEs, highlights abandoned packages, and suggests exact remediation commands. CX Codex +1 358installs agent-security-audit agent-security-audit is a Claude Code skill that checks AI agent configurations for vulnerabilities. Run it when reviewing CLAUDE.md files, MCP configs, and agent orchestration code. CX Codex +1 302installs prompt-injection-test prompt-injection-test runs an LLM app through prompt injection attacks from the Arcanum PI Taxonomy. Use it when red-teaming your own AI app or checking how well its guardrails hold. CX Codex +1 220installs mcp-server-review mcp-server-review is a Claude Code skill that audits MCP server code and client settings for security risks. Run it to review a server or assess it before installation. CX Codex +1 217installs iac-security-review iac-security-review reviews Terraform, Kubernetes, and CloudFormation for security misconfigurations. Use it before an infrastructure change is reviewed or deployed. CX Codex +1 196installs securability-engineering securability-engineering — a skill that generates code adhering to FIASSE v1.0.4 and ASVS controls by default. Use it when building security-sensitive functions, APIs, or components that must pass review without rework. CX Codex +1 191installs

Project sponsors

Companies that keep this analytics open