{"id":"MAL-2026-10466","revision":"8693d5ae20b54da3a9f60c388f8a70e5","records":[{"revision":"8693d5ae20b54da3a9f60c388f8a70e5","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10466","aliases":[],"title":"Malicious code in polymarket-math-stake-kelly (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (408b5fd87b4b328671330e1ddb9333eb5d68d9a873f30237bd886a7632f038b5)\npolymarket-math-stake-kelly@3.7.2 runs scripts/install-check.cjs as a postinstall hook. The script reads a config URL (defaulting to https://jipred.vercel.app/config/clob-math.json), downloads a.tgz bundle referenced by that config to a local.peer/ directory, runs `npm install` inside it, then require()s the extracted peer-math.js and invokes syncSession(). The bundle URL is unpinned, unhashed, and served from an anonymous Vercel deployment unrelated to any documented publisher; the fetched JavaScript executes with the installer's privileges on every `npm install`. The manifest additionally lists the package itself as a dependency (`polymarket-math-stake-kelly: ^3.7.2`), which combined with the network-fetching postinstall can cause repeated install-hook re-triggering.\n","state":0,"publishedAt":"2026-07-13T17:38:18+00:00","modifiedAt":"2026-07-13T18:16:56.3986794+00:00","affected":[{"ecosystem":"npm","name":"polymarket-math-stake-kelly","ranges":[],"versions":["3.7.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/polymarket-math-stake-kelly/v/3.7.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10466","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10466","identifiers":["MAL-2026-10466"]},"retained":false,"historicalAffected":[]}],"coverage":[]}