MAL-2026-10055 Malicious code in chain-chai-async (npm)
Malicious package
Published
MAL-2026-10055 is a malicious package: chain-chai-async (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-10055/ (Markdown: https://insights.sbomify.com/MAL-2026-10055/index.md)
- Package
- chain-chai-async
- Registry
- npm
What is MAL-2026-10055?
MAL-2026-10055 is a malicious package in chain-chai-async, published on 9 Jul 2026.
Official description
[email protected] impersonates the pino logging library (README badge links to npm/pino, exports
module.exports.pino = middleware, and ships files copied from the real pino source tree). Its exported middleware factory in index.js spawns lib/caller.js as a detached child node process with stdio ignored, decoupling the payload from the parent's lifecycle and suppressing its output. lib/caller.js issues an HTTPS GET to https://jsonkeeper.com/b/EXSIF, extracts the cookie field from the JSON response, and passes it to new Function.constructor('require', s)(require) — executing attacker-controlled JavaScript with full Node require access on any machine that loads and invokes the package. The remote source is a mutable, unauthenticated paste service, so the executed code can be swapped at any time by the attacker without republishing the package. Any consumer who installs this package believing it to be pino and calls its exported middleware will trigger arbitrary remote code execution on the host.What should I do about MAL-2026-10055?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-wqgh-vp7f-x5q6.