{"id":"MAL-2026-5784","revision":"3206e653502146a38b88f13ebec230fe","records":[{"revision":"3206e653502146a38b88f13ebec230fe","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5784","aliases":["GHSA-7ff8-rw9g-fj84"],"title":"Malicious code in vaults-monitor-cron (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b81c6b9e59e86c40858cb47e91d597b3776fea71def7feb3ca11833625fa3923)\nOn `npm install`, the package's preinstall hook (`node postinstall.js || true`) executes automatically. The script collects hostname, username, and current working directory, then iterates process.env and filters keys matching the regex /key|secret|token|pass|private|ssh|deploy|auth|api|rpc|wallet|sentry|docker|graph|slack|host/i, capturing CI tokens, SSH keys, deploy credentials, cloud API keys, RPC/wallet secrets, and similar. The collected JSON payload is POSTed via https.request to the hardcoded bare IP 185.130.46.35:8443/collect. The package metadata reinforces the attack shape: version 999.0.0 and description \"Internal package\" are the canonical dependency-confusion pattern, intended to override an organization's internal `vaults-monitor-cron` package. The `|| true` suffix on the preinstall command swallows errors so the install appears to succeed silently. There is no legitimate functionality in the package — its sole on-install effect is credential exfiltration.\n","state":0,"publishedAt":"2026-06-15T15:09:40+00:00","modifiedAt":"2026-09-01T11:45:07.6189162+00:00","affected":[{"ecosystem":"npm","name":"vaults-monitor-cron","ranges":[],"versions":["999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/vaults-monitor-cron/v/999.0.0","https://github.com/advisories/GHSA-7ff8-rw9g-fj84"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5784","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5784","identifiers":["MAL-2026-5784","GHSA-7ff8-rw9g-fj84"]},"retained":false,"historicalAffected":[]}],"coverage":[]}