chrome-cdp

Warn

Audited by Socket on Aug 28, 2026

3 alerts found:

Anomalyx2Security
AnomalyLOW
scripts/cdp-lib/actions.mjs

The code appears to be a legitimate browser automation module. It contains no clear malware indicators or intentional obfuscation. The primary risks are architectural: arbitrary CDP access through evalRawStr, unrestricted HTTP(S) navigation that may reach internal resources, possible sensitive page-data exposure, and caller-controlled screenshot paths. These capabilities should only be exposed to trusted callers and should be constrained with CDP method allowlists, destination restrictions, and safe output-path handling.

Confidence: 94%Severity: 58%
AnomalyLOW
scripts/cdp-lib/daemon.mjs

The fragment appears to be a legitimate Chrome DevTools/browser automation daemon. It contains an intentional powerful control surface, including arbitrary browser-context JavaScript evaluation, navigation, page-data retrieval, and user-input simulation. Because the socket protocol has no authentication or authorization in this file, unauthorized local clients could control the attached browser or access its data if socket exposure and permissions are insufficient. No evidence of credential theft, external exfiltration, destructive behavior, or obfuscated malware is present.

Confidence: 94%Severity: 61%
SecurityMEDIUM
scripts/cdp-lib/evaluate.mjs

This is a legitimate-looking CDP helper for evaluating JavaScript expressions, not evidence of malware in isolation. It creates a significant code-execution security risk if callers pass untrusted or attacker-controlled expressions, because `Runtime.evaluate` executes them directly in the connected browser or JavaScript runtime. Restrict access to the function and validate or avoid untrusted expressions.

Confidence: 98%Severity: 72%
Audit Metadata
Analyzed At
Aug 28, 2026, 05:21 PM
Package URL
pkg:socket/skills-sh/igorwarzocha%2Fhowaboua-pi-stuff%2Fchrome-cdp%2F@017aab5ce340347395de760a18e63d3a34bfde45435b7129ae04c50883d953f5