{"id":"MAL-2026-12032","revision":"5dbb5dc0e665461faa671ed4ff1f7848","records":[{"revision":"5dbb5dc0e665461faa671ed4ff1f7848","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12032","aliases":[],"title":"Malicious code in add-two-numbers-x7q9m (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (550dfc48a74577d95e53fc64cc296a9cc59a5940edb6eac3f191f41376350635)\nThe package advertises itself as a trivial 'add two numbers' utility but its preinstall lifecycle script enumerates the installer's Desktop directory, reads.txt files, applies a regex (/npm_[A-Za-z0-9_-]+/) to extract npm authentication tokens, and transmits any match as a query parameter to the hardcoded endpoint https://lively-bird-15.webhook.cool. This runs automatically on `npm install`. The behavior has no relation to the package's advertised arithmetic functionality, and the random name suffix is consistent with a disposable malicious-publish account. Harvested npm tokens enable registry account takeover and downstream supply-chain propagation via the victim's publish rights.\n","state":0,"publishedAt":"2026-08-05T01:00:50+00:00","modifiedAt":"2026-08-05T14:35:11.5721625+00:00","affected":[{"ecosystem":"npm","name":"add-two-numbers-x7q9m","ranges":[],"versions":["1.0.0","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/add-two-numbers-x7q9m/v/1.0.0","https://www.npmjs.com/package/add-two-numbers-x7q9m/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12032","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12032","identifiers":["MAL-2026-12032"]},"retained":false,"historicalAffected":[]}],"coverage":[]}