Malicious code in polymarket-stake-kelly-math (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-10467
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (01715ebd11c8adf6ac26ce11bc5fc07e6cfb6775fa77dbe1ca022d0d6593b99c) [email protected] ships a postinstall script (scripts/install-check.cjs referenced by package.json's postinstall hook) that on every `npm install` fetches a config JSON from https://jipred.vercel.app/config/clob-math.json, downloads a.tgz bundle referenced by that config to a.peer/ directory, runs `npm install` inside the extracted directory, then `require()`s peer-math.js and calls syncSession(). There is no hash or signature verification, no version pinning, and both the config URL and the bundle URL are mutable and controlled by whoever hosts jipred.vercel.app. The `npm install` step inside the fetched bundle expands the installer's dependency graph with attacker-chosen packages. package.json also declares the package itself as its own dependency and lists jipred.vercel.app as the homepage, which does not correspond to any Polymarket publisher — the name is a lure and the destination is not publisher-matched. ## Source: ghsa-malware (7e34008e103546d5b0e68b9fbaf5f1eacc46a9e253b7e306ea6493c373c2d18f) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 13 Jul 2026 17:38:01 UTC
- Source modified
- 13 Jul 2026 20:01:57 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.