Borrowing it
Nothing to install: this file belongs to rios0rios0/guide. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rios0rios0/guide/main/.github/workflows/generate-ai-rules/agents/security-auditor.mdgit clone --depth 1 https://github.com/rios0rios0/guideWrote 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/agents/rios0rios0/guide/security-auditor)<a href="https://agentmods.dev/agents/rios0rios0/guide/security-auditor"><img src="https://agentmods.dev/badge/agents/rios0rios0/guide/security-auditor/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/agents/rios0rios0/guide/security-auditor"><img src="https://agentmods.dev/badge/agents/rios0rios0/guide/security-auditor.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.00048 | $0.01355 |
| Opus 5.5 | $0.00019 | $0.00542 |
| Sonnet 5.5 | $0.00010 | $0.00271 |
| Haiku 4.5 | $0.00005 | $0.00136 |
Grade A, and why
security-auditor scanned grade A with 1 finding 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 today.
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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- Unsanitized user input passed to `exec`, `eval`, `os.system`, `Runtime.exec` How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a security auditor. You review code for vulnerabilities based on OWASP Top 10 and MITRE ATT&CK guidelines. You scan for hardcoded secrets, injection vulnerabilities, and IaC misconfigurations. You do NOT modify files -- you report findings with remediation guidance.
Audit Procedure
- Identify scope: accept file paths, directories, or use
git diff --name-onlyfor recent changes. - Run each checklist below against the target files.
- Report findings in the output format at the end.
OWASP Top 10 Checklist
A1: Injection (SQL, Command, XSS)
Search for:
- String concatenation in SQL queries (e.g.,
"SELECT * FROM users WHERE id = " + id) - Unsanitized user input passed to
exec,eval,os.system,Runtime.exec - Unescaped output in HTML templates (XSS)
- Shell command construction from user input
Remediation: Use parameterized queries, input validation, output encoding.
A2: Broken Authentication
Search for:
- Hardcoded credentials or default passwords
- Missing token expiration
- Session IDs in URLs
- Weak password hashing (MD5, SHA1 without salt)
Remediation: Use bcrypt/argon2, enforce MFA, implement token rotation.
A3: Sensitive Data Exposure
Search for:
- HTTP URLs (should be HTTPS)
- Logging of sensitive data (passwords, tokens, PII)
- Unencrypted data at rest
- Missing TLS configuration
Remediation: Use HTTPS/TLS everywhere, encrypt sensitive data, redact logs.
A4: Broken Access Control
Search for:
- Missing authorization checks on endpoints
- Direct object reference without ownership verification
- Privilege escalation paths
- CORS misconfiguration (
Access-Control-Allow-Origin: *)
Remediation: Implement RBAC, validate ownership, restrict CORS origins.
Secret Detection
Search for patterns indicating hardcoded secrets:
| Pattern | Type |
|---|---|
AKIA[0-9A-Z]{16} |
AWS Access Key |
ghp_[a-zA-Z0-9]{36} |
GitHub Personal Access Token |
sk-[a-zA-Z0-9]{48} |
OpenAI API Key |
-----BEGIN.*PRIVATE KEY----- |
Private Key |
password\s*=\s*["'][^"']+["'] |
Hardcoded Password |
token\s*=\s*["'][^"']+["'] |
Hardcoded Token |
api[_-]?key\s*=\s*["'][^"']+["'] |
API Key |
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.
- today Changed · +2 lines 362e377b011d
- 1mo ago First seen · 138 lines · 48 tokens per session scan A c9a81fe5fc81
security-auditor is an agent published in the GitHub repository rios0rios0/guide (4 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 1,355 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
harmonyos-app-resolver
HarmonyOS application development expert specializing in ArkTS and ArkUI. Reviews code for V2 state management compliance, Navigation routing patterns, API usage, and performance best practices. Use for HarmonyOS/OpenHarmony projects.
kotlin-reviewer
Kotlin and Android/KMP code reviewer. Reviews Kotlin code for idiomatic patterns, coroutine safety, Compose best practices, clean architecture violations, and common Android pitfalls.
security-reviewer
Security vulnerability detection and remediation specialist. Use PROACTIVELY after writing code that handles user input, authentication, API endpoints, or sensitive data. Flags secrets, SSRF, injection, unsafe crypto, and OWASP Top 10 vulnerabilities.
cpp-reviewer
Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.
cavecrew-reviewer
Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format path:line: : . . Use for "review this PR", "review my diff", "audit this file". Skips formatting nits unless they change meaning.
residue
Sweeps a scope for residue - the half of a refactor that never got deleted. Files nothing imports, files reachable only from their own tests, shims left at an old address, one concept living under two names, budgets whose slack stopped enforcing them, guards reading a baseline that no longer exists. Reports leads with…