security-audit

security-audit is a skill for Claude Code from srnichols/plan-forge. It costs 39 tokens per session (2,745 once invoked), scanned A, original, MIT.

A security audit for .NET and C# projects. It checks for common OWASP web vulnerabilities, vulnerable NuGet packages, exposed secrets, unsafe database queries, and related code problems.

In plain words
What is it for?
Use it to inspect access control, SQL injection risks, authentication protections, XML processing, rate limiting, package vulnerabilities, and secrets in the codebase.
Why use it?
It helps uncover security weaknesses and leaked credentials before they reach users or production systems.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to inspect access control, SQL injection risks, authentication protections, XML processing, rate limiting, package vulnerabilities, and secrets in the codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/srnichols/plan-forge/security-audit
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 srnichols/plan-forge --skill security-audit
Clone the repo
git clone --depth 1 https://github.com/srnichols/plan-forge

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/srnichols/plan-forge/security-audit/github.svg)](https://agentmods.dev/skills/srnichols/plan-forge/security-audit)
Your own site
<a href="https://agentmods.dev/skills/srnichols/plan-forge/security-audit"><img src="https://agentmods.dev/badge/skills/srnichols/plan-forge/security-audit/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/srnichols/plan-forge/security-audit"><img src="https://agentmods.dev/badge/skills/srnichols/plan-forge/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,745 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00039 $0.02745
Opus 5.5 $0.00016 $0.01098
Sonnet 5.5 $0.00008 $0.00549
Haiku 4.5 $0.00004 $0.00275

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

Security

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 1mo 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.

- Check for `eval()`, `exec()`, `Function()`, `vm.runInContext()`, `os.system()`, `subprocess` with shell=True
plugins/plan-forge/skills/security-audit/SKILL.md · 228 lines

How it starts

The opening of the file, as written. The whole thing — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Security Audit Skill

Trigger

"Run a security audit" / "Check for vulnerabilities" / "Scan for secrets" / "Security review" / "OWASP check"

Overview

This skill orchestrates a 4-phase security audit:

  1. OWASP Vulnerability Scan — review source code for OWASP Top 10 vulnerabilities
  2. Dependency Audit — scan packages for known CVEs
  3. Secrets Detection — scan for leaked API keys, tokens, credentials
  4. Combined Report — aggregate all findings with severity ratings

If an argument-hint phase is specified, run only that phase. Otherwise run all 4.


Phase 1: OWASP Vulnerability Scan

Scan all source files for OWASP Top 10 (2021) vulnerabilities. Use grep/search to identify patterns.

A1: Broken Access Control

Search for routes/endpoints missing authentication middleware:

  • Grep for route definitions without auth, authorize, requireAuth, [Authorize], or equivalent
  • Check for direct object references using user-supplied IDs without ownership validation

A2: Cryptographic Failures

  • Search for hardcoded secrets: password, secret, apikey, connectionString in assignment statements
  • Check for weak hashing: md5, sha1 used for passwords (should be bcrypt, argon2, PBKDF2)
  • Check for HTTP URLs in API calls (should be HTTPS)

A3: Injection

  • Search for string concatenation/interpolation in SQL queries (template literals, f-strings, string.Format)
  • Check for eval(), exec(), Function(), vm.runInContext(), os.system(), subprocess with shell=True
  • Check for unsanitized user input in HTML rendering

A5: Security Misconfiguration

  • Check CORS configuration for wildcard (*) origins
  • Check for missing security headers (check for helmet, HSTS, CSP)
  • Check for verbose error messages in production (stack traces exposed)
  • Check for default credentials or admin routes without protection

A7: Authentication Failures

  • Check password storage (must be hashed, not plaintext or reversible)
  • Check JWT configuration (expiry, algorithm, secret strength)
  • Check for brute-force protection (rate limiting on auth endpoints)

Read the full file on GitHub · 228 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. 1mo ago Changed · +96 lines · +10 tokens per session ccc292d5de88
  2. 2mo ago First seen · 132 lines · 29 tokens per session scan A 81c799514bc2

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository srnichols/plan-forge (6 stars, last pushed 26d ago), licensed MIT. It adds 39 tokens to every session and 2,745 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

security-audit compared with skills from other repositories

security-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditsrnichols/plan-forgeSkill626d agoMITA39Claude Code
aspiremanagedcode/dotnet-skillsSkill52716d agoMITA145Claude Code, Codex
worker-servicesmanagedcode/dotnet-skillsSkill52716d agoMITA109Claude Code, Codex
azure-functionsmanagedcode/dotnet-skillsSkill52716d agoMITA113Claude Code, Codex
minimal-api-file-uploadmanagedcode/dotnet-skillsSkill52716d agoMITA18Claude Code, Codex
signalrmanagedcode/dotnet-skillsSkill52716d agoMITA109Claude Code, Codex
aspnet-coremanagedcode/dotnet-skillsSkill52716d agoMITA122Claude Code, Codex