mocking-apis
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied OpenAPI specifications to generate mock server code and fixtures, creating a surface for injection if specifications are attacker-controlled. \n
- Ingestion points: Reads OpenAPI specification files (SKILL.md, Implementation Guide). \n
- Capability inventory: Access to a restricted Bash tool, file writing, and editing tools. \n
- Boundary markers: No explicit instructions for delimiting or ignoring instructions within the schema data. \n
- Sanitization: No explicit validation or escaping of schema content before code generation. \n- [DYNAMIC_EXECUTION]: The skill generates and executes JavaScript code and shell scripts to run mock servers. \n
- Evidence: Creation of mocks/server.js and dynamic generators using templates and Faker.js data. \n
- Evidence: Generation of a startup script to launch the mock environment. \n- [EXTERNAL_DOWNLOADS]: Fetches and runs tools from well-known registries. \n
- Evidence: Uses npx to run the Prism CLI from Stoplight (references/examples.md). \n
- Evidence: References standard NPM packages like express, msw, and faker. \n- [COMMAND_EXECUTION]: Uses the shell to manage the mock server environment. \n
- Evidence: Executes npx, curl, and custom bash commands prefixed with api:mock- (SKILL.md, references/examples.md).
Audit Metadata