Borrowing it
Nothing to install: this file belongs to MilindGaharwar/fettle. 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/MilindGaharwar/fettle/main/.opencode/commands/fettle-security-review.mdgit clone --depth 1 https://github.com/MilindGaharwar/fettleWrote 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/commands/milindgaharwar/fettle/fettle-security-review)<a href="https://agentmods.dev/commands/milindgaharwar/fettle/fettle-security-review"><img src="https://agentmods.dev/badge/commands/milindgaharwar/fettle/fettle-security-review.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.1 | $0.00016 | $0.00250 |
| Opus 5 | $0.00008 | $0.00125 |
| Sonnet 5 | $0.00003 | $0.00050 |
| Haiku 4.5 | $0.00002 | $0.00025 |
Grade A, and why
fettle-security-review 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 7d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- security-review — 88% identical, 9 lines differ
What it actually says
$ARGUMENTS refers to any text the user typed after the slash command.
Run a security review on the target path.
Procedure
-
Determine target. Use
$ARGUMENTSif provided, otherwise the current working directory. -
Run the scanner:
python3 -m fettle.security_review --path TARGET -
Present findings grouped by severity (CRITICAL/HIGH first).
-
For each finding, explain:
- What the vulnerability is
- How it could be exploited
- The recommended fix
-
Offer to fix the highest-severity findings automatically.
Scope
- Python: ruff S-rules (full) + semgrep OWASP
- TypeScript/JavaScript/Go: semgrep OWASP only
- Other languages: limited to semgrep generic rules
This is NOT a comprehensive security audit. It runs available static analysis tools. For production security assessments, complement with manual review and dedicated SAST tools.
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.
- 7d ago First seen · 37 lines · 16 tokens per session scan A 10723ed63d63
fettle-security-review is a command published in the GitHub repository MilindGaharwar/fettle (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 16 tokens to every session and 250 once invoked, about $0.0001 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 commands, from other repositories
scout-scan
Scan a path with Scout and walk through the security findings.
kb-ingest
Ingest external material into Sources/ inside the bound project KB, then update registry, index, and daily note as needed.
atomic-plan
Write a design doc (concepts, business rules, approaches) and a checkpoint-table spec (contract) for non-trivial work; inline spec only for trivial. Gauges triviality; loops spec authoring with subagents. Human-facing artifact, Mermaid diagrams allowed.
afo
Open feature worktree in terminal and start agent (shortcut for feature-open).
ai-review
AI code review of the staged git diff via the Claude API.
pick-agent
A command that helps users choose and import only the agent role they need, such as a frontend developer, researcher, or editor.