/everything-copilot-cli:mcp-implementation-security-reviewfrom everything-copilot-cli
Reviews MCP server/client source code for authentication, session, rate-limit, schema-validation, and SDK-usage vulnerabilities. Produces file/line-cited findings mapped to OWASP Top 10.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Review the source code of an MCP server or client implementation for exploitable vulnerabilities. This is a code-level review — it inspects how a server or client is built, not how it is configured or governed. Every finding must be backed by a file/line citation so the report is directly actionable.
| Instead of mcp-implementation-security-review | Use |
|---|---|
| Verifying plugin/package integrity and pinned versions (no source review) | agent-supply-chain |
| Broad OWASP Agentic Security Initiative Top 10 audit across the whole agent pipeline | agent-owasp-check |
Configuring .mcp.json for a server you are not modifying | mcp-ecosystem |
| Building a brand-new MCP server from scratch | mcp-builder (pair this skill in afterward) |
This skill overlaps deliberately little with agent-supply-chain (package/version integrity)
and agent-owasp-check (OWASP ASI Top 10 across the whole agent pipeline): both of those treat
the MCP server as a black box. This skill opens the box and reviews the implementation itself.
Review each control in the implementation source, not just its documentation:
| Control | What to inspect |
|---|---|
| Authentication | How the server verifies caller identity; whether unauthenticated tool calls are possible; token validation logic |
| Session management | Session ID generation (must be cryptographically random, not sequential/timestamp-based); session fixation and hijack resistance; expiry enforcement |
| Rate limiting | Per-tool and per-session throttling; whether a single caller can exhaust server resources or downstream APIs |
| Schema validation | Whether every tool input is validated against a strict schema before use, or passed through to shell/SQL/filesystem calls unchecked |
| SDK usage | Whether the implementation uses the official MCP SDK's safe primitives correctly, or reimplements transport/framing logic in a way that reintroduces known SDK-fixed bugs |
Grep and manually inspect the source for these seven vector classes:
exec, spawn, subprocess, backticks, or
string-built shell commands fed by tool parameterspickle, eval, Function(), YAML unsafe load,
or similar on data that came from a tool callConfirm you are reviewing an actual server/client codebase, not just a config file. If only
.mcp.json is available with no accompanying source, this skill does not apply — use
agent-supply-chain for a config-only integrity check instead.
For each control, cite the specific file and line(s) that implement (or fail to implement) it. Do not report a control as "missing" without having actually searched for it.
Search systematically rather than relying on memory of common patterns:
git --no-pager grep -n -E "exec\(|spawn\(|subprocess|eval\(|pickle\.loads|yaml\.load\(" -- "*.py" "*.js" "*.ts"
git --no-pager grep -n -E "readFile|open\(|path\.join" -- "*.py" "*.js" "*.ts"
git grep uses basic regex by default — pass -E for extended regex so | alternation and
grouping work as written, and escape literal parentheses/dots that are not part of the pattern.
Attach each confirmed finding to the closest matching OWASP Top 10 (web) category (e.g., Injection, Broken Access Control, Security Misconfiguration) so severity and remediation guidance stay consistent with existing security tooling.
Every finding must include the exact file path and line number. A finding without a citation is not actionable and should be downgraded to an open question rather than reported as a defect.
## MCP Implementation Security Review: [server/client name]
### Five Controls
| Control | Status | Evidence |
|---------|--------|----------|
| Authentication | Pass/Fail/Partial | file:line |
| Session management | Pass/Fail/Partial | file:line |
| Rate limiting | Pass/Fail/Partial | file:line |
| Schema validation | Pass/Fail/Partial | file:line |
| SDK usage | Pass/Fail/Partial | file:line |
### RCE Vector Findings
| Vector | Found? | file:line | OWASP mapping | Severity |
|--------|--------|-----------|----------------|----------|
### Open Questions
- [item that could not be confirmed with a citation]
| Rationalization | Reality |
|---|---|
| "The SDK handles security, I don't need to check the implementation." | SDKs provide safe primitives; misuse at the call site still creates vulnerabilities. |
| "It's just a config file, that's enough to review." | Config-only review is agent-supply-chain's job — this skill requires source access. |
| "This is internal-only, so auth doesn't matter." | Internal MCP servers are still reachable by any agent or process with tool access. |
exec/subprocess/eval without validationagent-supply-chain — integrity/tampering checks for MCP bundles as packages, not source reviewagent-owasp-check — broader OWASP Agentic Security Initiative Top 10 audit across the whole agent pipelinemcp-builder — build a new MCP server; pair with this skill before shipping itWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mcp-security, code-review, vulnerability-audit, owasp-top-10
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job