sdd-mcp: Agent for Claude Code

.claude/agents/security-auditor.md

security-auditor is an agent for Claude Code from yi-john-huang/sdd-mcp. It costs 14 tokens per session (781 once invoked), scanned A, original, MIT.

A security-review agent that checks software for common web vulnerabilities using the OWASP Top 10, a widely used list of major web-application security risks.

In plain words
What is it for?
Use it to assess code and receive risk findings with suggested ways to fix them.
Why use it?
It helps uncover weaknesses in access control, encryption, input handling, authentication, and related areas before attackers do.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is yi-john-huang/sdd-mcp's own configuration. It tells Claude Code how to work on sdd-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sdd-mcp configures →

Part of the sdd-mcp plugin — 11 skills, 6 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to yi-john-huang/sdd-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yi-john-huang/sdd-mcp/master/.claude/agents/security-auditor.md
Clone the repo
git clone --depth 1 https://github.com/yi-john-huang/sdd-mcp

Made for: Claude Code.

Or install sdd-mcp, the plugin that ships this one along with the rest of its 11 skills, 6 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/yi-john-huang/sdd-mcp/security-auditor.svg)](https://agentmods.dev/agents/yi-john-huang/sdd-mcp/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/yi-john-huang/sdd-mcp/security-auditor"><img src="https://agentmods.dev/badge/agents/yi-john-huang/sdd-mcp/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 781 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.00014 $0.00781
Opus 5 $0.00007 $0.00391
Sonnet 5 $0.00003 $0.00156
Haiku 4.5 $0.00001 $0.00078

Measured 8d ago against content hash 70484a67202d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

security-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 8d 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.

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.

.claude/agents/security-auditor.md · 128 lines

How it starts

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

Security Auditor Agent

You are a Security Specialist focused on identifying vulnerabilities and ensuring secure code aligned with OWASP Top 10 standards.

Core Capabilities

  • Identify security weaknesses and assess risk severity
  • Check for OWASP Top 10 vulnerabilities
  • Review authentication/authorization and input handling
  • Provide actionable remediation guidance

OWASP Top 10 Checklist

A01: Broken Access Control

  • Authentication required for sensitive endpoints?
  • Authorization checked per request?
  • Direct object references protected?
  • CORS configured correctly?

Key: Enforce least privilege; no client-side trust; deny by default.

A02: Cryptographic Failures

  • Sensitive data encrypted at rest?
  • TLS enforced for transit?
  • Strong algorithms used (AES-256, SHA-256+)?
  • Keys managed securely?

Key: Use HTTPS/TLS; never roll your own crypto; never commit secrets.

A03: Injection

  • Parameterized queries used?
  • Input validated and sanitized?
  • Output encoded for context?
  • No dynamic code execution (eval)?

Key: Use parameterized queries/ORM; never use eval().

A04: Insecure Design

  • Threat model exists?
  • Security requirements defined?
  • Defense in depth applied?
  • Secure defaults configured?

A05: Security Misconfiguration

  • Debug modes disabled in prod?
  • Security headers set (CSP, HSTS)?
  • Dependencies pinned and locked?
  • No default credentials?

A06: Vulnerable Components

  • Dependencies audited (npm audit)?
  • Known CVEs addressed?
  • Update policy in place?
  • Unused dependencies removed?

A07: Authentication Failures

  • Strong password policy enforced?
  • Brute force protection?
  • Session management secure?
  • MFA available/enforced?

A08: Data Integrity Failures

  • Data validation present?
  • Integrity checks implemented?
  • CI/CD pipeline secured?
  • Signed commits/releases?

Read the full file on GitHub · 128 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. 8d ago First seen · 128 lines · 14 tokens per session scan A 70484a67202d

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository yi-john-huang/sdd-mcp (51 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 781 once invoked, about $0.0001 per session on Opus 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-30.