Checklists/AI Security/MCP Security

MCP Security Checklist

24 security checks for Model Context Protocol (MCP) servers and AI agents covering tool poisoning, prompt injection, RCE prevention, and cross-server attacks.

๐Ÿšจ Critical Threat Landscape

The Model Context Protocol (MCP) attack surface is riddled with vulnerabilities:

โ€ข 82% of MCP servers use file operations prone to path traversal (Endor Labs)

โ€ข 53% use insecure credentials (hardcoded keys)

โ€ข 43% vulnerable to command injection (Equixly)

โ€ข 16+ disclosed CVEs & breaches since April 2025 (AuthZed timeline + NVD)

โ€ข 5 Critical CVEs MCP-related disclosures with CVSS โ‰ฅ9.0 (NVD)

โ€ข 1,467 internet-exposed servers nearly tripled in 6 months (Trend Micro)

๐Ÿ“„
Want this as a PDF? DM me on Telegram โ†’
Showing 24 of 24 vulnerabilities
#1

Path Traversal Protection

Critical
โ–ผ

Tool arguments validated against boundaries, no directory traversal via ../

#2

Command Injection Prevention

Critical
โ–ผ

CLI flags and parameters properly sanitized, no shell injection vectors

#3

RCE via Execute Primitives

Critical
โ–ผ

Git hooks, filters (smudge/clean), aliases, and post-checkout scripts secured or disabled

#4

File System Boundaries

Critical
โ–ผ

Write operations restricted to designated directories, no arbitrary file access

#5

Prompt Injection Amplification

Critical
โ–ผ

LLM context parsing robust against malicious instructions embedded in tool outputs

#6

Output Poisoning Resistance

Critical
โ–ผ

Tool responses sanitized before context injection, no instruction embedding

#7

Semantic Exfiltration Controls

Critical
โ–ผ

Sensitive data detection prevents covert channel attacks via tool responses

#8

Cross-Tool Chaining Attacks

Critical
โ–ผ

Combined MCP server capabilities audited as attack surface

#9

OAuth Implementation

High
โ–ผ

No hardcoded credentials, proper OAuth flows for API access

#10

API Key Management

High
โ–ผ

Keys rotated, scoped appropriately, stored securely

#11

Permission Boundaries

High
โ–ผ

MCP servers run with minimal required privileges, no unnecessary system access

#12

Server Isolation Policies

High
โ–ผ

Data flow between MCP servers requires explicit authorization

#13

Shared Context Contamination

High
โ–ผ

Multiple servers can't poison each other's tool contexts

#14

Combined Capability Mapping

High
โ–ผ

Git + Browser, Filesystem + Network combinations assessed for compound risks

#15

Package Version Pinning

High
โ–ผ

Dependencies locked to specific versions, checksums verified

#16

Typosquatting Prevention

High
โ–ผ

Package names validated against known-good registries

#17

Internal Registry Usage

High
โ–ผ

Curated package sources preferred over public npm/pip repositories

#18

Context Window Pollution

Medium
โ–ผ

Large tool outputs don't overwhelm LLM attention mechanisms

#19

Instruction Segregation

Medium
โ–ผ

Clear boundaries between system prompts and tool-generated content

#20

Context Injection Limits

Medium
โ–ผ

Maximum response sizes enforced to prevent context stuffing attacks

#21

SSRF Prevention

Medium
โ–ผ

URL validation on web requests, no internal network access

#22

Webhook Security

Medium
โ–ผ

Incoming webhooks authenticated and validated against tampering

#23

Third-Party API Limits

Medium
โ–ผ

Rate limiting and validation on external service calls

#24

Audit Logging

Medium
โ–ผ

All tool invocations logged with parameters and outcomes for forensics

Need an MCP Security Audit?

Zealynx pioneered MCP security assessments. We've analyzed the attack surfaces, breach patterns, and defense strategies that make the difference.