Zero-LLM deterministic rules mapped to OWASP MCP Top 10, MITRE ATLAS (only on
attack techniques), and CWE. Run uvx mcpsheriff list-checks locally.
| Control | Title | Mapped Rules |
|---|---|---|
| MCP01 | Token Mismanagement & Secret Exposure | 6 |
| MCP02 | Privilege Escalation via Scope Creep | 4 |
| MCP03 | Tool Poisoning & Metadata Manipulation | 4 |
| MCP04 | Software Supply Chain Attacks & Tampering | 6 |
| MCP05 | Command Injection & Unsafe Execution | 5 |
| MCP06 | Prompt Injection via Contextual Payloads | 3 |
| MCP07 | Insufficient Authentication & Origin Validation | 6 |
| MCP08 | Lack of Audit and Telemetry | 15 |
| MCP09 | Shadow MCP Servers & Cross-Server Hijacking | 2 |
| MCP10 | Context Injection & Resource Over-Sharing | 4 |
| Rule ID | Check Name | Category | Severity | Description & Compliance |
|---|---|---|---|---|
| MCP-PROTO-001 | handshake | protocol | critical | Initialize handshake & capabilities contract MCP08CWE-754 |
| MCP-PROTO-002 | tools.list | protocol | high | tools/list pagination, uniqueness, and SEP-986 names MCP08CWE-20 |
| MCP-PROTO-009 | tools.determinism | protocol | low | tools/list returns deterministic tool order (2026-07-28 prompt-cache rule) MCP08CWE-345 |
| MCP-SCHEMA-001 | tools.schema | schema | high | JSON Schema validation of inputSchema and outputSchema MCP08CWE-20 |
| MCP-SCHEMA-002 | tools.provider_compat | schema | medium | LLM provider schema compatibility (items on arrays, combinators) MCP08CWE-20 |
| MCP-SCHEMA-003 | tools.annotations | schema | medium | ToolAnnotations type and semantic consistency MCP02MCP03AML.T0054CWE-862 |
| MCP-PROTO-003 | tools.unknown | protocol | high | Unknown tool rejection (-32602 or valid CallToolResult isError) MCP08CWE-755 |
| MCP-PROTO-004 | resources.list | protocol | high | resources/list and resources/templates/list contract MCP08MCP10CWE-20 |
| MCP-PROTO-005 | prompts.list | protocol | high | prompts/list contract and argument definitions MCP08CWE-20 |
| MCP-PROTO-007 | errors.recovery | protocol | high | Unknown method returns JSON-RPC -32601 and server recovers MCP08CWE-755 |
| MCP-PROTO-008 | latency | protocol | medium | Control-plane response latency within budget MCP08CWE-400 |
| MCP-HTTP-001 | http.origin | http | high | Streamable HTTP Origin validation & CORS DNS-rebinding guard MCP07AML.T0040CWE-346CWE-942 |
| MCP-HTTP-006 | http.host_header | http | high | Local/private HTTP server rejects spoofed Host header (DNS rebinding guard) MCP07AML.T0040CWE-350 |
| MCP-HTTP-002 | http.protocol_version | http | medium | MCP-Protocol-Version header validation MCP08CWE-757 |
| MCP-HTTP-003 | http.notifications | http | medium | notifications/initialized returns HTTP 202 Accepted MCP08CWE-754 |
| MCP-HTTP-004 | http.session | http | medium | Mcp-Session-Id format and unknown session 404 handling MCP07AML.T0040CWE-384 |
| MCP-HTTP-005 | http.tls | http | high | Non-loopback HTTP transport uses HTTPS MCP01MCP07AML.T0024CWE-319 |
| MCP-AUTH-001 | http.oauth_metadata | auth | medium | OAuth 2.1 RFC 9728 Protected Resource Metadata on HTTP 401 MCP07AML.T0040CWE-287 |
| MCP-SEC-003 | resources.traversal | security | critical | Active path-traversal check on resources/read (--active-security) MCP05MCP10AML.T0048CWE-22 |
| MCP-SEC-001 | tools.poisoning | security | critical | Prompt injection, tool poisoning, and invisible Unicode scan MCP03MCP06AML.T0051CWE-74 |
| MCP-SEC-002 | tools.leaks | security | critical | Credential and stack-trace leakage scan MCP01AML.T0024CWE-200CWE-798 |
| MCP-PROTO-006 | stdout.hygiene | protocol | high | Stdio stdout carries strict JSON-RPC 2.0 frames only MCP08CWE-116 |
| MCP-DRIFT-001 | schema.snapshot | drift | high | Structural schema drift & rug-pull description hash comparison MCP03MCP04AML.T0010CWE-494 |
| MCP-CFG-001 | scan.secrets | security | critical | Plaintext credentials hardcoded inside MCP client configuration MCP01AML.T0024CWE-798 |
| MCP-CFG-002 | scan.unpinned | security | high | Unpinned ephemeral package execution (npx/uvx/pipx/docker without version) MCP04AML.T0010CWE-829 |
| MCP-CFG-003 | scan.cleartext_http | http | high | Remote non-loopback MCP server configured over cleartext http:// MCP01MCP07AML.T0024CWE-319 |
| MCP-CFG-004 | scan.dangerous_exec | security | high | Inline shell wrapper or unrestricted root filesystem path in MCP server args MCP02MCP05AML.T0048CWE-78CWE-732 |
| MCP-CFG-005 | scan.duplicate_server | security | medium | Duplicate MCP server name defined across multiple client configs MCP09AML.T0051CWE-694 |
| MCP-SEC-004 | scan.tool_shadowing | security | critical | Cross-server tool name collision or shadowing directive across active servers MCP03MCP09AML.T0051CWE-706 |
| MCP-SKILL-001 | skill.prompt_injection | skills | critical | Prompt injection, hidden HTML directive, or invisible Unicode in skill/rule MCP06MCP10AML.T0051CWE-74 |
| MCP-SKILL-002 | skill.remote_exec | skills | critical | Remote pipe-to-shell, reverse shell, or destructive execution inside skill/rule MCP05AML.T0048CWE-78CWE-829 |
| MCP-SKILL-003 | skill.exfiltration | skills | critical | Sensitive file access combined with outbound network exfiltration in skill MCP01MCP10AML.T0024CWE-200 |
| MCP-SKILL-004 | skill.secrets | skills | high | Hardcoded API key, token, or private key embedded in agent skill or rule MCP01AML.T0024CWE-798 |
| MCP-SKILL-005 | skill.obfuscation | skills | high | Obfuscated payload execution (base64/hex decode-to-exec) in agent skill MCP04MCP06AML.T0051CWE-506 |
| MCP-SKILL-006 | skill.unpinned_install | skills | medium | Dependency source redirection or cleartext package install inside agent skill MCP04AML.T0010CWE-829 |
| MCP-HOOK-001 | hook.command_injection | hooks | critical | Unsafe shell interpolation or remote execution in IDE/agent lifecycle hook MCP05AML.T0048CWE-78 |
| MCP-HOOK-002 | hook.wildcard_permissions | hooks | high | Overly broad wildcard auto-approve or bypassPermissions setting in agent config MCP02AML.T0054CWE-250CWE-862 |
| MCP-HOOK-003 | hook.external_script | hooks | high | Agent hook executes untrusted script from /tmp or remote URL MCP04MCP05AML.T0010CWE-426 |
| MCP-SUPPLY-001 | supply.osv_cve | supply-chain | high | Pinned MCP server package has known CVE/GHSA advisory in OSV.dev (--check-cve) MCP04AML.T0010CWE-1395 |
| MCP-POLICY-001 | policy.custom | policy | high | Custom organizational policy rule violation (--rules policy.yaml) MCP02MCP08AML.T0054CWE-863 |
| MCP-CFG-000 | scan.config_parse | security | low | Malformed or unparseable MCP client configuration file MCP08CWE-20 |