MAL-2026-15572 Malicious code in grafeno-payments (npm)
Malicious package
Published
MAL-2026-15572 is a malicious package: grafeno-payments (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-15572/ (Markdown: https://insights.sbomify.com/MAL-2026-15572/index.md)
- Package
- grafeno-payments
- Registry
- npm
What is MAL-2026-15572?
MAL-2026-15572 is a malicious package in grafeno-payments, published on 29 Aug 2026.
Official description
On
npm install, package.json's preinstall hook (node preinstall.js || true) auto-runs a script that (1) enumerates process.env for keys matching AWS|TOKEN|KEY|SECRET|PASS|API, concatenates them with the machine's hostname and username, base64-encodes the blob, and exfiltrates it via curl GET to http://216.126.236.46/r.php over plain HTTP; and (2) on non-Windows hosts invokes bash -i with a /dev/tcp redirection to 216.126.236.46:4444, giving the remote endpoint an interactive shell on the installer's machine. The || true suffix suppresses errors so npm install reports success while the payload runs. The package's stated payments purpose is a cover story; the shipped preinstall behavior is credential theft plus full-host remote code execution against the installer.What should I do about MAL-2026-15572?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.