security-auditor

security-auditor is an agent for Claude Code 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 for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it for OWASP-based code reviews, JWT or OAuth flows, CORS and CSP configuration, secure input handling, and security test cases.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/davepoon/buildwithclaude/security-auditor
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,653 stars · on GitHub · buildwithclaude.com

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.

Clone the repo
git clone --depth 1 https://github.com/davepoon/buildwithclaude

Made for: Claude Code.

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/github.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/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-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/security-auditor"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/security-auditor.svg" alt="Reviewed on agentmods" width="80" 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. 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.00050 $0.00299
Opus 5.5 $0.00020 $0.00120
Sonnet 5.5 $0.00010 $0.00060
Haiku 4.5 $0.00005 $0.00030

Measured 1mo ago against content hash 0f166cf8c7bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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,653 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 299 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

backend-architect

Use this agent when designing APIs, building server-side logic, implementing databases, or architecting scalable backend systems. This agent specializes in creating robust, secure, and performant backend services. Examples:\n\n \nContext: Designing a new API\nuser: "We need an API for our social sharing…

ccplugins/awesome-claude-code-plugins · 0 tokens

build-error-resolver

Diagnoses and fixes build, compile, and type errors. Use when a build fails.

mshadmanrahman/pm-pilot · 23 tokens

doc-onboard

Discovery and understanding of a codebase. Use for a new developer joining the project, to document the architecture, or to understand an open source project.

christopherlouet/claude-base · 34 tokens

engagement-partner

Senior strategy consulting partner who scopes business problems, synthesizes multiple analytical workstreams, and delivers board-ready strategic recommendations. Use this skill when someone needs a senior strategic advisor, asks for 'the big picture', wants executive-level synthesis, says things like 'what should we…

NOMARJ/sigil · 121 tokens

fastapi-pro

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

NOMARJ/sigil · 57 tokens

ops-monitoring

Application instrumentation and monitoring, and deploying the observability stack. Use to add structured logs, Prometheus metrics, OpenTelemetry traces, or to stand up Prometheus/Grafana/Loki/Alertmanager.

christopherlouet/claude-base · 45 tokens