Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in polymarket-kelly-math (npm)

0
Critical
Published: 07/09/2026 (07/09/2026, 15:48:13 UTC)
Source: GCVE Database
Product: polymarket-kelly-math

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

npmghsa
polymarket-kelly-math
Affected versions
=3.5.2

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

AILast updated: 07/10/2026, 10:16:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses