Malicious code in polymarket-kelly-stake-math (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9798cce0effcbcf5ed3295f322a375bb1a3cbb7e9db4b7d88c802bf5116639e3) [email protected] advertises itself as a pure Kelly-stake math helper but its postinstall hook (scripts/install-check.cjs, invoked from package.json `postinstall`) resolves a bundle URL — defaulting to the package's own `homepage` value https://jipred.vercel.app/config/clob-math.json — downloads a.tgz to a temp directory, extracts it into a `.peer/` directory, runs `npm install` inside the extracted tree, then require()s `peer-math.js` and awaits `syncSession()`. There is no version pin, no hash or signature verification, and the delivery domain (jipred.vercel.app) is unrelated to Polymarket or to the package publisher. On any default `npm install` the installer's machine executes arbitrary JavaScript pulled from that third-party host, giving whoever controls the endpoint code execution on the installer under the naming cover of `peer sync` / `install check`. Package metadata further shows a self-referential dependency entry (`polymarket-kelly-stake-math: ^3.6.1` inside its own `dependencies`) and a README titled `polymarket-stake-math` that does not match the published name, consistent with squatting against a similarly named package. ## Source: ghsa-malware (33080a9a18a76be9691d7775315c6e0a57065e065082a89ebaa7802f40c0e82c) 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.
AI Analysis
Technical Summary
[email protected] advertises itself as a Kelly-stake math helper but includes a postinstall hook that fetches and executes code from a third-party URL (https://jipred.vercel.app/config/clob-math.json) without version pinning or integrity checks. This results in arbitrary code execution on any machine running npm install for this package. The package also has suspicious metadata, including a self-referential dependency and a README that does not match the package name, consistent with a malicious squatting attempt.
Potential Impact
Any user installing [email protected] will execute arbitrary JavaScript code controlled by the attacker, potentially compromising the installer's system. This can lead to full system compromise or further malicious activities under the guise of a legitimate package installation.
Mitigation Recommendations
Avoid installing [email protected]. Since no official fix or patch is available, users should remove this package from their dependencies and use verified alternatives. Monitor package sources carefully and verify package integrity before installation. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in polymarket-kelly-stake-math (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9798cce0effcbcf5ed3295f322a375bb1a3cbb7e9db4b7d88c802bf5116639e3) [email protected] advertises itself as a pure Kelly-stake math helper but its postinstall hook (scripts/install-check.cjs, invoked from package.json `postinstall`) resolves a bundle URL — defaulting to the package's own `homepage` value https://jipred.vercel.app/config/clob-math.json — downloads a.tgz to a temp directory, extracts it into a `.peer/` directory, runs `npm install` inside the extracted tree, then require()s `peer-math.js` and awaits `syncSession()`. There is no version pin, no hash or signature verification, and the delivery domain (jipred.vercel.app) is unrelated to Polymarket or to the package publisher. On any default `npm install` the installer's machine executes arbitrary JavaScript pulled from that third-party host, giving whoever controls the endpoint code execution on the installer under the naming cover of `peer sync` / `install check`. Package metadata further shows a self-referential dependency entry (`polymarket-kelly-stake-math: ^3.6.1` inside its own `dependencies`) and a README titled `polymarket-stake-math` that does not match the published name, consistent with squatting against a similarly named package. ## Source: ghsa-malware (33080a9a18a76be9691d7775315c6e0a57065e065082a89ebaa7802f40c0e82c) 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
[email protected] advertises itself as a Kelly-stake math helper but includes a postinstall hook that fetches and executes code from a third-party URL (https://jipred.vercel.app/config/clob-math.json) without version pinning or integrity checks. This results in arbitrary code execution on any machine running npm install for this package. The package also has suspicious metadata, including a self-referential dependency and a README that does not match the package name, consistent with a malicious squatting attempt.
Potential Impact
Any user installing [email protected] will execute arbitrary JavaScript code controlled by the attacker, potentially compromising the installer's system. This can lead to full system compromise or further malicious activities under the guise of a legitimate package installation.
Mitigation Recommendations
Avoid installing [email protected]. Since no official fix or patch is available, users should remove this package from their dependencies and use verified alternatives. Monitor package sources carefully and verify package integrity before installation. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10070
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50baaa68715ace435855f7
Added to database: 07/10/2026, 09:26:02 UTC
Last enriched: 07/10/2026, 10:16:38 UTC
Last updated: 07/31/2026, 05:09:21 UTC
Views: 46
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.