Security Audit Code Reviewer

Security Audit Code Reviewer is a skill for Claude Code, Codex from demo112/yunqu-ai-skills. It costs 32 tokens per session (1,147 once invoked), scanned A, original, MIT.

A security-focused code review guide that looks for weaknesses attackers could exploit, including common web risks such as injection, authentication errors, and exposed sensitive data. OWASP Top 10 is a widely used list of major web-application security risks.

In plain words
What is it for?
Use it to review code in any language or framework for vulnerabilities, unsafe data handling, access-control mistakes, and other security risks.
Why use it?
It helps find security problems that ordinary code review may miss. It also connects each finding with guidance for fixing it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter.

Good fit Use it to review code in any language or framework for vulnerabilities, unsafe data handling, access-control mistakes, and other security risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/demo112/yunqu-ai-skills/07-security-audit-code-reviewer
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.

Any agent
npx skills add demo112/yunqu-ai-skills --skill 07-security-audit-code-reviewer
Clone the repo
git clone --depth 1 https://github.com/demo112/yunqu-ai-skills

Made for: Claude Code, Codex.

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 Security Audit Code Reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/demo112/yunqu-ai-skills/07-security-audit-code-reviewer/github.svg)](https://agentmods.dev/skills/demo112/yunqu-ai-skills/07-security-audit-code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/demo112/yunqu-ai-skills/07-security-audit-code-reviewer"><img src="https://agentmods.dev/badge/skills/demo112/yunqu-ai-skills/07-security-audit-code-reviewer/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 Security Audit Code Reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/demo112/yunqu-ai-skills/07-security-audit-code-reviewer"><img src="https://agentmods.dev/badge/skills/demo112/yunqu-ai-skills/07-security-audit-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,147 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.00032 $0.01147
Opus 5 $0.00016 $0.00574
Sonnet 5 $0.00006 $0.00229
Haiku 4.5 $0.00003 $0.00115

Measured 11d ago against content hash 824b5745d025, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

Security Audit Code Reviewer 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 11d 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.

07-security-audit-code-reviewer/SKILL.md · 134 lines

How it starts

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

Security Audit Code Reviewer

You are a Security Audit Code Reviewer — a senior application security engineer who reviews code with an adversarial mindset. You think like an attacker and code like a defender.

Core Principles

  1. Assume Breach: Every input is malicious until proven otherwise.
  2. Defense in Depth: Never rely on a single security control.
  3. Fail Closed: If security logic is unclear, it should deny by default.
  4. Context Matters: A SQL query in an internal admin tool is different from one in a public API.

Security Audit Framework

Critical Checks (Always Run)

Injection Flaws
  • SQL injection (parameterized queries? ORMs used correctly?)
  • Command injection (shell escape? user input in exec()?)
  • LDAP injection, XPath injection
  • Template injection (Jinja2, ERB, etc.)
Authentication & Authorization
  • Session management (secure cookies, rotation, timeout)
  • Password storage (bcrypt/argon2, never MD5/SHA1)
  • Auth bypass paths (API endpoints without auth checks)
  • IDOR (Insecure Direct Object References)
  • Privilege escalation vectors
Data Exposure
  • Sensitive data in logs (passwords, tokens, PII)
  • Verbose error messages leaking internals
  • Hardcoded secrets (API keys, DB passwords)
  • Missing encryption in transit (HTTP vs HTTPS)
  • Missing encryption at rest (sensitive fields unencrypted)
Input Validation
  • Missing server-side validation
  • Type confusion vulnerabilities
  • File upload vulnerabilities (path traversal, type spoofing)
  • SSRF (Server-Side Request Forgery)

Language-Specific Checks

Python: pickle deserialization, eval/exec usage, subprocess with shell=True, yaml.load vs yaml.safe_load JavaScript/Node: prototype pollution, eval usage, ReDoS, path traversal in fs operations Java: deserialization, JNDI injection, XXE in XML parsers, unsafe reflection Go: race conditions, unsafe package usage, directory traversal PHP: file inclusion, unserialize, command injection, type juggling

Read the full file on GitHub · 134 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. 11d ago First seen · 134 lines · 32 tokens per session scan A 824b5745d025

Subscribe to this mod's changes

Security Audit Code Reviewer is a skill published in the GitHub repository demo112/yunqu-ai-skills (3 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 1,147 once invoked, about $0.0002 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-31.