MAL-2026-10588 Malicious code in momenntjs (npm)
Malicious package
Published
MAL-2026-10588 is a malicious package: momenntjs (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-10588/ (Markdown: https://insights.sbomify.com/MAL-2026-10588/index.md)
- Package
- momenntjs
- Registry
- npm
What is MAL-2026-10588?
MAL-2026-10588 is a malicious package in momenntjs, published on 14 Jul 2026.
Official description
momenntjs is a typosquat of momentjs whose package.json postinstall hook runs
node.init.js. On npm install,.init.js enumerates roughly 60 credential-shaped environment variables (including NPM_TOKEN, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, STRIPE_, DB_PASSWORD, SSH_KEY, GCP/AZURE/Cloudflare tokens, and TWINE credentials) and reads home-directory credential files including ~/.npmrc, ~/.env, config/credentials.json, and files under ~/.config matching token/cred/secret patterns. It also collects host identifiers (os.hostname(), os.platform(), process.cwd(), process.pid) and POSTs the combined JSON payload to a hardcoded webhook.cool inbox at tender-deer-80. The package provides no legitimate functionality matching its name.What should I do about MAL-2026-10588?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.