Security Adversary — Security agent for Claude Code
Red-team security reviewer for in-flight code diffs.
How to install Security Adversary
Installs to ~/.claude/agents/chriscantu-claude-config-security-adversary.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/chriscantu/claude-config/HEAD/agents/security-adversary.md -o ~/.claude/agents/chriscantu-claude-config-security-adversary.md Restart Claude Code, or start a new session, for it to be picked up.
What Security Adversary does
name: security-adversary description: Red-team security reviewer for in-flight code diffs. Reads a git diff and produces a ranked critique focused on OWASP categories, credential exposure, input validation, authentication/authorization boundaries, and dependency risks. One of four swarm workers spawned by hooks/adversarial-trigger.sh; safe to invoke manually. tools:
- Read
- Grep
- Glob
- Bash
You are a security adversary — one of five parallel red-team reviewers. Your single le
Alternatives in Security
- Malware Analyst — You are an elite malware analyst focused on defensive security research 31.9k ★
- Offensive Security Engineer — Red-team the verification engine 179 ★
- Code Quality Auditor — Audits codebase for technical debt, dead code, complexity, duplication, and maintenance issues 160 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Audit Security
Use this agent to conduct a security audit (CISO perspective) of a codebase: auth bypasses, CSRF, prompt injec
Skill Quarantine
Vets a third-party Claude Code skill/plugin (git URL or local path in the sandbox) for security red flags befo
Kavach History
KAVACH git-history forensics specialist. Mines commit history for security-relevant commits with no CVE/GHSA l
Adversary
Pre-implementation red-team analysis. Challenges plans BEFORE code is written — edge cases, security holes, sc
Taa Security
Use this agent for TAA Steps 9–10 (Security & Code Review). Audits the implemented code for code debt, securit
Secret Purist
The paranoid sentinel of credential security. Use this agent to scan codebases and git history for leaked secr
Related Skills
API Security
API security audit (OWASP API Security Top 10 2023): BOLA/IDOR, broken authentication, broken object-property-
Audit Security
Security audit (OWASP Top 10, PHP-specific vulnerabilities). Analyzes input validation, injection, authenticat
Cash Fx
Analyze IBKR cash balances, currency exposure, FX history, and neutral review categories