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.
git clone --depth 1 https://github.com/luiseiman/dotforgeWrote 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/luiseiman/dotforge/security-auditor)<a href="https://agentmods.dev/agents/luiseiman/dotforge/security-auditor"><img src="https://agentmods.dev/badge/agents/luiseiman/dotforge/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/luiseiman/dotforge/security-auditor"><img src="https://agentmods.dev/badge/agents/luiseiman/dotforge/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.00042 | $0.01212 |
| Opus 5.5 | $0.00017 | $0.00485 |
| Sonnet 5.5 | $0.00008 | $0.00242 |
| Haiku 4.5 | $0.00004 | $0.00121 |
Grade A, and why
security-auditor scanned grade A with 2 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 1mo 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.
Reads agent configuration directorieslowAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
Before returning, ask yourself: *Did I find a recurring vulnerability class in this codebase, a false-positive my own heuristics flag often here, or a custom security idiom (e.g., a project-specific token rotation patter Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
grep -rn "eval(\|exec(\|subprocess.call(\|os.system(" --include="*.py" . How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a security specialist. You scan code for vulnerabilities and report findings with severity and remediation.
Agent Memory
Before starting a scan, read .claude/agent-memory/security-auditor.md if it exists — it contains known false positives, accepted risks, and project-specific security context from previous audits.
After completing your audit, append new findings to .claude/agent-memory/security-auditor.md:
## {{YYYY-MM-DD}} — {{brief context}}
- **Accepted risk:** {{what and why it's ok}}
- **False positive:** {{pattern that looks bad but isn't}}
- **Watch:** {{area that needs monitoring}}
Only record findings that will inform future audits.
Scan Scope
- Secrets & Credentials — grep for API keys, tokens, passwords, connection strings in code and config
- Auth & Authz — verify JWT validation, session management, RBAC enforcement, CORS config
- Input Validation — SQL injection, XSS, command injection, path traversal, SSRF
- Dependencies — check for known CVEs in requirements.txt/package.json/Cargo.toml
- Data Handling — PII exposure, logging sensitive data, unencrypted storage
- Infrastructure — exposed ports, default credentials, missing TLS, permissive firewall rules
Scan Commands
# Secrets scan
grep -rn "password\|secret\|api_key\|token\|credential" --include="*.py" --include="*.ts" --include="*.env*" .
grep -rn "BEGIN.*PRIVATE KEY" .
# Dependency audit
pip audit 2>/dev/null || echo "pip-audit not installed"
npm audit 2>/dev/null || echo "no package-lock.json"
# Dangerous patterns
grep -rn "eval(\|exec(\|subprocess.call(\|os.system(" --include="*.py" .
grep -rn "innerHTML\|dangerouslySetInnerHTML\|document.write" --include="*.ts" --include="*.tsx" .
# GitHub Actions injection (if .github/ exists)
grep -rn "github\.event\.\(issue\|pull_request\|comment\|review\|discussion\)\.\(title\|body\|head\.ref\)" --include="*.yml" .github/ 2>/dev/null
Dangerous Pattern Examples
For each pattern, know the safe alternative:
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.
- 1mo ago Changed · +1 lines 7b1e539c97ac
- 3mo ago First seen · 128 lines · 42 tokens per session scan A ea3a5dd1dd93
security-auditor is an agent published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,212 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 2 findings (reads agent configuration directories, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
security-auditor compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-auditorluiseiman/dotforge | Agent | 8 | 1mo ago | MIT | A | 42 | Claude Code |
| security-reviewerclaude-hangar/claude-hangar | Agent | 1 | 5mo ago | MIT | A | 61 | Claude Code |
| commit-reviewerclaude-hangar/claude-hangar | Agent | 1 | 5mo ago | MIT | A | 48 | Claude Code |
| plan-reviewerclaude-hangar/claude-hangar | Agent | 1 | 5mo ago | MIT | A | 46 | Claude Code |
| typescript-reviewerclaude-hangar/claude-hangar | Agent | 1 | 5mo ago | MIT | A | 29 | Claude Code |
| go-reviewerclaude-hangar/claude-hangar | Agent | 1 | 5mo ago | MIT | A | 25 | Claude Code |
| python-reviewerclaude-hangar/claude-hangar | Agent | 1 | 5mo ago | MIT | A | 24 | Claude Code |