# Security audit

> Security audit is an open-source agent skill for security. Audits Android app code for security flaws against the OWASP MASVS v2.0 standard. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/liuyi0808/android-review/tree/main/skills/security-audit
- **Repository:** https://github.com/liuyi0808/android-review
- **GitHub stars:** 21
- **License:** MIT
- **Skill name:** security-audit
- **Collection:** https://github.com/liuyi0808/android-review
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

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).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/liuyi0808/android-review/tree/HEAD/skills/security-audit)
- [License: MIT](https://github.com/liuyi0808/android-review/tree/HEAD/skills/security-audit)

## Features

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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Mobile security](https://ai-powered.com/skills/mobile-security): Mobile security is an open-source agent skill for security.
- [Source code scanning](https://ai-powered.com/skills/source-code-scanning): Source code scanning is an open-source agent skill for security.
- [Security agent](https://ai-powered.com/skills/security-agent): Security agent is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review-getsentry): Security review is an open-source agent skill for security.
- [Security review edho ferdian](https://ai-powered.com/skills/security-review-edho-ferdian): Security review edho ferdian is an open-source agent skill for security.
- [Security audit](https://ai-powered.com/skills/security-audit): Security audit is an open-source agent skill for security.
- [Moodle security audit](https://ai-powered.com/skills/moodle-security-audit): Moodle security audit is an open-source agent skill for security.
- [Security audit](https://ai-powered.com/skills/security-audit-pstuart): Security audit is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/security-audit-liuyi0808
