{"id":"MAL-2026-5785","revision":"c6181219972b4d24a90986ea8a544778","records":[{"revision":"c6181219972b4d24a90986ea8a544778","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5785","aliases":["GHSA-wx43-hfx3-xw46"],"title":"Malicious code in ve-hemi-rewards (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a8252216c6621e6391775d34f5e32815ab8c2a830df080fed52113b4cf855aa1)\nOn `npm install`, the package's preinstall lifecycle invokes postinstall.js, which collects hostname, username, and current working directory, then iterates process.env and filters keys against the regex /key|secret|token|pass|private|ssh|deploy|auth|api|rpc|wallet|sentry|docker|graph|slack|host/i. The matching key/value pairs (CI tokens, cloud credentials, SSH/deploy keys, RPC and wallet secrets, etc.) are JSON-serialized and POSTed over HTTPS to a hardcoded bare IP, 185.130.46.35:8443/collect. The package name 've-hemi-rewards' at version 999.0.0 with description 'Internal package' is a classic dependency-confusion shape — a high-version stub published to the public registry to override resolution of an organization's private package of the same name. There is no legitimate functionality; the package exists to harvest installer secrets.\n","state":0,"publishedAt":"2026-06-15T15:09:15+00:00","modifiedAt":"2026-09-01T11:45:08.0711223+00:00","affected":[{"ecosystem":"npm","name":"ve-hemi-rewards","ranges":[],"versions":["999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ve-hemi-rewards/v/999.0.0","https://github.com/advisories/GHSA-wx43-hfx3-xw46"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5785","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5785","identifiers":["MAL-2026-5785","GHSA-wx43-hfx3-xw46"]},"retained":false,"historicalAffected":[]}],"coverage":[]}