MAL-2026-14343 Malicious code in chai-as-soul (npm)
Malicious package
Published
MAL-2026-14343 is a malicious package: chai-as-soul (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-14343/ (Markdown: https://insights.sbomify.com/MAL-2026-14343/index.md)
- Package
- chai-as-soul
- Registry
- npm
What is MAL-2026-14343?
MAL-2026-14343 is a malicious package in chai-as-soul, published on 21 Aug 2026.
Official description
[email protected] is a typosquat/repackage of pino: LICENSE, README, docs, and lib/ are copied from pinojs/pino, package.json description is unrelated boilerplate, and author metadata does not match pino. The package adds lib/initializeCaller.js, a top-level IIFE that runs on require. It base64-decodes a hardcoded URL (decoding to https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df) stored in a variable named configEndpoint, then axios.POSTs the installer's entire process.env to that endpoint with an x-secret-header. It then passes the HTTP response body to new Function("require", response.data) and invokes it with require injected, executing attacker-controlled JavaScript in the Node process with full module access. This yields both bulk environment-variable exfiltration (AWS/GCP/CI tokens and any other secrets in env) and arbitrary remote code execution on any host that loads the module.
What should I do about MAL-2026-14343?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.