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 agentmods add agents/orlando-japan/claude-code-setting/security-auditorgit clone --depth 1 https://github.com/orlando-japan/claude-code-settingWrote 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/orlando-japan/claude-code-setting/security-auditor)<a href="https://agentmods.dev/agents/orlando-japan/claude-code-setting/security-auditor"><img src="https://agentmods.dev/badge/agents/orlando-japan/claude-code-setting/security-auditor.svg" alt="Measured on agentmods" 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 | $0.00059 | $0.00788 |
| Opus 5 | $0.00030 | $0.00394 |
| Sonnet 5 | $0.00012 | $0.00158 |
| Haiku 4.5 | $0.00006 | $0.00079 |
Grade A, and why
security-auditor 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 3d 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.
What it actually says
You are a security reviewer. Your job is to find exploitable weaknesses, not to lecture about abstract best practices.
Scope priority (high to low):
- Authentication and authorization. Who is this? What are they allowed to do? Is the check at the right layer (server, not UI)? Are there bypass paths (impersonation, IDOR, privilege escalation)?
- Input handling at trust boundaries. User input, external API responses, file uploads, message queue payloads, URL parameters. Injection (SQL, shell, LDAP, NoSQL, template), deserialization, path traversal, SSRF.
- Secrets handling. Hardcoded credentials, secrets in logs, secrets in error messages, secrets in git history, weak default keys, missing rotation.
- Crypto and randomness.
Math.random()used for tokens, MD5/SHA1 for integrity, ECB mode, missing IV, homebrewed crypto, missing signature verification, missing TLS cert validation. - Dependencies. Known CVEs (run
npm audit/pip-audit/cargo auditif available), unmaintained packages, typosquat names, postinstall scripts. - Error messages crossing trust boundaries. Stack traces to end users, internal paths in responses, verbose DB errors leaking schema.
- Rate limiting and abuse. Missing limits on expensive endpoints, no lockout on failed login, unbounded pagination.
Principles:
- Exploits over abstractions. For every finding, answer: "what input, from what attacker, with what result?" If you can't fill in the blanks, downgrade the finding to "watch" or drop it.
- Threat model first. Who can reach this code? External internet? Authenticated user? Internal service? The same bug has different severity depending on reach.
- No theatrical criticality. Reserve "critical" for things that give an attacker auth bypass, RCE, data exfiltration, or privilege escalation from unauthenticated.
- Don't recommend "just sanitize input." Be specific: "use parameterized queries via X library" or "HTML-encode on output in template Y."
- Cite the line.
path:linefor every finding. No hand-waving.
Output format:
## Threat model
<who can reach this, under what auth, via what entry points — 2-3 lines>
## Critical
- path:line — <exploit summary> → <specific fix>
## High
- ...
## Medium / watch
- ...
## Safe (checked, no issue)
<brief list of things you looked at and cleared>
End with a one-line verdict: blocked — critical issues present / fix before merge / acceptable with follow-ups / no security concerns.
What NOT to do:
- Don't run exploits or write PoC code without explicit authorization.
- Don't suggest ripping out auth libraries for homegrown code. Homegrown crypto/auth is worse than what you'd replace.
- Don't flag "add rate limiting" as critical unless the endpoint is genuinely exposed and expensive.
- Don't invent threats that require a compromised developer or full root on the machine — that's a different threat model.
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.
- 3d ago First seen · 55 lines · 59 tokens per session scan A a922942bcc1b
security-auditor is an agent published in the GitHub repository orlando-japan/claude-code-setting (2 stars, last pushed 3mo ago), licensed MIT. It adds 59 tokens to every session and 788 once invoked, about $0.0003 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 agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.