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 skills add darellchua2/opencode-config-template --skill security-audit-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote 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/darellchua2/opencode-config-template/security-audit-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/security-audit-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/security-audit-skill/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/skills/darellchua2/opencode-config-template/security-audit-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/security-audit-skill.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.00043 | $0.02079 |
| Opus 5.5 | $0.00017 | $0.00832 |
| Sonnet 5.5 | $0.00009 | $0.00416 |
| Haiku 4.5 | $0.00004 | $0.00208 |
Grade B, and why
security-audit-skill scanned grade B 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 2mo 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.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
When protocol is enabled, this skill defaults to `Iterations: 10` (sufficient for typical single-pass workflows). Override with `Iterations: N` for specific tasks. Safety blocks: `.env`, `node_modules/`, `rm -rf`, `git p Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
Audit for vulnerabilities: dependency CVEs, leaked secrets, OWASP Top 10 review, security headers, input validation, CI/CD scanning — plus this config's runtime secret-masking verification (vibeguard).
When to use me
Pre-deploy security review; CI scanning setup; committed-secret detection; header/transport hardening; incident response.
Related: authentication-authorization-skill (auth implementation; this skill audits) · error-resolver-workflow-skill (runtime diagnosis) · linting-workflow-skill (general lint).
Step 1: Dependency audit
Node npm audit --production (+ fix --dry-run) · Python pip-audit --desc / safety check --json · Go govulncheck ./.... Per CVE: CVSS + exploitability, is the vulnerable path actually used, patch version, breaking changes in the patch.
Step 2: Secret detection
Scan patterns: API keys (?i)(api[_-]?key)\s*[:=]\s*['"][^'"]{16,}['"] · AWS AKIA[0-9A-Z]{16} + secret-key assignment · generic tokens/passwords · -----BEGIN … PRIVATE KEY-----. Tools: gitleaks detect --source . · trufflehog filesystem · detect-secrets scan. Pre-commit: gitleaks hook (rev v8.18.0).
Step 3: OWASP Top 10 review (checklist form)
Injection (parameterized queries only — never string-built SQL/commands; XXE: disable external entity resolution) · Broken auth (see authentication-authorization-skill for the implemented patterns) · Sensitive data exposure (TLS in transit, no secrets in logs/errors; secrets never in client bundles) · Broken access control (deny-by-default, object-level ownership checks — not just route-level) · Misconfig (debug off in prod, default creds, permissive CORS) · XSS (context-aware escaping; CSP as backstop) · Insecure deserialization (never unpickle/unserialize untrusted input) · Vulnerable components (Step 1) · Insufficient logging (auth failures, permission denials, input-validation failures logged with request id).
Production data leakage (3b): PII in logs/errors/analytics/crash reports; seed scripts with real user data; response payloads over-fetching. Cloud (3c): public S3 buckets/OBUs, over-permissive IAM (*:*), unencrypted at rest, security-group 0.0.0.0/0 on non-HTTP ports.
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.
- 2mo ago Changed 43052ee8dd4c
- 2mo ago Changed 8e514360bd07
- 2mo ago Changed · -649 lines scan C → B 1f342148e0c3
- 2mo ago Changed 9a216df1040c
- 3mo ago First seen · 763 lines · 43 tokens per session scan C 947c0ed012b7
security-audit-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 2,079 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
security-audit-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-audit-skilldarellchua2/opencode-config-template | Skill | 6 | 2mo ago | Apache-2.0 | B | 43 | Claude Code, Codex |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 6.4k | yesterday | MIT | A | 18 | Claude Code |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 13d ago | MIT | A | 115 | Claude Code, Codex |
| asplos-writing-stylebrycewang-stanford/Awesome-Journal-Skills | Skill | 1.5k | 3d ago | MIT | A | 65 | Claude Code |
| revdiff-planumputun/revdiff | Skill | 977 | 3d ago | MIT | A | 84 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | yesterday | MIT | A | 51 | Claude Code, Codex |