{"id":"MAL-2026-5778","revision":"ae40b3a4f7f948d5ad519c002e25c65b","records":[{"revision":"ae40b3a4f7f948d5ad519c002e25c65b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5778","aliases":["GHSA-hjwc-fchg-m65q"],"title":"Malicious code in hemi-earn-actions (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a9c2a72c75e835bc78738de0839bd4727df93d6bcb8aed2215289973996c4f3c)\nOn `npm install`, the package's preinstall script (postinstall.js) collects host metadata (hostname, username, cwd, npm config) and iterates 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 credential-shaped variables. The resulting JSON payload is POSTed over HTTPS to a hardcoded bare-IP endpoint, https://185.130.46.35:8443/collect. The package itself has no functional API — index.js is `module.exports = {}` — and the version `999.0.0` plus the description 'Internal package' fit the dependency-confusion pattern aimed at organizations that resolve a private name `hemi-earn-actions` from the public registry. Installer harm is automatic credential exfiltration of CI/developer secrets to attacker-controlled infrastructure.\n","state":0,"publishedAt":"2026-06-15T15:09:30+00:00","modifiedAt":"2026-09-01T11:31:36.2181154+00:00","affected":[{"ecosystem":"npm","name":"hemi-earn-actions","ranges":[],"versions":["999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/hemi-earn-actions/v/999.0.0","https://github.com/advisories/GHSA-hjwc-fchg-m65q"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5778","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5778","identifiers":["MAL-2026-5778","GHSA-hjwc-fchg-m65q"]},"retained":false,"historicalAffected":[]}],"coverage":[]}