MAL-2026-18324 Malicious code in publish-poc-test3 (npm)
Malicious package
Published
MAL-2026-18324 is a malicious package: publish-poc-test3 (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-18324/ (Markdown: https://insights.sbomify.com/MAL-2026-18324/index.md)
- Package
- publish-poc-test3
- Registry
- npm
What is MAL-2026-18324?
MAL-2026-18324 is a malicious package in publish-poc-test3, published on 26 Oct 2026.
Official description
The package's postinstall lifecycle script creates a temporary directory, writes a fabricated package.json whose name is 'publish-poc-found-<random-hex>' (random suffix derived via 'openssl rand -hex 2'), and then invokes 'npm publish' from that directory. The literal string 'npm publish' is reconstructed at runtime by concatenating three fragments ('np', 'm pu', 'blish') through printf, specifically to prevent manifest and string scanners from matching the command. The publish runs against the public npm registry using whatever npm authentication context the installing environment currently has (an _authToken from ~/.npmrc, NPM_TOKEN / NODE_AUTH_TOKEN in the environment, or an active CI publish identity), so running 'npm install' of this package on a developer workstation or CI host that holds publish rights causes a new attacker-named package to be published under the installer's npm identity. The combination of credential abuse at install time, randomized attacker-chosen package naming, and deliberate obfuscation of the exact command performing the publish is characteristic registry self-propagation / worm behavior.
What should I do about MAL-2026-18324?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.