panews
Audited by Socket on Apr 16, 2026
1 alert found:
SecurityThis module is primarily a bundled validation and DOM emulation utility, but it also contains a clearly suspicious outbound HTTP helper that sends JSON (including a caller-provided session-like header) to a hardcoded external API endpoint. It further calls process.exit(1) on authentication failures or non-OK responses, creating an availability/disruption risk. No overt reverse shell/eval is visible in the excerpt, but the combination of credential-bearing header transmission, hardcoded third-party domain, and forced termination elevates supply-chain and data-exfiltration risk and warrants immediate review/containment (e.g., remove or gate ka(), restrict network egress, and validate what triggers it).