page-tree
Warn
Audited by Snyk on Jul 7, 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.95). Yes—Step 2 opens a caller-supplied URL and the injected bundle reads outsider-authored webpage DOM text (e.g.,
element.textContent/getDirectTextContent) and returns it viaplaywright-cli evalasJSON.stringify(window.__visualTree.captureVisualTree(...)), which is then parsed and presented to the LLM.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata