browser-harness

Warn

Audited by Socket on Aug 23, 2026

5 alerts found:

Anomalyx3Securityx2
AnomalyLOW
daemon.py

No clear evidence of classic sabotage (no obvious backdoor/persistence beyond a local socket, no explicit data theft/exfiltration, no obfuscated payload). However, the daemon acts as a privileged browser-control proxy: it accepts arbitrary JSON requests over a UNIX socket and forwards req['method'] and req['params'] directly to Chrome DevTools Protocol. This effectively grants any socket client powerful capability over the connected browser. Additionally, connection targeting can be influenced by BU_CDP_WS and remote stop action uses BU_BROWSER_ID/BROWSER_USE_API_KEY to call an external API. Overall, the code is likely part of a browser automation system, but its lack of CDP method allowlisting and broad command forwarding makes it a meaningful security risk.

Confidence: 72%Severity: 62%
AnomalyLOW
helpers.py

The fragment is a CDP-based browser automation client with strong capabilities: executes JavaScript via Runtime.evaluate, controls navigation and user input, captures screenshots to disk, and uploads files. It also loads a local .env at import time and uses a local UNIX socket for control. There are no explicit signs of overt malware (reverse shell/cryptomining/system command execution or obvious remote exfiltration) in this snippet, but it is inherently powerful and could be misused if upstream inputs or the local socket service are compromised. The optional fetch_use dependency when BROWSER_USE_API_KEY is set is a notable external behavioral/supply-chain dependency.

Confidence: 62%Severity: 55%
AnomalyLOW
domain-skills/facebook/groups.md

No strong indicators of embedded malware (no credential theft, backdoor, or covert exfiltration logic) are present in this fragment. However, it is a high-impact authenticated scraping/harvesting automation that decodes third-party destination URLs from Facebook redirectors and forwards them to external scraping/fetching services, while providing evasion-oriented guidance for long-running operation. The primary risk is therefore misuse/compliance/privacy abuse and the potential for significant harm if the browser harness or downstream scraping pipeline is compromised, rather than self-contained malicious code in this snippet.

Confidence: 66%Severity: 60%
SecurityMEDIUM
interaction-skills/profile-sync.md

No explicit malware behavior is demonstrated in the provided excerpt (it appears to be documentation describing cookie-based session automation). However, it describes a high-sensitivity workflow that transfers authentication cookies from local Chrome storage to a remote service and uses them to drive authenticated browsing, with persistence of mutated cookies back to the cloud. Additionally, the install method uses a `curl ... | sh` pattern, creating a significant supply-chain code execution risk unless integrity verification is in place. Treat this as security-critical despite the lack of direct malicious payload indicators in the snippet.

Confidence: 45%Severity: 75%
SecurityMEDIUM
run.py

This module contains a highly dangerous capability: when invoked with non-interactive stdin, it starts/ensures a daemon and then executes arbitrary Python code read directly from standard input via exec(sys.stdin.read()) with full process privileges. Even if intended for legitimate harness/testing, this is effectively an unrestricted runtime code execution primitive and represents substantial supply-chain/security risk unless invocation is tightly controlled and the stdin source is fully trusted.

Confidence: 72%Severity: 92%
Audit Metadata
Analyzed At
Aug 23, 2026, 04:09 PM
Package URL
pkg:socket/skills-sh/synthenova%2Fskills%2Fbrowser-harness%2F@240e16318f613a5b869f63c47e74e6b5a02879337c9ea5a07e80f782c45c2f3f