cookie-sync

Warn

Audited by Socket on Jul 19, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
EXAMPLES.md

The shown fragment is a straightforward remote-browser automation example that uses a WebSocket/CDP session authenticated via a provided API key and (implicitly) synced cookies/context. It drives navigation to sensitive authenticated sites and can capture screenshots, writing them to a local fixed path—capabilities that present a meaningful privacy/security risk if misused. No clear malware/backdoor behavior is demonstrated in the visible code (no obfuscation, eval/exec, destructive actions, or unexpected network calls), but risk remains moderate due to sensitive authenticated automation and the API key being transmitted in a query string. Confidence is limited because the actual cookie synchronization implementation is not present here.

Confidence: 55%Severity: 55%
AnomalyLOW
scripts/cookie-sync.mjs

This module appears to be a legitimate cookie synchronization tool, not an overt malware implant: it reads cookies from local Chrome via CDP and injects them into a Browserbase persistent context to replicate authenticated sessions. The primary risk is security impact from handling and remote transfer of sensitive session cookies (potential account takeover if misused). A secondary risk is that CDP_URL can cause an outbound fetch to a derived host for /json/version (SSRF-like outbound call surface limited to that endpoint). The code is plain (low obfuscation) and lacks typical malicious indicators, but it should be reviewed and used with strict operational controls (domain filtering, intended cloud context/account, and trusted CDP_URL inputs).

Confidence: 64%Severity: 52%
Audit Metadata
Analyzed At
Jul 19, 2026, 05:56 AM
Package URL
pkg:socket/skills-sh/browserbase%2Fagent-browse%2Fcookie-sync%2F@64598af1fc7175026db768da5c57b1dd0229ad4901a4fc71c5219599932f516d
Security Audit — socket — cookie-sync