a2a-security-review
Review agent-to-agent (A2A) / multi-agent-system trust: peer identity and authentication, message integrity, capability-negotiation trust, and delegation-chain…
Review the security of MCP (Model Context Protocol) servers/clients an agent uses: server trust tier, tool/resource description and result poisoning, confused-deputy risk, consent/scope UX, and supply-chain pinning. Use when an agent or assistant integrates one or more MCP
$ npx -y skills add jassics/awesome-claude-security --skill mcp-security-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mcp-security-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Review the security of MCP (Model Context Protocol) servers/clients an agent uses: server trust tier, tool/resource description and result poisoning, confused-deputy risk, consent/scope UX, and supply-chain pinning. Use when an agent or assistant integrates one or more MCP
name: mcp-security-review description: >- Review the security of MCP (Model Context Protocol) servers/clients an agent uses: server trust tier, tool/resource description and result poisoning, confused-deputy risk, consent/scope UX, and supply-chain pinning. Use when an agent or assistant integrates one or more MCP servers, especially third-party or community ones.
A per-MCP-server trust assessment: which servers are safe to grant tool access to, where a malicious or compromised server could manipulate the calling model or escalate privilege, and what controls close the gap — extending `tool-permission-audit` with the MCP server itself as a distinct trust boundary.
`tool-permission-audit` treats each tool as a privilege/effect/credential unit. MCP adds a layer *above* that: the server supplying the tool's description, schema, and results is itself an input channel the model trusts by default. A compromised or malicious server can poison that channel without ever touching the agent's own code.
1. **Server trust tier** — first-party/vetted, reputable third-party, or arbitrary community server? Is it pinned to a specific version/commit/hash, or does the client pull `latest` on every run? 2. **Tool/resource description poisoning** — can the server's tool descriptions, parameter schemas, or resource metadata contain instructions that influence the model's behavior (not just document the tool)? Treat tool descriptions as untrusted content, not configuration. 3. **Tool-result poisoning (indirect injection)** — can data returned by a tool call carry instructions the model then acts on (classic indirect prompt injection, MCP-flavored)? Check whether returned content is treated as inert data or re-enters the trusted instruction stream. 4. **Confused deputy** — does the agent use its own broad credentials to satisfy a request that originated from untrusted MCP content, rather than the invoking user's actual authority? 5. **Consent & scope UX** — does the client show the user what a tool can actually do (effect, reversibility, data access) before granting access, and can the server silently expand scope after consent (rug-pull)? 6. **Supply chain** — is the MCP server package itself subject to typosquatting, dependency-confusion, or unreviewed auto-update risk? Same class of check as `supply-chain-security:dependency-supply-chain-review`, applied to the server binary/package.
1. Enumerate every MCP server wired into the agent/client, including ones discovered dynamically at runtime — don't rely on a config file that may be stale. 2. Classify each server's trust tier and version-pinning status. 3. For tool description and tool-result handling, test with `prompt-injection-test` -style payloads embedded in a mock/staging server's descriptions and outputs; confirm whether they reach the model's action selection. 4. Check consent/scope UX: what does the user see before granting access, and can the server change its declared tools/scopes later without re-consent? 5. Cross-check credential scope with `tool-permission-audit` — does this server's tools share a token with other, more sensitive tools? 6. Rate and rank (`threat-modeling:risk-rank`); map each gap to a control.
A per-server findings table: server · trust tier · pinned? · description/result poisoning tested? · confused-deputy risk · consent/scope UX gap · supply-chain risk · severity · mitigation. Confirmed issues → `security-reporting:finding`.
This space moves fast — treat any specific document title or numbering you recall for OWASP GenAI Security Project agentic-AI/MCP guidance as a pointer to check for the current published version, not a fixed citation. The durable principle doesn't change: an MCP server is an untrusted-content source until proven otherwise, same as retrieved documents or web content in RAG. Least-privilege scoping, version pinning, and treating tool descriptions/results as data (not instructions) are the highest-leverage controls. For the agent's own tool/autonomy boundaries beyond MCP, use `agent-security-review` and `autonomy-boundary-test`.
A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.
Repo: jassics/awesome-claude-security
Review agent-to-agent (A2A) / multi-agent-system trust: peer identity and authentication, message integrity, capability-negotiation trust, and delegation-chain…
Test the agent execution harness/runtime itself — LangChain/LangGraph, AutoGen, CrewAI, custom ReAct-style loops, or computer-use/browser-use agents — for…
Assess an autonomous / tool-using AI agent for security end-to-end: tool privileges, autonomy and approval boundaries, excessive agency, memory/state…
Test what an AI agent will actually do without human confirmation, including under injected-goal / prompt-injection scenarios, to validate its autonomy and…
Inventory the tools/functions an AI agent can call and audit their privileges, side effects, and approval requirements to find excessive-agency and…
Operationalize a safety/prompt-injection eval suite into an enforced CI gate — not just a one-off report — using the ready-to-copy promptfoo/garak template, a…