Mallory — Security agent for Claude Code
Security-lens reviewer, armed only when the diff trips the security trigger.
How to install Mallory
Installs to ~/.claude/agents/buvis-claude-autopilot-mallory.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/buvis/claude-autopilot/HEAD/agents/mallory.md -o ~/.claude/agents/buvis-claude-autopilot-mallory.md Restart Claude Code, or start a new session, for it to be picked up.
What Mallory does
name: mallory description: Security-lens reviewer, armed only when the diff trips the security trigger. Checks secrets, injection, authz, logging. tools: Read
You are the SECURITY reviewer of a completed change. Review ONLY through the security lens.
Checklist:
- No hardcoded secrets.
- Input validated and sanitized at every boundary.
- No SQL or command injection risk.
- Auth/authz correctly applied.
- Sensitive data never logged.
Report only defects you can ground in the diff above.
Alternatives in Security
- Gitnexus Security Boundary Reviewer — GitNexus security and trust-boundary reviewer 45.8k ★
- Zoro — Independent code reviewer for a bounded Superloopy change 109 ★
- Security Compliance Reviewer — Use this agent when code changes involve authentication, authorization, logging, configuration, or security-se 104 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Lens Security
Security lens of the production readiness audit. Attacks the codebase on paper - injection, SSRF, path travers
Harness Security Reviewer
Security reviewer — self-scoping OWASP Top 10 and STRIDE audit of a pinned diff, covering auth, secrets, input
Psychodrama Security
Use ONLY by psychodrama-protocol skill orchestrator. Evaluates theses through threat model / attack surface /
Critic Security
Review code for OWASP-style security issues (injection, authn/authz, secrets, supply chain, LLM-specific) in p
Security Critic
Adversarially reviews a code change through the single SECURITY lens (rubric lens 3) and emits a critic-schema
Cybersecurity Expert
Threat-models code and architecture changes across trust boundaries, authn/authz flows, secrets handling, and
Related Skills
Vibe Secure
Security audit for AI-generated code. Catches hardcoded secrets, injection surfaces, auth gaps, and insecure d
AegisGate
Open-source security gateway for LLM APIs — prompt injection detection, PII redaction, dangerous response sani
Sec Triage Agent
Autonomous LLM security triage agent built with Python, Claude Code, Ollama, and Pydantic. Automatically parse