beautiful-mermaid-ascii
Warn
Audited by Gen Agent Trust Hub on Nov 14, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
scripts/mermaid-asciiscript performs a silent installation of thebeautiful-mermaidpackage usingnpm installat runtime. The package is downloaded from the public npm registry into a local cache directory ($XDG_CACHE_HOME/beautiful-mermaid-asciior/tmp/beautiful-mermaid-ascii). - [DYNAMIC_EXECUTION]: The
scripts/mermaid-ascii.mjsscript usescreateRequireto resolve the location of the installedbeautiful-mermaidlibrary and then uses a dynamicimport()call to load and execute the renderer function from a computed path. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted data from
.mmdor.mdfiles provided by the user or found in the environment. - Ingestion points:
scripts/mermaid-asciireads input from files specified as command-line arguments or via standard input. - Boundary markers: There are no specific delimiters or instructions provided to the agent to ignore potentially malicious embedded instructions within the diagrams.
- Capability inventory: The skill executes shell commands and Node.js scripts to perform rendering and manages its own dependencies via
npm. - Sanitization: The
extractMermaidFencesfunction inscripts/mermaid-ascii.mjsperforms basic text extraction of Mermaid blocks but does not sanitize the contents of the diagrams before passing them to the third-party rendering library.
Audit Metadata