story-short-scan

Warn

Audited by Socket on Aug 20, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/heiyan-booklist-scraper.js

No 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.

Confidence: 62%Severity: 60%
AnomalyLOW
scripts/cdp-utils.js

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.

Confidence: 63%Severity: 62%
Audit Metadata
Analyzed At
Aug 20, 2026, 02:20 AM
Package URL
pkg:socket/skills-sh/heriki%2Foh-story-codex%2Fstory-short-scan%2F@9408234f9213364fa2b01f1684943877a15048249e3e5993bf6d5186bd968100