beautiful-mermaid
Warn
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The script
scripts/render.tsincludes functionality to download and install thebeautiful-mermaidpackage from the NPM registry if it is not present and the--allow-installflag is enabled.- [COMMAND_EXECUTION]: Thescripts/render.tsfile usesnode:child_process'sspawnSyncto execute shell commands likenpm installandbun addfor runtime dependency management.- [REMOTE_CODE_EXECUTION]: The skill uses dynamicimport()inscripts/render.tsto load and execute thebeautiful-mermaidpackage after it has been downloaded from an external registry.- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) when processing diagram source code. - Ingestion points: Untrusted Mermaid source code is ingested via the
--codeor--inputarguments inscripts/render.ts. - Boundary markers: The skill does not use delimiters or explicit instructions to ignore embedded commands within the Mermaid source.
- Capability inventory: The skill has the ability to write files to the system and execute shell commands via
scripts/render.ts. - Sanitization: There is no evidence of validation or sanitization of the Mermaid source code before it is passed to the renderer.
Audit Metadata