mockstar-mock
Pass
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data to generate executable code and server configurations.
- Ingestion points: Stage 1 of the procedure fetches documentation from user-provided URLs and extracts text from local files (PDF, DOCX, Markdown).
- Boundary markers: The skill does not specify explicit boundary markers or instruction-ignoring prompts when interpolating the extracted documentation into the agent's context.
- Capability inventory: The skill possesses file write access, the ability to execute shell commands via
bunxanduv, and performs network requests viacurl. - Sanitization: Input is passed through specialized adapters and an internal extraction script (
extract_text.py) before processing. - [COMMAND_EXECUTION]: The skill relies on shell command execution for its core functionality, including extraction and verification.
- Evidence: The
SKILL.mdfile instructs the agent to useuv runto execute the bundledextract_text.pyscript for document conversion. Stage 5 uses thesmoke.shscript to boot the mock server and test routes usingbunxordocker. - [EXTERNAL_DOWNLOADS]: The skill performs network operations to fetch external resources.
- Evidence: Stage 1 uses
curlto download documentation from user-supplied URLs. The skill also utilizesbunxto fetch the@dhaneshpurohit/mockstarpackage and pulls theghcr.io/dhanesh/mockstarDocker image, which are vendor-controlled resources. - [DYNAMIC_EXECUTION]: The skill generates code and configurations that are executed at runtime.
- Evidence: Stage 3 generates TypeScript dynamic handlers in the
handlers/directory when the--fidelity fullflag is used. Stage 6 produces aDockerfilebased on an internal template. These generated files are then executed by themockstarCLI or Docker. - [SAFE]: The skill implements strong security controls for credential management.
- Evidence: Both
inventory.schema.jsonandmockstar-mapping.mdexplicitly prohibit the use of inline secrets in generated configurations, instead enforcing references to environment variables ({{ env.NAME }}) or external secret files.
Audit Metadata