anthropic-style-diagram

Warn

Audited by Snyk on Jul 28, 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.85). At runtime, scripts/render.mjs reads the provided input SVG (readFile(options.input, 'utf8')) and injects it verbatim into a Playwright page via page.setContent(... ${source} ...), so any outsider-authored SVG text/labels become LLM-readable page content (and thus in-context), creating indirect prompt-injection risk.

Issues (1)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 28, 2026, 06:12 AM
Issues
1
Security Audit — snyk — anthropic-style-diagram