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 via playwright-cli eval as JSON.stringify(window.__visualTree.captureVisualTree(...)), which is then parsed and presented to the LLM.

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 7, 2026, 09:03 AM
Issues
1
Security Audit — snyk — page-tree