Malicious code in polymarket-math-stake-kelly (npm)
The npm package polymarket-math-stake-kelly version 3.7.2 contains malicious code executed during installation. Its postinstall script downloads and runs unverified JavaScript from an external URL with installer's privileges, potentially enabling arbitrary code execution. The package's manifest also lists itself as a dependency, which can cause repeated execution of the malicious install hook.
AI Analysis
Technical Summary
[email protected] executes a postinstall hook script that fetches a configuration file from an untrusted external source (https://jipred.vercel.app/config/clob-math.json). This configuration references a .tgz bundle downloaded and installed locally, then loaded and executed via require(), invoking syncSession(). The external bundle URL is unpinned and unhashed, served from an anonymous Vercel deployment unrelated to the package publisher, allowing arbitrary code execution with the privileges of the npm installer. Additionally, the package lists itself as a dependency, which can cause the postinstall hook to re-trigger repeatedly during installation.
Potential Impact
This behavior allows execution of arbitrary code during npm install with the privileges of the user running the installation. Because the external code source is unverified and controlled by an anonymous third party, this can lead to supply chain compromise, unauthorized code execution, and potential system compromise. The repeated install-hook re-triggering may amplify the impact or cause denial of service during installation.
Mitigation Recommendations
No official patch or fix is currently available for [email protected]. Users should avoid installing or using this package version. Review and audit dependencies for malicious postinstall scripts, and consider using package integrity verification tools or lockfiles to prevent untrusted code execution during npm installs. Monitor vendor advisories for updates or remediation guidance.
Malicious code in polymarket-math-stake-kelly (npm)
Description
The npm package polymarket-math-stake-kelly version 3.7.2 contains malicious code executed during installation. Its postinstall script downloads and runs unverified JavaScript from an external URL with installer's privileges, potentially enabling arbitrary code execution. The package's manifest also lists itself as a dependency, which can cause repeated execution of the malicious install hook.
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 hook script that fetches a configuration file from an untrusted external source (https://jipred.vercel.app/config/clob-math.json). This configuration references a .tgz bundle downloaded and installed locally, then loaded and executed via require(), invoking syncSession(). The external bundle URL is unpinned and unhashed, served from an anonymous Vercel deployment unrelated to the package publisher, allowing arbitrary code execution with the privileges of the npm installer. Additionally, the package lists itself as a dependency, which can cause the postinstall hook to re-trigger repeatedly during installation.
Potential Impact
This behavior allows execution of arbitrary code during npm install with the privileges of the user running the installation. Because the external code source is unverified and controlled by an anonymous third party, this can lead to supply chain compromise, unauthorized code execution, and potential system compromise. The repeated install-hook re-triggering may amplify the impact or cause denial of service during installation.
Mitigation Recommendations
No official patch or fix is currently available for [email protected]. Users should avoid installing or using this package version. Review and audit dependencies for malicious postinstall scripts, and consider using package integrity verification tools or lockfiles to prevent untrusted code execution during npm installs. Monitor vendor advisories for updates or remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10466
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ffb768715ace432facb1
Added to database: 07/14/2026, 09:21:59 UTC
Last enriched: 07/14/2026, 09:59:13 UTC
Last updated: 07/25/2026, 09:46:17 UTC
Views: 20
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.