building-mcp-server-on-cloudflare
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides templates for creating MCP tools that ingest data from external APIs or user-supplied strings, creating a potential attack surface.
- Ingestion points: The
get_weathertool (SKILL.md, line 98) andquery_dbtool (SKILL.md, line 147) ingest external and user input respectively. - Boundary markers: The provided code snippets do not implement specific delimiters or instructions to ignore embedded commands within the processed data.
- Capability inventory: The skill leverages
fetchfor network requests andwranglerfor deployment of generated code. - Sanitization: Although the database example uses direct interpolation, the skill includes a dedicated section on input validation using the Zod library (SKILL.md, lines 122-132).
- [EXTERNAL_DOWNLOADS]: Fetches configuration and project templates from Cloudflare's official resources.
- Downloads project templates from the
cloudflare/airepository usingnpm create cloudflare@latest. - References official documentation from
developers.cloudflare.comandmodelcontextprotocol.io. - [COMMAND_EXECUTION]: Utilizes CLI tools for project management and deployment.
- Executes
wranglerfor deploying Worker scripts and managing secrets. - Uses
npx @modelcontextprotocol/inspectorto test the local MCP server environment.
Audit Metadata