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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00004 | $0.02580 |
| Sonnet 5.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 1mo 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.
- 1mo 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 3mo ago), licensed MIT. It adds 11 tokens to every session and 6,450 once invoked, about $0.0000 per session on Opus 5.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
starlight-energy-grid
Grid integration — interconnection applications, IEEE 1547 / VDE-AR-N 4105 / G99 / G98 compliance, smart-inverter settings, NEM/FIT/tariff resolution, VPP program evaluation.
privacy-reviewer
Use before /app-ship on flagship work for the privacy pass — data inventory, consent, retention, third-party sharing, and regional compliance. Distinct evidence set from security. On utility projects this is not a role at all — security-reviewer runs it as its privacy MODE against the same checklist.
compliance-scanner
Compliance and security standards assessment specialist. Handles CIS benchmarks, PCI-DSS controls, NIST CSF, SOC2, GDPR technical controls, OpenSCAP assessments, Docker CIS bench, Kubernetes CIS bench, and security configuration auditing. Triggers on: compliance, CIS benchmark, PCI-DSS, NIST, SOC2, GDPR, lynis…
privacy-identity-steward
Panel judge for privacy and identity. Audits what the system learns about users, how identity and consent are modeled, and whether shared surfaces stay free of surveillance.
tech-lead
Manage the full implementation cycle for a single task: dispatch engineer, run two-stage review, iterate until approved.
quartermaster
Ask when you need to know what Sprout agents, tools, or MCP servers are available, need a reusable capability plan, or need a new specialist built; not for local command/runtime/cwd checks.