story-short-scan
Audited by Socket on Aug 20, 2026
2 alerts found:
Anomalyx2No classic malware primitives (no persistence, shell, filesystem damage, or external exfiltration beyond the intended API endpoints) are evident in this module. However, it performs highly sensitive behavior: it extracts a privileged Admin-Token directly from a user’s logged-in browser session using CDP/evalJSON (credential harvesting pattern) and reuses that token for authenticated management API calls. This creates a significant supply-chain/security concern if the package were repurposed, run in an unexpected context, or if the token is more broadly scoped than intended. Main risks: token/session misuse, dependence on dynamic browser-context evalJSON, and writing untrusted remote content into local Markdown output.
No direct evidence of overt malicious behavior (e.g., network exfiltration, persistence, credential theft) exists in this fragment. However, the module intentionally provides an “eval” channel by base64-encoding and forwarding caller-provided JavaScript to a spawned agent-browser, creating a high-impact execution primitive if inputs are not strictly trusted. On Windows, it also resolves execution via PATH-discovered agent-browser.cmd contents, increasing the risk of executing a substituted/malicious wrapper in compromised environments. Treat this module as security-sensitive and enforce strict trust boundaries on js/args and on PATH/executable resolution.