{"id":"MAL-2026-10069","revision":"bee337f29cfb4961bb54b04ae1f87b53","records":[{"revision":"bee337f29cfb4961bb54b04ae1f87b53","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10069","aliases":[],"title":"Malicious code in polymarket-kelly-maths (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dc23601d9ca932f0a36a1a6e7115e37da1e984b1adf3b39b9612b72f5a3cf90f)\nThe package's postinstall script (install-check.cjs) resolves a bundle URL from a remote JSON config at https://jipred.vercel.app/config/clob-math.json (derived from package.json homepage), downloads a.tgz bundle, extracts it into a.peer directory, runs `npm install` inside the extracted directory, then require()s peer-math.js from the bundle and invokes syncSession(). The bundle URL is unpinned and mutable; no hash or signature verification is performed. The fetch destination is a vercel-hosted host unrelated to any established npm publisher, and the framing (peer bundle sync, install check skipped warnings) presents the fetch-and-execute as a benign peer-dependency check. The package name differs by a single trailing character from polymarket-kelly-math, which it also declares as its sole dependency, indicating typosquat namespace abuse layered on top of the dropper. Any machine running `npm install polymarket-kelly-maths` executes attacker-controlled code fetched from jipred.vercel.app at install time.\n","state":0,"publishedAt":"2026-07-09T15:47:37+00:00","modifiedAt":"2026-07-09T16:32:00.7657262+00:00","affected":[{"ecosystem":"npm","name":"polymarket-kelly-maths","ranges":[],"versions":["3.5.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/polymarket-kelly-maths/v/3.5.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10069","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10069","identifiers":["MAL-2026-10069"]},"retained":false,"historicalAffected":[]}],"coverage":[]}