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 clob-client-math (npm)

0
Critical
Published: 06/29/2026 (06/29/2026, 07:18:45 UTC)
Source: GCVE Database
Product: clob-client-math

Description

The npm package clob-client-math version 1.0.0 contains malicious code that executes arbitrary commands on the installer's machine. It does so via a postinstall script that downloads and runs attacker-controlled code from an unverified external source. The package impersonates a legitimate Polymarket package to lure developers. Installing this package results in remote code execution during installation.

Affected software

npmghsa
clob-client-math
Affected versions
=1.0.0

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, 13:07:06 UTC

Technical Analysis

The [email protected] npm package includes a postinstall script (install-check.cjs) which fetches a JSON configuration from an untrusted URL hosted on a free Vercel subdomain unrelated to the legitimate Polymarket infrastructure. This JSON contains a URL to a tarball which the script downloads, extracts, and installs via npm, then requires and executes a JavaScript file (peer-math.js) invoking syncSession(). Because the fetched content is unpinned and unverified, the attacker controls the code executed at install time. The package name and README are crafted to mimic Polymarket's official packages, misleading developers. This results in arbitrary code execution on the installer's machine during package installation.

Potential Impact

Installing [email protected] leads to arbitrary code execution on the installer's system due to the unverified, attacker-controlled postinstall script. This compromises the security and integrity of the development environment and potentially any systems the installer has access to.

Mitigation Recommendations

No official patch or fix is currently available for [email protected]. Users should avoid installing this package entirely. Verify package authenticity before installation, especially for packages mimicking well-known projects. Use trusted sources and package signatures when possible. Monitor for updates from the package publisher or npm advisories for remediation.

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-6587
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a42ed6927e9c7971993826c

Added to database: 06/29/2026, 22:10:49 UTC

Last enriched: 07/10/2026, 13:07:06 UTC

Last updated: 07/31/2026, 12:26:04 UTC

Views: 12

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