security-auditor · qdhenry — Claude Code subagent for security audits
security-auditor is a Claude Code subagent that finds application vulnerabilities and reviews security controls. It can assess source code, authentication flows, or a running application.
no license ★ 1,357 updated 2026-03-01
.claude/agents/security-auditor.mdWhat security-auditor does
security-auditor examines source code and live applications for security flaws, models threats, and reviews configurations. Its scope includes authentication protocols, session handling, access controls, third-party dependencies, and alignment with OWASP, NIST, or ISO 27001.
The agent can read and edit project files, search the codebase, run commands, and inspect pages through browser tools. It also has context7 for researching security standards and vulnerability references, plus sequential-thinking for structured analysis. Findings can include risk levels, reproduction steps, and remediation guidance.
What it helps with
- find security flaws in application code
- review JWT and session handling
- model threats against an application
- inspect dependencies and security settings
- write remediation steps for identified risks
Example prompts for the agent
- Review this project for security vulnerabilities and rank the findings by risk.
- Examine the authentication flow, session handling, and access controls.
- Create a threat model for this architecture and suggest mitigations.
How to install security-auditor
Manually: put the files in place
.claude/agents/security-auditor.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/security-auditor.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/security-auditor.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about security-auditor
How do I install security-auditor in Claude Code?
Add the agent file to the project at .claude/agents/security-auditor.md.
What does security-auditor do?
It reviews code and running applications for vulnerabilities, including issues in authentication, dependencies, and configuration. It can produce findings with risk ratings and remediation guidance.
Which standards can security-auditor assess?
It can review alignment with OWASP, NIST, and ISO 27001.
Similar subagents
All subagents for Security →security-auditor by other authors comes first.