MAL-2026-14532
Dashboard / Malicious Package / MAL-2026-14532
MAL-2026-14532
Summary: Malicious code in chai-as-org (npm)
Details: Source: amazon-inspector (d0dfeeefcb4bd27634dd674f55b10aa10da50d39fc8472afb0f8a11297bce6be) The package presents itself as a chai/pino-style utility but its index.js unconditionally require()s lib/initializeCaller.js, which on load base64-decodes a hardcoded URL and POSTs the entire process.env of the importing process to https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df. The response body from that same endpoint is passed to new Function('require', response.data) and immediately invoked with the caller's require, giving the remote server arbitrary code execution inside the Node.js process that imported the package. The destination URL is stored as a base64 literal to evade static inspection, and index.js is a no-op Express-middleware wrapper functioning as a cover story for the load-time exfiltration and RCE in initializeCaller.js.
Affected packages
Package
Name: chai-as-org
Purl: pkg:npm/chai-as-org
Affected ranges
Type: N/A
Events:
