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 commands/smrafiz/claude-supercharger/securitygit clone --depth 1 https://github.com/smrafiz/claude-superchargerWrote 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/smrafiz/claude-supercharger/security)<a href="https://agentmods.dev/commands/smrafiz/claude-supercharger/security"><img src="https://agentmods.dev/badge/commands/smrafiz/claude-supercharger/security.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.00000 | $0.01824 |
| Opus 5 | $0.00000 | $0.00912 |
| Sonnet 5 | $0.00000 | $0.00365 |
| Haiku 4.5 | $0.00000 | $0.00182 |
Grade B, and why
security scanned grade B 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 yesterday.
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.
Downloads and executes remote codemediumSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
7. **Supply chain** — run `npm audit` / `pip-audit` / `cargo audit` if applicable and flag known CVEs, but also check beyond known-CVE matching: unpinned/floating dependency versions, missing lockfile commit, unsigned or Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
7. **Supply chain** — run `npm audit` / `pip-audit` / `cargo audit` if applicable and flag known CVEs, but also check beyond known-CVE matching: unpinned/floating dependency versions, missing lockfile commit, unsigned or How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run a structured security review of: $ARGUMENTS
Anchor to OWASP Top 10. Be specific — file paths, line numbers, evidence. No generic advice.
Step 0 — Resolve scope from $ARGUMENTS (diff-scoped review, mirrors /security-review). Pick the first that matches:
| $ARGUMENTS | Scope | How to get the diff |
|---|---|---|
| (empty) | uncommitted changes (default) | git diff HEAD plus staged (git diff --cached); if the tree is clean, fall back to the last commit git show HEAD |
staged |
staged changes only | git diff --cached |
branch / main.. / a base ref |
branch diff vs the base | git merge-base then git diff <base>...HEAD |
pr <N> / #<N> |
pull-request diff | gh pr diff <N> (read-only; if gh is absent, say so and stop) |
commit <sha> / a 7–40 hex sha |
single commit | git show <sha> |
| file/dir paths | those files (whole-file review) | read the files directly |
For a diff scope, review only the changed/added lines and the functions that contain them — not the whole repo. State the resolved scope in the output header. If $ARGUMENTS is ambiguous, ask once, then proceed.
Before starting: read the files (or diff hunks) in scope. Do not review code you haven't read. All git/gh commands here are read-only — never modify the tree, stage, or commit.
Before reporting anything, confirm reachability. A pattern match is not a finding — the most common failure mode in an automated security pass is reporting unreachable or already-mitigated code, which buries the real issues. Before writing up a finding, confirm:
- Is the input actually attacker-controlled? Trace it to a real entry point — a request parameter, header, cookie, upload, webhook, queue message, or third-party API response. A value that only ever comes from a constant, an enum, or trusted internal config is not an injection source.
- Is the sink reachable with that input? Check for validation, an allowlist, an ORM, or a framework control sitting between them — auth middleware, a base controller, a decorator — before flagging a route as unprotected; enforcement is often centralized rather than per-route.
- What is the blast radius? Who can trigger it, what do they get, does it cross a trust boundary? SSRF reaching cloud metadata is not the same finding as one reaching localhost only.
State the concrete path — this input reaches this sink — for every finding. If reachability can't be determined from the code in scope, say that explicitly rather than asserting either way.
Dimensions to check (in order):
- Injection — SQL, command, LDAP, XPath, template injection. Check string concatenation in queries, shell commands, eval/exec.
- Authentication — hardcoded credentials, weak password rules, missing rate limits, session fixation.
- Sensitive data exposure — secrets in code/config/logs, missing encryption at rest or in transit, PII in error messages.
- Access control — missing authorization checks, IDOR, privilege escalation, default-allow patterns.
- Security misconfiguration — debug mode in production, overly permissive CORS, missing security headers, default credentials.
- Supply chain — run
npm audit/pip-audit/cargo auditif applicable and flag known CVEs, but also check beyond known-CVE matching: unpinned/floating dependency versions, missing lockfile commit, unsigned or unverified packages,curl | shinstall scripts in the build pipeline. - Cryptography — MD5/SHA1 for security, hardcoded IVs/keys, custom crypto implementations.
- Insecure design — missing rate limiting or abuse controls, security decisions left to the client, no threat model for a sensitive flow (payments, auth, data export).
- Integrity failures — insecure deserialization of untrusted data, missing Subresource Integrity on CDN-loaded scripts, auto-update or plugin mechanisms that don't verify signatures.
- Logging & alerting — security-relevant events (auth failures, access-control denials, admin actions) that aren't logged at all, or logged without enough context to investigate later.
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.
- yesterday Changed · +53 lines 0218398ef042
- 6d ago First seen · 72 lines · 0 tokens per session scan B 0d6ab83515bd
security is a command published in the GitHub repository smrafiz/claude-supercharger (11 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,824 tokens. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.