beautiful-mermaid
Warn
Audited by Gen Agent Trust Hub on Aug 1, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The script
scripts/render.tscontains anensurePackagefunction that dynamically downloads and installs thebeautiful-mermaidpackage from public registries (NPM or Bun) if it is not found locally. This dependency is not version-pinned, which introduces a supply chain risk. - [COMMAND_EXECUTION]: The
ensurePackagefunction inscripts/render.tsutilizeschild_process.execSyncto run shell commands such asnpm installandbun add. These commands are executed at runtime to modify the agent's environment. - [EXTERNAL_DOWNLOADS]: Both
scripts/render.tsandscripts/create-html.tsutilizenpx tsxin their shebang headers, which triggers the dynamic retrieval and execution of thetsxpackage from the NPM registry if it is not available in the local cache. - [COMMAND_EXECUTION]: The workflow described in
SKILL.mdrequires the agent to execute multiple CLI tools and shell commands, includingbun,npx,deno, andagent-browser, to manage the diagram rendering and capture process. - [DATA_EXFILTRATION]: The instructions in
SKILL.mdand the arguments used inscripts/render.ts(e.g.,--allow-netin the Deno example) indicate that the skill requires network access to external resources during the rendering phase.
Audit Metadata