d2-slides
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external data from Markdown files and vision model responses, creating a surface for indirect instructions to influence the agent.
- Ingestion points: The
assets/build-deck.mjsscript reads thedeck.mdsource file; theassets/deck-review.mjsscript ingestsanswers.json, which contains text transcriptions provided by external agents or vision models. - Boundary markers: The skill does not implement explicit delimiters or instruction-blocking warnings when processing these external data sources.
- Capability inventory: The skill uses
execFileSyncto run thed2diagramming tool andplaywrightto capture browser screenshots of the generated slides. - Sanitization: The
build-deck.mjsscript includes aninlinefunction that performs HTML entity escaping on prose text before embedding it into the slide HTML, which provides basic protection against browser-based injection. - [COMMAND_EXECUTION]: The skill executes external command-line tools to perform its primary functions.
- The
assets/build-deck.mjsscript usesexecFileSyncto invoke thed2diagramming tool to render diagram fences into SVG format. - [DYNAMIC_EXECUTION]: The skill uses dynamic loading for optional dependencies.
- The
assets/deck-review.mjsscript performs a dynamicimport("playwright")when the screenshot functionality is triggered via the--outflag.
Audit Metadata