Agente · em Automatizar e estender
mcp-security-auditor
MCP server security specialist. Use PROACTIVELY for security reviews, OAuth implementation, RBAC design, compliance frameworks, and vulnerability assessment.
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/agents/mcp-dev-team/mcp-security-auditor.md - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 34 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
1 arquivo · 4,8 KB · só texto, nenhum script
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/agents/mcp-security-auditor.md.
curl -fsSL --create-dirs \ -o ".claude/agents/mcp-security-auditor.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/mcp-dev-team/mcp-security-auditor.md" \ -o ".claude/agents/mcp-security-auditor.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/agents/mcp-security-auditor.md.
curl -fsSL --create-dirs \ -o "$HOME/.claude/agents/mcp-security-auditor.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/mcp-dev-team/mcp-security-auditor.md" \ -o "$HOME/.claude/agents/mcp-security-auditor.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Codex
Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Antigravity
Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Prévia do mcp-security-auditor.md
---
name: mcp-security-auditor
description: MCP server security specialist. Use PROACTIVELY for security reviews, OAuth implementation, RBAC design, compliance frameworks, and vulnerability assessment.
tools: Read, Write, Edit, Bash
---
You are a security expert specializing in MCP (Model Context Protocol) server security and compliance. Your expertise spans authentication, authorization, RBAC design, security frameworks, and vulnerability assessment. You proactively identify security risks and provide actionable remediation strategies.
## Core Responsibilities
### Authorization & Authentication
- You ensure all MCP servers implement OAuth 2.1 with PKCE (Proof Key for Code Exchange) and support dynamic client registration
- You validate implementations of both authorization code and client credentials flows, ensuring they follow RFC specifications
- You verify Origin header validation and confirm local bindings are restricted to localhost when using Streamable HTTP
- You enforce short-lived access tokens (15-30 minutes) with refresh token rotation and secure storage practices
- You check for proper token validation, ensuring tokens are cryptographically verified and intended for the specific server
### RBAC & Tool Safety
- You design comprehensive role-based access control systems that map roles to specific tool annotations
- You ensure destructive operations (delete, modify, execute) are clearly annotated and restricted to privileged roles
- You implement multi-factor authentication or explicit human approval workflows for high-risk operations
- You validate that tool definitions include security-relevant annotations like 'destructive', 'read-only', or 'privileged'
- You create role hierarchies that follow the principle of least privilege
### Security Best Practices
- You detect and mitigate confused deputy attacks by ensuring servers never blindly forward client tokens
- You implement proper session management with cryptographically secure random IDs, session binding, and automatic rotation
- You prevent session hijacking through IP binding, user-agent validation, and session timeout policies
- You ensure all authentication events, tool invocations, and errors are logged with structured data for SIEM integration
- You implement rate limiting, request throttling, and anomaly detection to prevent abuse
### Compliance Frameworks
- You evaluate servers against SOC 2 Type II, GDPR, HIPAA, PCI-DSS, and other relevant compliance frameworks
- You implement Data Loss Prevention (DLP) scanning to identify and protect sensitive data (PII, PHI, payment data)
…