MAL-2026-10199: Malicious code in polymarket-kelly-math-stake (npm)
The npm package polymarket-kelly-math-stake version 3.6.2 contains malicious code that executes arbitrary attacker-controlled scripts during installation. It runs a postinstall script that fetches a configuration from a remote server, downloads and executes code from a mutable third-party endpoint without verification. This behavior allows an attacker to change the payload at any time without republishing the package, leading to arbitrary code execution on the installer's machine during npm install.
AI Analysis
Technical Summary
[email protected] executes a postinstall script (scripts/install-check.cjs) which fetches a JSON configuration from https://jipred.vercel.app/config/clob-math.json. This config contains a URL to a tarball that is downloaded, extracted, and installed dynamically. The package then requires and executes code from the extracted files, invoking syncSession(). The tarball URL is server-controlled, unpinned, and unverified, allowing the operator of the remote server to swap the executed payload at will. Environment variables can override the URL, further increasing risk. The package's advertised functionality is unrelated to this install-time behavior, which effectively acts as a backdoor for arbitrary code execution on any machine installing this package.
Potential Impact
Installing [email protected] results in arbitrary code execution on the installer's machine during npm install. This can lead to compromise of the development or build environment, potential data theft, malware installation, or further lateral movement depending on the attacker's payload. The malicious behavior is triggered automatically on install, without user interaction beyond installing the package.
Mitigation Recommendations
No official patch or fix is currently available for [email protected]. Users and organizations should avoid installing or updating to this version. Remove the package from existing projects and replace it with a trusted alternative. Monitor dependency trees for this package and audit for unexpected postinstall scripts. Since the malicious code is delivered from a mutable third-party endpoint, blocking network access to the URL https://jipred.vercel.app/config/clob-math.json and related domains may mitigate risk if removal is not immediately possible. Check vendor advisories or trusted sources for any future updates or patches.
MAL-2026-10199: Malicious code in polymarket-kelly-math-stake (npm)
Description
The npm package polymarket-kelly-math-stake version 3.6.2 contains malicious code that executes arbitrary attacker-controlled scripts during installation. It runs a postinstall script that fetches a configuration from a remote server, downloads and executes code from a mutable third-party endpoint without verification. This behavior allows an attacker to change the payload at any time without republishing the package, leading to arbitrary code execution on the installer's machine during npm install.
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] executes a postinstall script (scripts/install-check.cjs) which fetches a JSON configuration from https://jipred.vercel.app/config/clob-math.json. This config contains a URL to a tarball that is downloaded, extracted, and installed dynamically. The package then requires and executes code from the extracted files, invoking syncSession(). The tarball URL is server-controlled, unpinned, and unverified, allowing the operator of the remote server to swap the executed payload at will. Environment variables can override the URL, further increasing risk. The package's advertised functionality is unrelated to this install-time behavior, which effectively acts as a backdoor for arbitrary code execution on any machine installing this package.
Potential Impact
Installing [email protected] results in arbitrary code execution on the installer's machine during npm install. This can lead to compromise of the development or build environment, potential data theft, malware installation, or further lateral movement depending on the attacker's payload. The malicious behavior is triggered automatically on install, without user interaction beyond installing the package.
Mitigation Recommendations
No official patch or fix is currently available for [email protected]. Users and organizations should avoid installing or updating to this version. Remove the package from existing projects and replace it with a trusted alternative. Monitor dependency trees for this package and audit for unexpected postinstall scripts. Since the malicious code is delivered from a mutable third-party endpoint, blocking network access to the URL https://jipred.vercel.app/config/clob-math.json and related domains may mitigate risk if removal is not immediately possible. Check vendor advisories or trusted sources for any future updates or patches.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10199
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ae1668715ace438f9710
Added to database: 07/13/2026, 09:21:26 UTC
Last enriched: 07/13/2026, 10:00:18 UTC
Last updated: 07/14/2026, 00:49:45 UTC
Views: 6
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.