pretty-mermaid
Pass
Audited by Gen Agent Trust Hub on Aug 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
render.mjs,batch.mjs, andthemes.mjsutilizechild_process.execSyncto invokenpm install. This occurs as a self-healing mechanism to ensure the requiredbeautiful-mermaidlibrary is available locally. The execution is targeted to the skill's own root directory and uses hardcoded arguments. - [EXTERNAL_DOWNLOADS]: The skill is configured to download the
beautiful-mermaidpackage from the official NPM registry if missing. This is a standard dependency management practice and targets a well-known service. - [REMOTE_CODE_EXECUTION]: The renderer scripts use dynamic
import()to load thebeautiful-mermaidpackage from a path computed at runtime (the localnode_modulesdirectory). While dynamic loading can be a risk, in this context it is restricted to loading the skill's own verified dependencies. - [INDIRECT_PROMPT_INJECTION]: The skill defines a clear ingestion surface for untrusted data by processing user-provided Mermaid source code. It includes specific validation and error-reporting instructions in
SKILL.mdto ensure the agent verifies output integrity, which is a recommended safeguard for data-processing skills.
Audit Metadata