Skip to content
Skill

Security audit

Audits Android app code for security flaws against the OWASP MASVS v2.0 standard

Security audit is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
21
Last commit
License
MIT
Listing updated

Similar skills

About Security audit

This skill gives an agent a structured way to review Android and Kotlin code for security weaknesses, covering all eight MASVS categories: storage, cryptography, authentication, network, platform, code, resilience and privacy. Each category has its own reference file with bad and good Kotlin examples, anti-pattern tables and checklists that the agent loads when a relevant area appears in the code.

Findings are reported in a fixed template that records the MASVS category, a severity from critical to info, the file and line, a CWE identifier, the description, evidence, impact and a suggested fix with references. The skill also lists common Android anti-patterns such as hardcoded secrets, disabled certificate validation, exported components and insecure WebView settings, plus a 51-item checklist the agent can work through.

No scripts are bundled, so the audit relies on the agent reading source files and applying the guidance. It targets Android projects written in Kotlin and is distributed as a Claude Code plugin in the android-review marketplace.

When your agent uses it

Android application security audit based on OWASP MASVS v2.0 and Kotlin secure coding practices. Use when: writing or reviewing code involving sensitive data storage (SharedPreferences, Room), cryptography (encryption keys, Keystore), authentication (biometrics, token management), network security (TLS, cert pinning), WebView hardening, Content Provider security, reverse engineering resilience (root detection, tamper detection), or user privacy (data minimization, consent).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 9 files (23 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the android-review plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add liuyi0808/android-review
/plugin install android-review@android-review

Or copy only this skill to ~/.claude/skills/security-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/security-audit &&
cp -R "$tmp/skills/security-audit" ~/.claude/skills/security-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/security-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/security-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/security-audit &&
cp -R "$tmp/skills/security-audit" ~/.agents/skills/security-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/security-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/security-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/security-audit &&
cp -R "$tmp/skills/security-audit" ~/.cursor/skills/security-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/security-audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/liuyi0808/android-review.git --path skills/security-audit

Or copy the folder to ~/.gemini/skills/security-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/security-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/security-audit &&
cp -R "$tmp/skills/security-audit" ~/.copilot/skills/security-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/security-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/liuyi0808/android-review.git

Then copy android-review/skills/security-audit into your agent's skills folder as security-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Eight MASVS categories
Covers storage, cryptography, authentication, network, platform, code, resilience and privacy checks.
Severity-rated finding template
Reports each issue with category, severity, file location, CWE, evidence and a fix.
Kotlin code examples
Each category pairs insecure and secure Kotlin snippets to show the expected pattern.
Common anti-pattern list
Lists ten frequent Android security mistakes, from hardcoded secrets to implicit broadcasts.
51-item audit checklist
Provides numbered checks per category that can be worked through during a review.
Reference documentation links
Points to OWASP MASVS, MASTG and Android developer security guidance for deeper reading.

Good for

  • Review a pull request that stores tokens in SharedPreferences
  • Check whether a Keystore-based encryption implementation is sound
  • Audit WebView settings in an Android activity
  • Verify network security config and certificate pinning
  • Assess an app's logging and debug build configuration before release

Security audit FAQ

What does Security audit need to run?

It needs no scripts or external tools. The agent reads Android Kotlin source files and applies the bundled MASVS guidance.

When does the skill trigger?

It is meant for writing or reviewing code involving sensitive data storage, cryptography, authentication, network security, WebView, Content Providers, resilience or privacy.

What output does Security audit produce?

Findings in a fixed template with category, severity, file and line, CWE, description, evidence, impact, remediation and references.

Which standard does Security audit follow?

It is based on OWASP MASVS v2.0 and Kotlin secure coding practices.

How do I install Security audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/security-audit to use it in all your projects, or to .claude/skills/security-audit in one project. Or install the android-review plugin, which includes it: /plugin marketplace add liuyi0808/android-review, then /plugin install android-review@android-review.

Does Security audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Security audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Security audit?

The closest alternatives to Security audit are Mobile security, Source code scanning, Security agent, Security review and Security review edho ferdian.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from liuyi0808/android-review

  1. Guides an agent to structure Android apps with Clean Architecture, MVVM/MVI and Hilt

    • Open source
    • 21 GitHub stars
    • Developer tools
  2. Guides and reviews Jetpack Compose UI code with Material 3 patterns and accessibility

    • Open source
    • 21 GitHub stars
    • Developer tools
  3. Reviews Android Kotlin code for coroutines, Flow, null safety, type design and collections

    • Open source
    • 21 GitHub stars
    • Developer tools
  4. Audits Android Kotlin/Compose apps for performance problems and reports prioritized fixes

    • Open source
    • 21 GitHub stars
    • Developer tools
  5. Audits an Android app's Google Play submission for personal loan compliance and privacy

    • Open source
    • 21 GitHub stars
    • Legal and government