story-long-scan
Warn
Audited by Socket on Jul 26, 2026
1 alert found:
AnomalyAnomalyscripts/cdp-utils.js
LOWAnomalyLOW
scripts/cdp-utils.js
No explicit signs of stealth malware, credential theft, network exfiltration, or obfuscated payloads are present in this module. However, it is a high-privilege orchestration wrapper: it spawns a local helper process via execFileSync and provides an “eval” capability by passing caller-controlled base64-encoded JavaScript to that helper. On Windows, it also determines what to execute by searching PATH for agent-browser.cmd and parsing its contents, increasing risk if the environment or cmd script can be tampered with. Treat caller inputs (especially js/args/port) and the resolved agent-browser.cmd/executable as trusted/verified to mitigate misuse.
Confidence: 66%Severity: 62%
Audit Metadata