mcp-server-builder
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests OpenAPI specifications, which are external and potentially untrusted data sources. Fields from these specifications are interpolated directly into generated code files.\n
- Ingestion points: scripts/openapi_to_mcp.py reads OpenAPI data from input files or via stdin.\n
- Boundary markers: Absent; user-provided summaries and descriptions are placed directly into Python docstrings and TypeScript string literals without delimiters or escape logic.\n
- Capability inventory: The skill has the capability to write files (Path.write_text) to the local file system that are intended for execution.\n
- Sanitization: Function names are sanitized to alphanumeric characters, but description and summary fields are not escaped, which could allow a maliciously crafted input to break out of literal boundaries and inject code.\n- [DYNAMIC_EXECUTION]: The skill performs runtime generation of Python and TypeScript source code using string concatenation and f-strings based on external templates.\n
- Evidence: The python_scaffold and typescript_scaffold functions in scripts/openapi_to_mcp.py assemble source code by interpolating values directly from the parsed OpenAPI object.\n
- Risks: This pattern of code generation from untrusted input without strict escaping creates a risk of unintended code execution if the generated scripts are run.
Audit Metadata