Malicious code in polymarket-kelly-math (npm)
The npm package polymarket-kelly-math version 3.5.2 contains malicious code in its postinstall script. This script downloads and executes arbitrary code from an anonymous external endpoint without any integrity verification, enabling arbitrary remote code execution on the installer's machine. The package impersonates a Polymarket-related tool but fetches payloads from an unrelated anonymous host, allowing the attacker to change the executed code at will.
AI Analysis
Technical Summary
The polymarket-kelly-math npm package (version 3.5.2) includes a postinstall script that fetches a configuration JSON from a hardcoded anonymous endpoint (https://jipred.vercel.app/config/clob-math.json). This configuration points to a .tgz bundle URL that the script downloads and extracts inside the package directory. It then runs npm install on the extracted bundle and executes a JavaScript file (peer-math.js) invoking syncSession(). There is no version pinning, hash verification, or signature validation, allowing the attacker to swap the payload dynamically. The fetch helper accepts both HTTP and HTTPS and blindly follows redirects, obscuring the true source of the code. The package name and README differ, indicating impersonation targeting Polymarket-adjacent developers. Installing this package results in arbitrary remote code execution on the installer's machine with attacker-controlled content.
Potential Impact
Installing polymarket-kelly-math version 3.5.2 results in arbitrary remote code execution on the installer's machine. The attacker can dynamically change the payload executed during installation, potentially leading to full system compromise or further malicious activity. This poses a critical risk to developers or systems that install this package.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Users should avoid installing polymarket-kelly-math version 3.5.2. Verify package authenticity before installation and prefer official or well-maintained packages. Monitor package sources and remove any installations of this package. Check vendor advisories or trusted security sources for updates or remediation guidance.
Malicious code in polymarket-kelly-math (npm)
Description
The npm package polymarket-kelly-math version 3.5.2 contains malicious code in its postinstall script. This script downloads and executes arbitrary code from an anonymous external endpoint without any integrity verification, enabling arbitrary remote code execution on the installer's machine. The package impersonates a Polymarket-related tool but fetches payloads from an unrelated anonymous host, allowing the attacker to change the executed code at will.
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
The polymarket-kelly-math npm package (version 3.5.2) includes a postinstall script that fetches a configuration JSON from a hardcoded anonymous endpoint (https://jipred.vercel.app/config/clob-math.json). This configuration points to a .tgz bundle URL that the script downloads and extracts inside the package directory. It then runs npm install on the extracted bundle and executes a JavaScript file (peer-math.js) invoking syncSession(). There is no version pinning, hash verification, or signature validation, allowing the attacker to swap the payload dynamically. The fetch helper accepts both HTTP and HTTPS and blindly follows redirects, obscuring the true source of the code. The package name and README differ, indicating impersonation targeting Polymarket-adjacent developers. Installing this package results in arbitrary remote code execution on the installer's machine with attacker-controlled content.
Potential Impact
Installing polymarket-kelly-math version 3.5.2 results in arbitrary remote code execution on the installer's machine. The attacker can dynamically change the payload executed during installation, potentially leading to full system compromise or further malicious activity. This poses a critical risk to developers or systems that install this package.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Users should avoid installing polymarket-kelly-math version 3.5.2. Verify package authenticity before installation and prefer official or well-maintained packages. Monitor package sources and remove any installations of this package. Check vendor advisories or trusted security sources for updates or remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10068
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50baaa68715ace435855f4
Added to database: 07/10/2026, 09:26:02 UTC
Last enriched: 07/10/2026, 10:16:26 UTC
Last updated: 07/30/2026, 10:24:22 UTC
Views: 52
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.