c4-diagrams
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's core workflow involves reverse-engineering architecture by analyzing untrusted files from external repositories.
- Ingestion points:
references/deriving-from-code.mdinstructs the agent to read repository manifests such aspackage.json,pom.xml,go.mod, and infrastructure files likeDockerfile,docker-compose.yml, and Terraform configurations. - Boundary markers: There are no explicit instructions for the agent to treat ingested data as untrusted or to use delimiters to prevent embedded instructions from influencing behavior.
- Capability inventory: The skill includes
scripts/render.sh, which can execute arbitrary shell commands viadocker,pnpm, and other CLI tools. - Sanitization: The instructions do not specify any sanitization or validation of the metadata extracted from these external files before processing.
- [COMMAND_EXECUTION]: The skill includes a bash script designed to execute various CLI tools and Docker containers.
- Evidence:
scripts/render.shexecutesmmdc,pnpm dlx,d2,plantuml,structurizr, anddocker runto transform diagram source files into images. - [EXTERNAL_DOWNLOADS]: The rendering script is configured to download and execute code from public registries if local tools are missing.
- Evidence:
scripts/render.shusespnpm dlx @mermaid-js/mermaid-clito fetch and execute the Mermaid CLI from the public NPM registry. - Evidence: The script uses
docker runto pull and execute official images forplantuml/plantumlandstructurizr/clifrom Docker Hub.
Audit Metadata