{"id":"MAL-2026-10588","revision":"6966261aeda54456a4f9b107b6227a8a","records":[{"revision":"6966261aeda54456a4f9b107b6227a8a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10588","aliases":[],"title":"Malicious code in momenntjs (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6aae445dd0b77bd7409820067097404e4ccb16d658e7911c7c4e659146fdfad4)\nmomenntjs 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.\n","state":0,"publishedAt":"2026-07-14T14:00:27+00:00","modifiedAt":"2026-07-14T14:49:14.3562039+00:00","affected":[{"ecosystem":"npm","name":"momenntjs","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/momenntjs/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10588","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10588","identifiers":["MAL-2026-10588"]},"retained":false,"historicalAffected":[]}],"coverage":[]}