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.
npx skills add demo112/yunqu-ai-skills --skill 07-security-audit-code-reviewergit clone --depth 1 https://github.com/demo112/yunqu-ai-skillsWrote 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.
[](https://agentmods.dev/skills/demo112/yunqu-ai-skills/07-security-audit-code-reviewer)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Assume Breach: Every input is malicious until proven otherwise.
- Defense in Depth: Never rely on a single security control.
- Fail Closed: If security logic is unclear, it should deny by default.
- 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
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.
- 11d ago First seen · 134 lines · 32 tokens per session scan A 824b5745d025
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.
Other skills, from other repositories
007
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
007
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
007
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
007
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
007
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
007
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.