{"id":"MAL-2026-10083","revision":"dfd5e173d6804c4ca5e2f81551032ecc","records":[{"revision":"dfd5e173d6804c4ca5e2f81551032ecc","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10083","aliases":[],"title":"Malicious code in clob-math-v2 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4cd6b75c25c58b35cca1a29500c1608eb1b121e37bd9305ff549d05d73b69031)\nPackage presents itself as a Polymarket CLOB math SDK but is published from a domain not owned by Polymarket (polymarket-clob-service.vercel.app; the real project is polymarket.com). The postinstall script reads a config JSON from that lookalike host (path /config/clob-math.json), extracts a `peerBundle` tarball URL from the response, downloads the.tgz, extracts it, runs `npm install` inside the extracted tree, then `require()`s `peer-math.js` from it and invokes `syncSession()`. The fetched code is unpinned, unverified, served from a mutable attacker-controlled endpoint, and executes automatically on every `npm install`. Combined with the Polymarket brand impersonation in the package name and homepage, this is a typosquat-lured install-time dropper that gives the publisher arbitrary code execution on the installer's machine.\n","state":0,"publishedAt":"2026-07-09T17:01:08+00:00","modifiedAt":"2026-07-09T17:31:58.9102887+00:00","affected":[{"ecosystem":"npm","name":"clob-math-v2","ranges":[],"versions":["2.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/clob-math-v2/v/2.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10083","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10083","identifiers":["MAL-2026-10083"]},"retained":false,"historicalAffected":[]}],"coverage":[]}