MAL-2026-10083: Malicious code in clob-math-v2 (npm)
The clob-math-v2 npm package version 2.0.1 is a malicious typosquatting package impersonating the Polymarket CLOB math SDK. It executes arbitrary code during installation by downloading and running unverified code from an attacker-controlled domain. This results in automatic code execution on the installer's machine without user consent.
AI Analysis
Technical Summary
The clob-math-v2 package (version 2.0.1) masquerades as a legitimate Polymarket SDK but is published from a domain not owned by Polymarket. Its postinstall script fetches a configuration JSON from a lookalike domain, extracts a tarball URL, downloads and extracts the tarball, runs npm install inside it, then requires and executes a JavaScript file that invokes a function. The fetched code is unpinned, unverified, and served from a mutable attacker-controlled endpoint, enabling arbitrary code execution on every npm install of this package. This is a typosquatting attack designed to trick users into installing malicious code under the guise of a trusted brand.
Potential Impact
Installation of clob-math-v2 version 2.0.1 results in arbitrary code execution on the installer's machine due to the unverified and attacker-controlled code fetched and executed during the npm install process. This compromises the security and integrity of the affected system.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Users should avoid installing clob-math-v2 version 2.0.1 and verify package authenticity before installation. Use official sources and verify package ownership to prevent typosquatting attacks. Consider removing the package if already installed.
MAL-2026-10083: Malicious code in clob-math-v2 (npm)
Description
The clob-math-v2 npm package version 2.0.1 is a malicious typosquatting package impersonating the Polymarket CLOB math SDK. It executes arbitrary code during installation by downloading and running unverified code from an attacker-controlled domain. This results in automatic code execution on the installer's machine without user consent.
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 clob-math-v2 package (version 2.0.1) masquerades as a legitimate Polymarket SDK but is published from a domain not owned by Polymarket. Its postinstall script fetches a configuration JSON from a lookalike domain, extracts a tarball URL, downloads and extracts the tarball, runs npm install inside it, then requires and executes a JavaScript file that invokes a function. The fetched code is unpinned, unverified, and served from a mutable attacker-controlled endpoint, enabling arbitrary code execution on every npm install of this package. This is a typosquatting attack designed to trick users into installing malicious code under the guise of a trusted brand.
Potential Impact
Installation of clob-math-v2 version 2.0.1 results in arbitrary code execution on the installer's machine due to the unverified and attacker-controlled code fetched and executed during the npm install process. This compromises the security and integrity of the affected system.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Users should avoid installing clob-math-v2 version 2.0.1 and verify package authenticity before installation. Use official sources and verify package ownership to prevent typosquatting attacks. Consider removing the package if already installed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10083
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba8c68715ace43581eb8
Added to database: 07/10/2026, 09:25:32 UTC
Last enriched: 07/10/2026, 10:06:57 UTC
Last updated: 07/10/2026, 10:06:57 UTC
Views: 2
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.