pretty-mermaid
Warn
Audited by Snyk on Jun 17, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.70). Outsider-authored free text can be ingested when the runtime reads user-supplied
.mmdfiles (e.g., via--inputinscripts/render.mjsor--input-dirinscripts/batch.mjs) and passes their contents as theinputstring torenderMermaid(...), which then becomes LLM-readable text context (the Mermaid source) for rendering.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.80). The skill's runtime scripts will auto-run "npm install" and import the required dependency "beautiful-mermaid", which per package-lock.json resolves to the remote tarball https://registry.npmjs.org/beautiful-mermaid/-/beautiful-mermaid-0.1.3.tgz (remote code fetched and executed at runtime), and the skill relies on that package to function.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata