cloudflare-browser

Warn

Audited by Socket on Sep 24, 2026

3 alerts found:

Securityx3
SecurityMEDIUM
scripts/video.js

The code appears intended for browser video capture and contains no clear evidence of deliberate malware or data theft. However, the user-controlled output filename reaches execSync through a shell command and creates a command-injection vulnerability. The CDP secret in the URL query string also risks exposure in URL logs. Avoid untrusted output filenames and prefer spawn with an argument array.

Confidence: 98%Severity: 78%
SecurityMEDIUM
scripts/video.cjs

The code appears to implement a legitimate browser screenshot-to-video workflow and contains no clear malware or intentional backdoor. It has a significant command-injection vulnerability because the user-controlled output path is embedded in an execSync shell command. It also transmits the CDP secret in a query string and permits unrestricted URL navigation through the remote browser. Use spawnSync with an argument array, validate the output path, validate WORKER_URL, and apply URL/network restrictions appropriate to the worker environment.

Confidence: 98%Severity: 78%
SecurityMEDIUM
scripts/cdp-client.js

The code is a browser automation/CDP client, not clear malware. Its main risks are deliberate arbitrary JavaScript execution, arbitrary navigation, transmission of the CDP secret in a URL query string, and unsafe interpolation in click/type expressions. It should only be used with trusted callers and a trusted worker endpoint; click and type inputs should be safely serialized rather than interpolated. The supplied fragment also appears incomplete at the end, which may cause a syntax error.

Confidence: 97%Severity: 70%
Audit Metadata
Analyzed At
Sep 24, 2026, 04:57 PM
Package URL
pkg:socket/skills-sh/sahiixx%2Fmoltworker%2Fcloudflare-browser%2F@96f8d6a5f60946cbcb0fe359d6392a5303c1b337e9aedfa2ecfe89c99a2f4bce