fastmcp

Warn

Audited by Snyk on Apr 22, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Third-party content exposure detected (high risk: 0.90). The skill's SKILL.md and example scripts (e.g., Pattern 2: OpenAPI/Swagger Auto-Generation in SKILL.md and examples/openapi-integration.py) explicitly fetch and ingest external OpenAPI specs via httpx.get(OPENAPI_SPEC_URL) and include tools like resilient_api_call(url) and api_get(...) that request arbitrary external endpoints, meaning untrusted third‑party content is read and can directly change server/tool behavior (auto-generated MCP endpoints and runtime decisions).

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

  • Potentially malicious external URL detected (high risk: 0.90). The skill fetches an OpenAPI spec at runtime (e.g., https://api.example.com/openapi.json via httpx.get in examples/openapi-integration.py) and passes the fetched spec into FastMCP.from_openapi to auto-generate tools/resources, which directly controls the agent's available prompts/behavior — this is a runtime external dependency that shapes agent instructions.

Issues (2)

W011
MEDIUM

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

W012
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 22, 2026, 11:08 AM
Issues
2