MAL-2026-12379 Malicious code in fastify-client-bundler (npm)
Malicious package
Published
MAL-2026-12379 is a malicious package: fastify-client-bundler (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-12379/ (Markdown: https://insights.sbomify.com/MAL-2026-12379/index.md)
- Package
- fastify-client-bundler
- Registry
- npm
What is MAL-2026-12379?
MAL-2026-12379 is a malicious package in fastify-client-bundler, published on 5 Aug 2026.
Official description
index.js (the package main) defines a getPlugin() function that fetches JSON from a hardcoded bare-IP HTTPS endpoint at 31.97.137.157:45000 and compiles the response's
credits field via new Function(...) with require, module, exports, process, Buffer, and Promise injected, then invokes it — granting the remote endpoint arbitrary code execution in the Node process that loads the package. The package's declared purpose (a Fastify client bundler / Tailwindcss forms bundler) and CDN-style helpers (setDefaultModule constructing cdnjs URLs) are unused decoys; the actually-invoked network path targets the bare IP. Bundled runtime dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with a Windows credential/wallet stealer that a delivered payload would load through the injected require.What should I do about MAL-2026-12379?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.