Malicious code in polymarket-kelly-maths (npm)
The polymarket-kelly-maths npm package version 3.5.3 contains malicious code executed during installation. Its postinstall script fetches and runs attacker-controlled code from an untrusted, mutable URL without verification. The package name is a typosquat variant of a legitimate package, leading to potential accidental installation of this malicious package.
AI Analysis
Technical Summary
The polymarket-kelly-maths package (version 3.5.3) includes a postinstall script that downloads a tarball from a remote JSON configuration hosted on an unrelated Vercel domain. This tarball is extracted and installed without integrity checks, and malicious code is executed via require() and invocation of syncSession(). The package name closely resembles a legitimate package (polymarket-kelly-math), indicating typosquatting combined with a dropper mechanism. This results in arbitrary code execution during npm install of this package.
Potential Impact
Any system running 'npm install polymarket-kelly-maths' version 3.5.3 will execute attacker-controlled code at install time, potentially compromising the system or environment. The unpinned, mutable remote resource and lack of signature verification increase the risk of supply chain compromise. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing polymarket-kelly-maths version 3.5.3 and verify package names carefully to avoid typosquatting. Monitor vendor advisories or npm security notices for updates or removal of the malicious package. Consider using package integrity verification tools and lockfiles to prevent installation of untrusted packages.
Malicious code in polymarket-kelly-maths (npm)
Description
The polymarket-kelly-maths npm package version 3.5.3 contains malicious code executed during installation. Its postinstall script fetches and runs attacker-controlled code from an untrusted, mutable URL without verification. The package name is a typosquat variant of a legitimate package, leading to potential accidental installation of this malicious package.
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-maths package (version 3.5.3) includes a postinstall script that downloads a tarball from a remote JSON configuration hosted on an unrelated Vercel domain. This tarball is extracted and installed without integrity checks, and malicious code is executed via require() and invocation of syncSession(). The package name closely resembles a legitimate package (polymarket-kelly-math), indicating typosquatting combined with a dropper mechanism. This results in arbitrary code execution during npm install of this package.
Potential Impact
Any system running 'npm install polymarket-kelly-maths' version 3.5.3 will execute attacker-controlled code at install time, potentially compromising the system or environment. The unpinned, mutable remote resource and lack of signature verification increase the risk of supply chain compromise. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing polymarket-kelly-maths version 3.5.3 and verify package names carefully to avoid typosquatting. Monitor vendor advisories or npm security notices for updates or removal of the malicious package. Consider using package integrity verification tools and lockfiles to prevent installation of untrusted packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10069
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50baaa68715ace43585606
Added to database: 07/10/2026, 09:26:02 UTC
Last enriched: 07/10/2026, 10:16:52 UTC
Last updated: 07/31/2026, 01:03:49 UTC
Views: 31
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.