create-audit
Pass
Audited by Gen Agent Trust Hub on Nov 19, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill architecture relies on dynamically loading and executing JavaScript modules from the
src/audits/directory. These modules are granted access to a utility object providing filesystem operations like reading files and directories. - [INDIRECT_PROMPT_INJECTION]: The audit modules ingest and parse local files from the repository being scanned, which could contain untrusted content. If the results are later interpreted by an AI agent, this creates a potential surface for indirect instructions.
- Ingestion points: Files are read from the repository root using
ctx.readFileSafeandctx.readFileSyncwithin theanalyzefunction inreferences/mcp-audit-example.mjs. - Boundary markers: The provided documentation and examples do not define specific delimiters or instructions to prevent the agent from obeying instructions embedded within the scanned files.
- Capability inventory: The scanner environment provides a
ctxobject with several filesystem capabilities, includingexistsSync,statSync,readFileSync,readFileSafe, andreaddirSync. - Sanitization: The reference example uses standard
JSON.parsefor data extraction but does not demonstrate input validation or sanitization of the content before it is returned as part of the audit results.
Audit Metadata