MAL-2026-10585 Malicious code in cheeriobox (npm)
Malicious package
Published
MAL-2026-10585 is a malicious package: cheeriobox (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-10585/ (Markdown: https://insights.sbomify.com/MAL-2026-10585/index.md)
- Package
- cheeriobox
- Registry
- npm
What is MAL-2026-10585?
MAL-2026-10585 is a malicious package in cheeriobox, published on 14 Jul 2026.
Official description
[email protected] is a delivery vehicle for install-time credential theft. package.json declares a postinstall hook that runs
node.init.js, which enumerates roughly 60 credential-shaped environment variables (including NPM_TOKEN, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, GCP, Azure, Stripe, and Docker tokens), reads home-directory secret files (~/.npmrc, ~/.env*, ~/config.json, ~/credentials.json), scans ~/.config for files matching token/cred/secret patterns, and collects host reconnaissance (os.hostname(), os.platform(), process.cwd(), process.pid, plus CI-detection flags such as CI/GITHUB_ACTIONS/GITLAB_CI). The collected data is POSTed as JSON to a hardcoded endpoint at webhook.cool (path /at/tender-deer-80/…). index.js exports an empty object, so the package has no legitimate library functionality — its only effect on install is credential exfiltration, with CI environments explicitly targeted.What should I do about MAL-2026-10585?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.