vulnerable-mcp-servers-lab

Fail

Audited by Snyk on Jun 15, 2026

Risk Level: CRITICAL
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The prompt includes hardcoded secret strings (e.g., "sk-hardcoded-secret-key-12345") and explicit test steps that instruct reading files, grepping env/logs, and scanning source for secrets—actions that require the agent to retrieve and potentially output secret values verbatim.

CRITICAL E006: Malicious code pattern detected in skill scripts.

  • Malicious code pattern detected (high risk: 1.00). This repository intentionally contains multiple malicious and backdoor patterns (unsandboxed eval/exec, data exfiltration vectors, hardcoded secrets, fabricated/misleading tool outputs, typosquatted supply-chain examples, and network-accessible untrusted MCP endpoints) designed for abuse unless strictly isolated.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 0.85). This skill is a lab collection of multiple intentionally vulnerable MCP servers; at runtime, several of them (e.g., the “Indirect Prompt Injection (Local stdio)” and “Wikipedia (Remote HTTP Streamable)” servers) return outsider-authored free text (embedded malicious instructions in documents or fetched Wikipedia article text) directly into the agent’s LLM context via MCP tool responses like retrieve_document/get_article.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).


MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 1.00). The skill explicitly instructs running vulnerable servers and gives examples/tools for reading system files (e.g., ../../../etc/passwd), writing files outside the workspace, and executing arbitrary/un‑sandboxed code (Python eval/require('child_process').exec), which push the agent to perform actions that can modify or compromise the host system state.

Issues (5)

W007
HIGH

Insecure credential handling detected in skill instructions.

E006
CRITICAL

Malicious code pattern detected in skill scripts.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Jun 15, 2026, 01:05 AM
Issues
5
Security Audit — snyk — vulnerable-mcp-servers-lab