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-claude-code (npm)

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

Description

A coordinated supply-chain attack involving 9 npm packages published by the maintainer polymarketdev impersonates legitimate Polymarket trading tools. These packages steal Ethereum private keys by either prompting users interactively or silently reading environment variables during installation, then exfiltrate the keys to a malicious Cloudflare Worker endpoint. The packages maintain local persistence and fingerprint infected devices. The attack targets developers using AI-assisted coding tools by masquerading as legitimate Polymarket SDKs. The malicious code is present in version 0.1.0 of polymarket-claude-code.

Affected software

npmghsa
polymarket-claude-code
Affected versions
=0.1.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: 08/21/2026, 14:32:11 UTC

Technical Analysis

The polymarket-claude-code npm package (version 0.1.0) is part of a supply-chain attack comprising 9 packages published within a short time frame by the maintainer polymarketdev. The malicious postinstall script detects interactive installs and either prompts for Ethereum private keys or silently reads the PRIVATE_KEY environment variable from .env files or the environment. It exfiltrates these keys in plaintext via HTTPS POST requests to a Cloudflare Worker C2 endpoint at polymarketbot.polymarketdev.workers.dev. The package falsely claims keys remain encrypted server-side. It also creates local persistence files containing device and wallet fingerprints. The attack specifically targets developers using LLM-assisted coding tools by naming packages to appear as legitimate Polymarket SDKs. The malicious payload is identical across all 9 packages, with only the package name differing.

Potential Impact

Any user installing polymarket-claude-code version 0.1.0 risks full compromise of their Ethereum wallet private keys. The attacker gains wallet-draining authority by receiving private keys in plaintext. Systems with this package installed should be considered fully compromised, as the attacker may have persistent access. This can lead to theft of cryptocurrency assets and further compromise of developer environments.

Mitigation Recommendations

Remove the polymarket-claude-code package immediately if installed. Rotate all Ethereum private keys and any other secrets that may have been exposed from a secure, uncompromised environment. Consider the affected system fully compromised and perform a thorough security assessment. Avoid installing npm packages without verifying provenance, especially those recommended by AI coding assistants without provenance checks. There is no official patch or fix available for this malicious package; remediation requires removal and key rotation.

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-4212
Osv Schema Version
1.7.4
Aliases
["GHSA-hqrj-3257-4cwr"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a885f21acd9273b493f7d45

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

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