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 skills/hardness1020/leeway/security-auditnpx skills add hardness1020/Leeway --skill security-auditgit clone --depth 1 https://github.com/hardness1020/LeewayWrote 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/skills/hardness1020/leeway/security-audit)<a href="https://agentmods.dev/skills/hardness1020/leeway/security-audit"><img src="https://agentmods.dev/badge/skills/hardness1020/leeway/security-audit.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.00049 | $0.00365 |
| Opus 5 | $0.00024 | $0.00182 |
| Sonnet 5 | $0.00010 | $0.00073 |
| Haiku 4.5 | $0.00005 | $0.00036 |
Grade A, and why
security-audit 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 4d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
grep -rn "eval\|exec\|os.system\|subprocess.call" --include="*.py" . What it actually says
Security Audit
Workflow
- Search for secrets — grep for API keys, tokens, passwords in source
- Check injection points — find user input flowing into commands, queries, HTML
- Review auth & crypto — verify password hashing, session management, TLS
- Check dependencies — look for known CVEs, unpinned versions
- Write findings — categorize by severity, cite evidence
Quick Checks
# Hardcoded secrets
grep -rn "password\|secret\|api_key\|token" --include="*.py" --include="*.ts" .
# Dangerous functions
grep -rn "eval\|exec\|os.system\|subprocess.call" --include="*.py" .
# SQL injection risk
grep -rn "f\".*SELECT\|f\".*INSERT\|f\".*UPDATE" --include="*.py" .
Rules
- Critical findings block merge — hardcoded secrets, RCE, SQL injection
- Cite file:line for every finding
- Flag false positives — better safe than sorry
- Check test files too — test secrets sometimes leak to production
Output Format
Structure findings by severity:
- Critical: Must fix before merge
- High: Should fix
- Medium: Recommend fixing
For the full OWASP-based checklist, read references/owasp.md.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 44 lines · 49 tokens per session scan A fa2fc7fb3ec1
security-audit is a skill published in the GitHub repository hardness1020/Leeway (113 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 365 once invoked, about $0.0002 per session on Opus 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-30.
Other skills, from other repositories
memory
Persist important outcomes from this step to long-term storage with automatic forgetting curve.
economic-reasoning
Economic decision-making for agents in EconomySpace. Activate when the agent observes currency, prices, income, tax, or trading opportunities to make informed financial decisions.
care.basic
Offer basic care check-ins for neighbors.
first_aid.basic
Prepare basic first-aid support and immediate care.
messaging.group
Send a concise practical group update.
safety.respond
Respond to urgent or risky events with safety movement, announcement, and memory.