d2

Pass

Audited by Gen Agent Trust Hub on Aug 24, 2026

Risk Level: SAFEREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill contains instructions for installing the D2 CLI via a shell script piped from the official d2lang.com domain. This is the documented and official installation method for the tool.
  • Evidence: 'curl -fsSL https://d2lang.com/install.sh | sh' in SKILL.md.
  • [EXTERNAL_DOWNLOADS]: The skill fetches visual assets and icons from the official Terrastruct icon catalog to enhance generated diagrams.
  • Evidence: Numerous references to 'https://icons.terrastruct.com' throughout the skill's reference and asset files.
  • [COMMAND_EXECUTION]: The skill documentation provides examples of how to use the 'd2' command-line tool to compile diagram source files into SVG, PNG, and other formats.
  • Evidence: Rendering commands like 'd2 input.d2 output.svg' found in SKILL.md and cli-and-tooling.md.
  • [INDIRECT_PROMPT_INJECTION]: The skill operates by processing diagram definitions which could potentially be sourced from untrusted user input or external files.
  • Ingestion points: User requests for diagrams and external .d2 files.
  • Boundary markers: No specific delimiters or safety instructions are defined in the prompt instructions to isolate untrusted diagram code.
  • Capability inventory: File system read/write access and shell command execution capabilities.
  • Sanitization: No explicit sanitization or validation of the diagram source is performed before execution.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 24, 2026, 10:11 PM