security-code-auditor

security-code-auditor is a skill for Claude Code, Codex from d-o-hub/github-template-ai-agents. It costs 141 tokens per session (1,729 once invoked), scanned A, original, MIT.

A code-security review that looks for vulnerabilities, unsafe settings, and security mistakes in source code, dependencies, and configuration.

In plain words
What is it for?
Use it to review code, scan dependencies for known vulnerabilities, check security settings, and assess issues such as injection, weak access controls, and unsafe input handling.
Why use it?
It helps find common security problems before attackers or production failures expose them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to review code, scan dependencies for known vulnerabilities, check security settings, and assess issues such as injection, weak access controls, and unsafe input handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d-o-hub/github-template-ai-agents/security-code-auditor
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 d-o-hub/github-template-ai-agents --skill security-code-auditor
Clone the repo
git clone --depth 1 https://github.com/d-o-hub/github-template-ai-agents

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-code-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/security-code-auditor/github.svg)](https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/security-code-auditor)
Your own site
<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/security-code-auditor"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/security-code-auditor/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-code-auditor

Your own site · 80×15
<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/security-code-auditor"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/security-code-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,729 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00141 $0.01729
Opus 5.5 $0.00056 $0.00692
Sonnet 5.5 $0.00028 $0.00346
Haiku 4.5 $0.00014 $0.00173

Measured 4d ago against content hash 0a11bee801b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-code-auditor scanned grade A with 0 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 4d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (evals/files/src/config.py, evals/files/src/db.py, evals/files/src/server.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/security-code-auditor/SKILL.md · 166 lines

How it starts

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

Security Code Auditor

Perform security audits on code, configurations, and repositories to identify vulnerabilities and security issues.

When to Use

  • User asks to audit, review, or check security of code
  • Need to perform vulnerability scans or OWASP Top 10 checks
  • Even if they just say "check for security issues" or "is this secure"

Scope

  • Includes: Source code review, dependency scanning, configuration auditing, OWASP Top 10 checks
  • Excludes: Network penetration testing, active exploitation, social engineering

Audit Workflow

1. Initial Assessment

  • Identify the technology stack and frameworks
  • Determine the application's attack surface
  • Review authentication and authorization mechanisms

2. Static Analysis

  • Check for injection vulnerabilities (SQL, NoSQL, OS command, LDAP)
  • Identify insecure deserialization
  • Review cryptographic implementations
  • Validate input sanitization

3. Configuration Review

  • Review security headers (CSP, HSTS, X-Frame-Options)
  • Check CORS policies
  • Validate session management settings
  • Examine environment variable handling

4. Dependency Scanning

  • Check for known CVEs in dependencies
  • Review outdated packages
  • Validate license compliance

Common Vulnerability Patterns

Injection Flaws

# BAD: Direct string concatenation
query = "SELECT * FROM users WHERE id = " + user_id

# GOOD: Parameterized queries
cursor.execute("SELECT * FROM users WHERE id = ?", (user_id,))

Secrets Management

  • Never hardcode credentials in source code
  • Use environment variables or secure vaults
  • Rotate keys regularly
  • Use placeholders like [REDACTED] or example-token in examples

Authentication Issues

  • Enforce strong password policies
  • Implement multi-factor authentication
  • Use secure session tokens with proper expiration
  • Validate all authenticated endpoints

SSRF and Outbound URL Validation

One address has many legal spellings, so an IP blocklist fails open by construction. 127.0.0.1 is also 2130706433, 017700000001, 0x7f000001, 0177.0.0.1, ::ffff:127.0.0.1, 127.1, a hostname with a private A record, or a redirect target.

Read the full file on GitHub · 166 lines

Files

What ships with it

5 files 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.

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. 4d ago Changed · +43 lines 0a11bee801b9
  2. 25d ago Changed · +10 tokens per session fc08e27b7632
  3. 1mo ago First seen · 123 lines · 131 tokens per session scan A 1374acd3190a

Subscribe to this mod's changes

security-code-auditor is a skill published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed yesterday), licensed MIT. It adds 141 tokens to every session and 1,729 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.