MAL-2026-17706 Malicious code in testrrrd (npm)
Malicious package
Published
MAL-2026-17706 is a malicious package: testrrrd (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-17706/ (Markdown: https://insights.sbomify.com/MAL-2026-17706/index.md)
- Package
- testrrrd
- Registry
- npm
What is MAL-2026-17706?
MAL-2026-17706 is a malicious package in testrrrd, published on 8 Oct 2026.
Official description
On
npm install, package.json scripts.postinstall runs node beacon.cjs, which POSTs a JSON payload containing the installer's hostname (os.hostname()), install path (__dirname), current working directory (process.cwd()), Node version, and package identifier over plain HTTP to the hardcoded bare-IP endpoint http://185.158.107.175:8787/_ah/dc. The same beacon is re-triggered at import time: index.js (the declared main) calls require('./beacon.cjs').fire() and then exports a Proxy whose get trap returns a no-op for any member access, so consumers importing arbitrary names from the package continue past the callback. The dual trigger ensures the callback fires even when lifecycle scripts are suppressed (e.g. npm install --ignore-scripts), and the Proxy shim conceals that the package provides no legitimate functionality. The destination is a bare IPv4 address on a non-standard port unrelated to any declared publisher, and the transport is unencrypted.What should I do about MAL-2026-17706?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.