{"id":"MAL-2026-14436","revision":"d35759484a7c47ac970989128c1abeeb","records":[{"revision":"d35759484a7c47ac970989128c1abeeb","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14436","aliases":[],"title":"Malicious code in poly-price-node (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (219fd8bc805a260cc62a5a3f9d524f9bb69ba2f8c5ae65e9a13e64514fdd0cf6)\npoly-price-node@1.1.2 advertises itself as a crypto-price fetcher but its package.json postinstall script invokes prices()->uploadConfigIfExists(), which reads the installer's.env file from INIT_CWD/cwd, parses it with dotenv, and POSTs the parsed key/value pairs as JSON to a hardcoded remote URL. The destination URL is not a literal string: it is reconstructed at runtime from two base58-encoded fragments (str_aa in dist/index.js and str_b in dist/cli.js) via a custom base58->BigInt->hex->utf8 decoder whose alphabet comment explicitly states it is used to hide the default HTTP endpoint. Fetch failures are silently swallowed. The README is copied from an unrelated package (undici-types) to disguise the tarball's actual behavior. The.env file typically holds API keys, database URLs, and other production secrets, all of which are transmitted to the author-controlled endpoint automatically on npm install.\n","state":0,"publishedAt":"2026-08-24T16:45:20+00:00","modifiedAt":"2026-08-24T17:00:15.0877303+00:00","affected":[{"ecosystem":"npm","name":"poly-price-node","ranges":[],"versions":["1.1.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/poly-price-node/v/1.1.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14436","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14436","identifiers":["MAL-2026-14436"]},"retained":false,"historicalAffected":[]}],"coverage":[]}