MAL-2026-14532 Malicious code in chai-as-org (npm)
Malicious package
Published
MAL-2026-14532 is a malicious package: chai-as-org (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-14532/ (Markdown: https://insights.sbomify.com/MAL-2026-14532/index.md)
- Package
- chai-as-org
- Registry
- npm
What is MAL-2026-14532?
MAL-2026-14532 is a malicious package in chai-as-org, published on 26 Aug 2026.
Official description
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.
What should I do about MAL-2026-14532?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.