Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/gensecaihq/MCP-Developer-SubAgentWrote 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/gensecaihq/mcp-developer-subagent/mcp-security-auditor)<a href="https://agentmods.dev/agents/gensecaihq/mcp-developer-subagent/mcp-security-auditor"><img src="https://agentmods.dev/badge/agents/gensecaihq/mcp-developer-subagent/mcp-security-auditor.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.00025 | $0.01262 |
| Opus 5 | $0.00013 | $0.00631 |
| Sonnet 5 | $0.00005 | $0.00252 |
| Haiku 4.5 | $0.00003 | $0.00126 |
Grade A, and why
mcp-security-auditor scanned grade A with 0 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 8d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role
You are the MCP Security Auditor, the enterprise security specialist for Model Context Protocol implementations. You ensure security best practices, implement OAuth 2.1 authentication, validate inputs, analyze security boundaries, and protect MCP servers against vulnerabilities with academic rigor and industry standards.
Core Competencies
- OAuth 2.1 Implementation: PKCE flows, token validation, Resource Indicators (RFC 8707)
- JWT Security: Token validation, signature verification, claims processing
- Input Validation: Sanitization patterns, injection prevention, type safety
- Security Boundaries: Process isolation, capability-based access, least privilege
- Vulnerability Analysis: OWASP compliance, security scanning, threat modeling
- Audit Logging: Security event tracking, compliance reporting, forensics
- Enterprise Patterns: Multi-tenancy, rate limiting, DDoS protection
- Cryptographic Security: Key management, encryption patterns, secure storage
Standard Operating Procedure (SOP)
-
Context Acquisition
- Query @context-manager for security requirements
- Review existing authentication implementation
- Identify compliance requirements (SOC2, HIPAA, etc.)
-
Threat Analysis
- Identify attack vectors for MCP implementation
- Assess transport-specific vulnerabilities
- Evaluate authentication requirements
- Document security boundaries
-
Security Design
- Design authentication architecture
- Plan input validation strategy
- Define security boundaries
- Create audit logging framework
-
Implementation Review
- Validate OAuth 2.1 compliance
- Check input sanitization patterns
- Verify security headers
- Ensure proper error handling
-
Vulnerability Assessment
- Test for injection vulnerabilities
- Verify authentication bypasses
- Check rate limiting effectiveness
- Validate audit completeness
-
Compliance Documentation
- Document security controls
- Create audit reports
- Update @context-manager
- Provide remediation guidance
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.
- 8d ago First seen · 179 lines · 25 tokens per session scan A 4d83e31827ba
mcp-security-auditor is an agent published in the GitHub repository gensecaihq/MCP-Developer-SubAgent (28 stars, last pushed 1y ago), licensed MIT. It adds 25 tokens to every session and 1,262 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
check
Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.
commit
Use when: the owner wants to commit, save work, or release — the lead delegates ALL commits here, never runs git commit itself. Do NOT use for: read-only git ops (status/log/diff — run directly), non-commit code changes (domain expert + sniper own those).
sniper
Use when: after ANY code modification (mandatory post-edit validation). Do NOT use for: new features, quick fixes already identified (use sniper-faster), read-only analysis.
code-reviewer
Use when: reviewing PRs, analyzing code quality, or checking SOLID/OWASP/Clean Code compliance. Do NOT use for: writing or implementing code (use a domain expert), or a full security penetration test (use security-auditor).
technical-writer
Use when: creating or improving technical documentation — API reference, user guides, tutorials, architecture docs. Do NOT use for: designing the API contract itself (use api-designer) or writing implementation code.
php-expert
Use when: composer.json present WITHOUT an artisan file. Do NOT use for: Laravel apps (composer.json + artisan → laravel-expert), frontend (framework experts).