MAL-2026-6556: Malicious code in polymarket-clob-math (npm)
The npm package polymarket-clob-math version 1.0.4 contains a malicious postinstall script that executes arbitrary attacker-controlled JavaScript code during installation. This script downloads and runs additional code from an untrusted external source unrelated to the legitimate publisher, effectively enabling remote code execution on the installer's machine. The package impersonates the Polymarket ecosystem to lure victims. Systems with this package installed should be considered fully compromised, and secrets should be rotated from a clean environment.
AI Analysis
Technical Summary
[email protected] includes a postinstall lifecycle script that fetches a JSON configuration from a non-publisher Vercel domain, downloads a tarball from a URL specified in that config, extracts and installs it, then executes code from the bundle. This process allows arbitrary code execution at install time. The package name and branding mimic the Polymarket CLOB ecosystem to deceive users. The fetched code is mutable, unhashed, and served from an unrelated domain, increasing risk. Installing this package results in full compromise of the host system.
Potential Impact
Installing [email protected] leads to arbitrary code execution on the installer's machine, potentially allowing attackers full control. This compromises all secrets and keys stored on the system. The malicious code runs with the privileges of the user performing the install, enabling extensive system compromise and persistence. Removal of the package alone does not guarantee eradication of the attacker presence.
Mitigation Recommendations
No official patch or fix is currently available. Users should immediately remove [email protected] from their environments. Any system that has installed this package should be treated as fully compromised. All secrets and keys stored on the affected system must be rotated from a separate, clean device. Monitor for any suspicious activity and consider rebuilding the affected system to ensure complete remediation.
MAL-2026-6556: Malicious code in polymarket-clob-math (npm)
Description
The npm package polymarket-clob-math version 1.0.4 contains a malicious postinstall script that executes arbitrary attacker-controlled JavaScript code during installation. This script downloads and runs additional code from an untrusted external source unrelated to the legitimate publisher, effectively enabling remote code execution on the installer's machine. The package impersonates the Polymarket ecosystem to lure victims. Systems with this package installed should be considered fully compromised, and secrets should be rotated from a clean environment.
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] includes a postinstall lifecycle script that fetches a JSON configuration from a non-publisher Vercel domain, downloads a tarball from a URL specified in that config, extracts and installs it, then executes code from the bundle. This process allows arbitrary code execution at install time. The package name and branding mimic the Polymarket CLOB ecosystem to deceive users. The fetched code is mutable, unhashed, and served from an unrelated domain, increasing risk. Installing this package results in full compromise of the host system.
Potential Impact
Installing [email protected] leads to arbitrary code execution on the installer's machine, potentially allowing attackers full control. This compromises all secrets and keys stored on the system. The malicious code runs with the privileges of the user performing the install, enabling extensive system compromise and persistence. Removal of the package alone does not guarantee eradication of the attacker presence.
Mitigation Recommendations
No official patch or fix is currently available. Users should immediately remove [email protected] from their environments. Any system that has installed this package should be treated as fully compromised. All secrets and keys stored on the affected system must be rotated from a separate, clean device. Monitor for any suspicious activity and consider rebuilding the affected system to ensure complete remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6556
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-3q5w-m6wr-5jp2"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed7d27e9c79719939cf5
Added to database: 06/29/2026, 22:11:09 UTC
Last enriched: 06/29/2026, 22:43:06 UTC
Last updated: 06/30/2026, 00:43:11 UTC
Views: 3
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.