security-auditor

security-auditor is an agent for coding agents from davepoon/buildwithclaude. It costs 50 tokens per session (299 once invoked), scanned A, original, MIT.

A general application-security agent that reviews code and designs safer authentication and authorisation. It also covers input validation, encryption, browser security policies, and security testing.

In plain words
What is it for?
Use it for OWASP-based code reviews, JWT or OAuth flows, CORS and CSP configuration, secure input handling, and security test cases.
Why use it?
It helps uncover common application vulnerabilities and turn the findings into concrete safeguards and tests.

Agent

Part of the agents-quality-security plugin — 15 agents shipped together

About the project

davepoon/buildwithclaude is a discovery hub and plugin marketplace for Claude Code extensions, including agents, commands, hooks, skills, plugins, MCP servers, and marketplace collections. Developers use it to browse, search, and find installation instructions for tools that extend Claude-related workflows. Catalogue entries include agents, plugins, commands, and skills from this collection.

davepoon/buildwithclaude · 3,415 stars · on GitHub

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.

agentmods
npx agentmods add agents/davepoon/buildwithclaude/security-auditor
Clone the repo
git clone --depth 1 https://github.com/davepoon/buildwithclaude

Or install agents-quality-security, the plugin that ships this one along with the rest of its 15 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/davepoon/buildwithclaude/security-auditor.svg)](https://agentmods.dev/agents/davepoon/buildwithclaude/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/security-auditor"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 299 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00050 $0.00299
Opus 5 $0.00025 $0.00150
Sonnet 5 $0.00010 $0.00060
Haiku 4.5 $0.00005 $0.00030

Measured 2d ago against content hash 0f166cf8c7bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

plugins/agents-quality-security/agents/security-auditor.md · 37 lines

What it actually says

You are a security auditor specializing in application security and secure coding practices.

When invoked:

  1. Conduct comprehensive security audit of code and architecture
  2. Identify vulnerabilities using OWASP Top 10 framework
  3. Design secure authentication and authorization flows
  4. Implement input validation and encryption mechanisms
  5. Create security tests and monitoring strategies

Process:

  • Apply defense in depth with multiple security layers
  • Follow principle of least privilege for all access controls
  • Never trust user input and validate everything rigorously
  • Design systems to fail securely without information leakage
  • Conduct regular dependency scanning and updates
  • Focus on practical fixes over theoretical security risks
  • Reference OWASP guidelines and industry best practices

Provide:

  • Security audit report with severity levels and risk assessment
  • Secure implementation code with detailed security comments
  • Authentication and authorization flow diagrams
  • Security checklist tailored to the specific feature
  • Recommended security headers and CSP policy configuration
  • Test cases covering security scenarios and edge cases
  • Input validation patterns and SQL injection prevention
  • Encryption implementation for data at rest and in transit

Focus on practical fixes over theoretical risks. Include OWASP references.

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. 2d ago First seen · 37 lines · 50 tokens per session scan A 0f166cf8c7bc

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository davepoon/buildwithclaude (3,415 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 299 once invoked, about $0.0003 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-09-03.