security-audit-skill

security-audit-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 43 tokens per session (2,079 once invoked), scanned B, original, Apache-2.0.

A security review guide for finding vulnerabilities in application code, third-party packages, configuration, HTTP protections, and accidentally exposed secrets.

In plain words
What is it for?
Use it to audit code against the OWASP Top 10, inspect dependencies, detect secrets, review input handling and security headers, and prepare fixes.
Why use it?
It helps reveal common risks such as injection, cross-site scripting, weak access controls, vulnerable dependencies, and leaked credentials before deployment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions OpenCode.

Good fit Use it to audit code against the OWASP Top 10, inspect dependencies, detect secrets, review input handling and security headers, and prepare fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/security-audit-skill
Install

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.

Any agent
npx skills add darellchua2/opencode-config-template --skill security-audit-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for security-audit-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/security-audit-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/security-audit-skill)
Your own site
<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.

agentmods 80×15 button for security-audit-skill

Your own site · 80×15
<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>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,079 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash 43052ee8dd4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/security-audit-skill/SKILL.md · 114 lines

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.

Read the full file on GitHub · 114 lines

Changes

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.

  1. 2mo ago Changed 43052ee8dd4c
  2. 2mo ago Changed 8e514360bd07
  3. 2mo ago Changed · -649 lines scan C → B 1f342148e0c3
  4. 2mo ago Changed 9a216df1040c
  5. 3mo ago First seen · 763 lines · 43 tokens per session scan C 947c0ed012b7

Subscribe to this mod's changes

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.

Related

security-audit-skill compared with skills from other repositories

security-audit-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-audit-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0B43Claude Code, Codex
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill6.4kyesterdayMITA18Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k13d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k3d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill9773d agoMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5kyesterdayMITA51Claude Code, Codex