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 polymarket-terminal (npm)

0
Critical
Published: 05/21/2026 (05/21/2026, 00:00:00 UTC)
Source: GCVE Database
Product: polymarket-terminal

Description

A coordinated supply-chain attack involving nine npm packages published by the maintainer polymarketdev impersonates legitimate Polymarket trading tools. These packages steal Ethereum private keys by prompting users interactively or silently extracting keys from environment files, then exfiltrate them to a Cloudflare Worker command-and-control server. The malicious code persists locally and fingerprints infected devices. The packages include working trading commands as a cover and falsely claim private keys remain encrypted. Developers using these packages are at high risk of secret compromise and full system takeover.

Affected software

npmghsa
polymarket-terminal

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: 08/21/2026, 14:31:40 UTC

Technical Analysis

This threat is a supply-chain attack comprising nine npm packages published within a short window by the maintainer polymarketdev (GitHub actor texsellix). Each package contains identical malicious code that wraps legitimate Polymarket SDK components to provide functional trading commands while stealing Ethereum private keys. The postinstall script behaves differently based on environment: it evades CI/CD scanners by printing a benign message, but in interactive shells it prompts for private keys, and in passive mode it reads .env files to extract PRIVATE_KEY variables silently. Stolen keys and device fingerprints are exfiltrated via HTTPS POST requests to a Cloudflare Worker C2 endpoint. The malware also creates local persistence files storing device and wallet metadata. The campaign targets developers searching for Polymarket CLI tools and LLM-assisted coding workflows recommending these packages. Removal of the packages alone does not guarantee full remediation due to potential full system compromise.

Potential Impact

Any system with these malicious packages installed is considered fully compromised. Ethereum private keys and other secrets stored on the system are exfiltrated to an attacker-controlled server, leading to loss of control over affected wallets. The attacker gains persistent access and device fingerprinting capabilities, enabling ongoing unauthorized access. The presence of functional trading commands may mislead users into trusting the packages, increasing the risk of secret exposure. Full system compromise implies that attackers may have installed additional malware beyond the npm packages themselves.

Mitigation Recommendations

Immediate removal of the malicious packages is required. All Ethereum private keys and other secrets stored on the compromised system must be rotated immediately from a separate, trusted device. Because full system compromise is likely, a thorough incident response including system reimaging or replacement is recommended. Users should avoid installing packages from untrusted or unknown maintainers and verify package provenance before use. Monitoring for similar supply-chain attacks and using tools to detect malicious postinstall scripts can help prevent future incidents. Patch status is not applicable as this is a malicious package campaign rather than a software vulnerability.

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-4214
Osv Schema Version
1.7.4
Aliases
["GHSA-mhqj-q9r5-99vg"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a885f21acd9273b493f7d3f

Added to database: 08/21/2026, 14:22:25 UTC

Last enriched: 08/21/2026, 14:31:40 UTC

Last updated: 08/22/2026, 03:51:58 UTC

Views: 2

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