{"id":"MAL-2026-5779","revision":"c3414839cd3146d086ff87990aa8f695","records":[{"revision":"c3414839cd3146d086ff87990aa8f695","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5779","aliases":["GHSA-49hx-4cwp-rqgh"],"title":"Malicious code in hemi-supply-cron (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c41be27601d38eb5c0b527a9ec22b7516734e8eae985a2607ae6d70878f5f1d9)\npackage.json declares a preinstall hook (`node postinstall.js`) that fires automatically on `npm install`. The script collects host identity (os.hostname(), os.userInfo().username, process.cwd()) and enumerates process.env, filtering keys against the regex /key|secret|token|pass|private|ssh|deploy|auth|api|rpc|wallet|sentry|docker|graph|slack|host/i to harvest any credential-shaped variables (AWS keys, SSH/deploy tokens, RPC/wallet secrets, API tokens, etc.). The collected JSON payload is HTTPS POSTed to the hardcoded bare IP 185.130.46.35:8443 at path /collect. The package has no library functionality — `index.js` exports an empty object — and is published at version 999.0.0, the canonical dependency-confusion shape used to override an internal package name with a higher public version. The package's sole purpose is to harvest installer/CI secrets.\n","state":0,"publishedAt":"2026-06-15T15:09:34+00:00","modifiedAt":"2026-09-01T11:31:32.6745738+00:00","affected":[{"ecosystem":"npm","name":"hemi-supply-cron","ranges":[],"versions":["999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/hemi-supply-cron/v/999.0.0","https://github.com/advisories/GHSA-49hx-4cwp-rqgh"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5779","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5779","identifiers":["MAL-2026-5779","GHSA-49hx-4cwp-rqgh"]},"retained":false,"historicalAffected":[]}],"coverage":[]}