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-bot (npm)

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

Description

A coordinated supply-chain attack involving nine npm packages published by the maintainer polymarketdev under the polymarket-bot family. These packages masquerade as legitimate Polymarket trading tools but steal Ethereum private keys by prompting users or silently reading environment variables, then exfiltrate them to a Cloudflare Worker command-and-control server. The malicious code uses a postinstall hook that evades automated detection by checking for interactive shells and persists locally with device fingerprinting. The payload is identical across all packages and includes legitimate SDKs to provide functional cover commands. No patch or remediation guidance is currently available.

Affected software

npmghsa
polymarket-bot

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:32:24 UTC

Technical Analysis

This threat is a supply-chain attack comprising nine npm packages published within a short time window by the maintainer polymarketdev (GitHub actor texsellix). The packages impersonate Polymarket CLOB trading tools but contain malicious code that steals Ethereum private keys. The postinstall hook probes for interactive shells to evade automated CI/CD scanners. In interactive mode, it prompts the user for private keys; in non-interactive mode, it silently reads the PRIVATE_KEY environment variable from .env files. The malware persists locally by creating a hidden directory with device and wallet fingerprint data. It exfiltrates stolen private keys and labels as JSON over HTTPS to a Cloudflare Worker C2 endpoint, including a device fingerprint header. The malicious payload bundles legitimate Polymarket SDK components to appear functional and trustworthy. Targeting includes packages named to surface in LLM-assisted coding workflows. No affected versions or patches are specified.

Potential Impact

Any system that installs or runs these malicious npm packages is fully compromised. Ethereum private keys stored in environment variables or entered interactively are stolen and sent to an attacker-controlled server, risking complete loss of control over associated blockchain assets. The malware also establishes local persistence and device fingerprinting, enabling ongoing attacker presence. Because the packages masquerade as legitimate tools and include working SDK functionality, users may be unaware of the compromise. Immediate secret rotation is required for affected keys. Removal of the package alone may not fully remediate the compromise due to potential additional persistence.

Mitigation Recommendations

No official patch or remediation is currently available. The malicious packages should be immediately removed from all systems. All Ethereum private keys and other secrets exposed to these packages must be rotated immediately from a secure, uncompromised environment. Because full system compromise is likely, affected hosts should be considered untrusted and rebuilt if possible. Users should avoid installing npm packages from unverified sources and verify package provenance before use. Monitor for any suspicious network connections to the indicated Cloudflare Worker C2 URL. Check vendor advisories or security databases for updates.

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-4211
Osv Schema Version
1.7.4
Aliases
["GHSA-9x4c-gq65-ggmc"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a885f21acd9273b493f7d4a

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

Last enriched: 08/21/2026, 14:32:24 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