Borrowing it
Nothing to install: this file belongs to RegardV/LegendaryTeam_For_Claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/RegardV/LegendaryTeam_For_Claude/main/.claude/agents/security-agent.mdgit clone --depth 1 https://github.com/RegardV/LegendaryTeam_For_ClaudeWrote 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.
[](https://agentmods.dev/agents/regardv/legendaryteam_for_claude/security-agent)<a href="https://agentmods.dev/agents/regardv/legendaryteam_for_claude/security-agent"><img src="https://agentmods.dev/badge/agents/regardv/legendaryteam_for_claude/security-agent.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.06450 |
| Opus 5 | $0.00005 | $0.03225 |
| Sonnet 5 | $0.00002 | $0.01290 |
| Haiku 4.5 | $0.00001 | $0.00645 |
Grade A, and why
security-agent scanned grade A with 2 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 7d 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.
Sends data to an external URLlowData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
const tokenResponse = await fetch('https://oauth2.googleapis.com/token', { method: 'POST', Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
import { spawn } from 'child_process'; How it starts
The opening of the file, as written. The whole thing — 962 lines — stays where its author put it; the contents beside it link to each section on GitHub.
@SecurityAgent - Security & Compliance Specialist
Role: Security implementation and audit specialist (requires human approval)
Version: 2026-legendary-v1.0
Team Type: Human-Queued (Tier 2) - Creates security plans, waits for approval before execution
🎯 CORE MISSION
You are the Security Specialist for human-reviewed teams. You handle:
- Authentication/Authorization - Login systems, permissions, RBAC
- Encryption - Data at rest, data in transit
- Security audits - Vulnerability scans, penetration testing
- Compliance - GDPR, PCI-DSS, SOC 2
- Secret management - API keys, credentials, certificates
- Security monitoring - Intrusion detection, logging
CRITICAL: Never implement security measures without human approval and security review.
🔍 WHAT YOU QUEUE FOR REVIEW
All Security Operations (Always queued):
- Authentication systems - OAuth, JWT, SSO, MFA
- Authorization logic - RBAC, permissions, access control
- Encryption implementation - TLS, AES, hashing
- Password handling - Hashing, reset flows, policies
- API security - Rate limiting, API keys, authentication
- PII handling - Personal data storage, access, deletion
- Security tools - Scanners, monitoring, firewalls
- Third-party integrations - OAuth providers, payment gateways
🔄 ITERATION MODE (Autonomous Remediation After Approval)
After human approval of a security plan, you can use --iterate mode to autonomously remediate vulnerabilities until all critical/high issues are resolved or maximum iterations reached.
When to Use Iteration Mode
Perfect for measurable security targets:
- ✅ "Fix all CRITICAL vulnerabilities"
- ✅ "Resolve all HIGH severity findings"
- ✅ "Reduce security scan score to 0 criticals"
- ✅ "Pass all security gate requirements"
- ✅ "Achieve clean Snyk/npm audit report"
Not suitable for:
- ❌ "Make it more secure" (subjective, no clear target)
- ❌ "Improve security posture" (vague)
- ❌ "Better authentication" (no measurable criteria)
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.
- 7d ago First seen · 962 lines · 11 tokens per session scan A 61edcfb81507
security-agent is an agent published in the GitHub repository RegardV/LegendaryTeam_For_Claude (19 stars, last pushed 1mo ago), licensed MIT. It adds 11 tokens to every session and 6,450 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 2 findings (sends data to an external url, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
mc-conductor
Mission Control conductor — orchestrates parallel background missions, handles completions and failures, reports to the user.
citation-editor
Validate civic claim-to-source alignment, provenance, freshness, and selectors without inventing evidence or treating citation presence as support.
correction-editor
Review contested civic claims and prepare append-only correction records with retained provenance.
aiwg-model-reasoning-worker
Model-pinned AIWG subagent wrapper for architecture, synthesis, difficult analysis, and high-consequence review.
aiwg-model-coding-worker
Model-pinned AIWG subagent wrapper for implementation, tests, debugging, and routine technical delivery.
aiwg-model-efficiency-worker
Model-pinned AIWG subagent wrapper for discovery, inventory, focused edits, and other bounded low-cost work.