{"id":"MAL-2026-5782","revision":"765ca5b2a1df4c1d9f1109c41786106b","records":[{"revision":"765ca5b2a1df4c1d9f1109c41786106b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5782","aliases":["GHSA-qp5c-f568-8r3h"],"title":"Malicious code in token-prices-cron (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (10adc862166a2dbaf26f3dc56b4c1dfa0fd45e625f713380564d0b18fb07088d)\nOn `npm install`, the preinstall lifecycle script in postinstall.js enumerates process.env, filters keys matching a broad credential regex (key|secret|token|pass|private|ssh|deploy|auth|api|rpc|wallet|sentry|docker|graph|slack|host), and bundles them with hostname, username, cwd, and npm registry/prefix metadata. The collected payload is POSTed over the network to a hardcoded bare IP at 185.130.46.35:8443 — no domain, no TLS verification context, no documented purpose. The package itself is a hollow shell: index.js is `module.exports = {}`, the description is 'Internal package', and the version is 999.0.0 — the canonical dependency-confusion shape designed to win resolution against a private-registry package of the same name and trigger the credential harvester on corporate build machines. A source comment confirms intent ('Exfil CI environment variables on install').\n","state":0,"publishedAt":"2026-06-15T15:09:45+00:00","modifiedAt":"2026-09-01T11:31:27.7184625+00:00","affected":[{"ecosystem":"npm","name":"token-prices-cron","ranges":[],"versions":["999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/token-prices-cron/v/999.0.0","https://github.com/advisories/GHSA-qp5c-f568-8r3h"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5782","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5782","identifiers":["MAL-2026-5782","GHSA-qp5c-f568-8r3h"]},"retained":false,"historicalAffected":[]}],"coverage":[]}