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 ★
- Threat Intel — PYA specialist spawned by the /pya orchestrator 240 ★
- Offensive Security Engineer — Red-team the verification engine 179 ★
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
ADR Challenger
Read-only critique of a draft ADR and its tasks in tool-multipathreadwrite before it is accepted — the class a
Taa Security
Use this agent for TAA Steps 9–10 (Security & Code Review). Audits the implemented code for code debt, securit
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
Devil Advocate
Attack a decision before acting on it. One cold adversary, ranked attacks, a probability you are wrong, a forc