last30days

Fail

Audited by Socket on Aug 10, 2026

7 alerts found:

Securityx2Anomalyx3Malwarex2
SecurityMEDIUM
scripts/lib/env.py

No explicit malicious payload (e.g., exec/eval, reverse shell, obvious exfiltration to attacker-controlled domains) is visible in this fragment. The primary security concern is the optional harvesting of local browser authentication cookies and their conversion into authentication token variables for downstream use, which is a high-sensitivity credential access pattern. Additionally, secrets are broadly loaded and propagated via the returned config dict, and there is at least one service check using a configurable (default HTTP) base URL. Due to dynamic imports and truncation of the provided code, confidence is limited, but the credential-capture behavior warrants careful review—especially of cookie_extract and downstream consumers of the injected tokens.

Confidence: 56%Severity: 72%
AnomalyLOW
scripts/lib/setup_wizard.py

This code does not show overt malware behavior (no backdoor/persistence/exec payloads), but it performs high-sensitivity actions: harvesting browser cookies via an internal cookie extraction routine, auto-installing yt-dlp using Homebrew, initiating GitHub authentication (PAT or device flow) and sending tokens/codes to a remote service at api.scrapecreators.com to retrieve an API key, and copying/displaying authorization codes. These are legitimate-seeming setup/auth mechanics but represent meaningful supply-chain/privacy/security risk and should be reviewed in context (especially the cookie_extract implementation and any remaining code after the truncated return).

Confidence: 64%Severity: 55%
MalwareHIGH
scripts/lib/cookie_extract.py

This module implements sensitive browser cookie harvesting: it locates local Firefox profiles (including Windows Firefox profiles when running under WSL), copies cookies.sqlite to a temporary file, queries moz_cookies for caller-specified domain and cookie names, and returns the resulting cookie values to the caller. The behavior is strongly consistent with session/cookie theft capability. No obfuscation or stealth techniques are evident in the shown code, but the functionality itself presents an extremely high security risk and is likely malicious in most threat models.

Confidence: 82%Severity: 97%
MalwareHIGH
scripts/lib/chrome_cookies.py

This module implements a complete workflow to harvest macOS Chrome cookie secrets: it reads the local Chrome Cookies database, extracts the Chrome Safe Storage passphrase from the macOS Keychain, derives a decryption key, decrypts `v10`-encrypted cookie values using OpenSSL, and returns plaintext cookies to the caller. Even without any network exfiltration shown here, returning decrypted authentication/session material is highly dangerous and aligns strongly with credential/session theft. Cleanup may be incomplete due to the truncated fragment.

Confidence: 70%Severity: 95%
SecurityMEDIUM
scripts/lib/vendor/bird-search/lib/cookies.js

This module is a high-sensitivity credential-handling component: it specifically reads Twitter/X session cookies (auth_token and ct0) from environment variables or from local browser cookie stores (via a third-party helper) and then constructs and returns an HTTP Cookie header containing those secrets. While it shows no direct exfiltration or malicious payload execution within this snippet, the capability to harvest authentication material is inherently dangerous if misused or if the dependency/downstream request handling is compromised. The dynamic import of @steipete/sweet-cookie adds supply-chain execution risk. Review downstream usage of the returned cookieHeader and ensure strict protection of logs, telemetry, and network destinations.

Confidence: 68%Severity: 72%
AnomalyLOW
scripts/lib/safari_cookies.py

This code is a macOS Safari cookie extractor: it reads the user’s Cookies.binarycookies file, parses structured binary records, and returns selected cookie values (potentially highly sensitive session/auth material) to the caller. In the shown fragment there is no direct exfiltration or execution capability, but it provides a clear capability commonly used for credential/session harvesting. The snippet also appears truncated at the end (`return resul`), reducing certainty about exact runtime behavior in this provided file.

Confidence: 66%Severity: 62%
AnomalyLOW
scripts/lib/vendor/bird-search/lib/twitter-client-base.js

No clear malware behaviors are evident in this fragment (no eval/dynamic execution, no local persistence, and no explicit data exfiltration beyond normal HTTP requests). However, there is a significant security anomaly: getBaseHeaders() hardcodes an Authorization Bearer token in addition to accepting/storing user-provided auth cookies and CSRF token, which materially increases credential exposure and supply-chain risk. The module also suppresses errors during query-id refresh, which can reduce operational transparency. Because the snippet is incomplete beyond ensureClientUserId(), full determination of destinations and how responses are handled is not possible here.

Confidence: 61%Severity: 60%
Audit Metadata
Analyzed At
Aug 10, 2026, 01:29 PM
Package URL
pkg:socket/skills-sh/the-utopia-studio%2Fskills%2Flast30days%2F@653aeefbb8dbd84fab2b24b5ef740dbb3d20d4b583e1671356c8bddcff21ace5
Security Audit — socket — last30days