Browser Daemon

Warn

Audited by Socket on Aug 29, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
browser-daemon.js

This module is a high-risk, command-and-control style local browser automation daemon. Its design allows untrusted filesystem input to trigger unrestricted navigation and—most critically—arbitrary JavaScript execution in the page context via page.evaluate(data.code). It then captures page console/page error output and writes results to disk, enabling data extraction from loaded web pages (including attacker-induced console logging) to the caller via RESULT_FILE. While it does not directly execute OS commands in this file, the 'exec' + result persistence pattern makes it suitable for malicious automation if an attacker can write to the command file or influence its contents.

Confidence: 78%Severity: 84%
SecurityMEDIUM
browser-client.js

This module is a high-risk local controller because it includes an 'exec' command that forwards arbitrary CLI-supplied JavaScript to a daemon via predictable filesystem IPC files without authentication or integrity checks. While this particular file does not directly execute code or exfiltrate data, the IPC design and exec primitive create a strong likelihood of an RCE-like capability in the daemon context if the daemon evaluates the provided code. Additional concerns include potential IPC tampering/race conditions and unsafe printing of untrusted daemon output to the terminal/logs (log/terminal injection).

Confidence: 68%Severity: 75%
Audit Metadata
Analyzed At
Aug 29, 2026, 08:17 PM
Package URL
pkg:socket/skills-sh/jackspace%2Fclaudeskillz%2Fbrowser-daemon%2F@3be6f536294ba30b23f34d7a6543a6107d3c9bcf
Security Audit — socket — Browser Daemon