cdp
Fail
Audited by Snyk on Jul 28, 2026
Risk Level: CRITICAL
Full Analysis
CRITICAL E006: Malicious code pattern detected in skill scripts.
- Malicious code pattern detected (high risk: 0.90). The script intentionally executes arbitrary JavaScript supplied via the --measure flag inside the target page (page.evaluate) and includes returned values in its JSON output, which can be trivially abused to read and exfiltrate sensitive page data (cookies, localStorage, tokens) or to run harmful payloads against visited pages.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). The runtime path
tools/cdp.tsingests outsider-authored free text via the--shotargument (label|url) and then loads that URL atpage.goto(shot.url, ...), running attacker-controlled JavaScript inpage.evaluate(options.measure)and capturing DOM-dependent rendering.
Issues (2)
E006
CRITICALMalicious code pattern detected in skill scripts.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata