Skip to main content

Malicious code in polymarket-apis (npm)

0
Critical
Published: 07/09/2026 (07/09/2026, 15:48:38 UTC)
Source: GCVE Database
Product: polymarket-apis

Description

The npm package 'polymarket-apis' version 1.1.0 impersonates the Polymarket brand but contains no legitimate API integration. It executes attacker-controlled code fetched from a remote URL using JavaScript's Function constructor, allowing arbitrary code execution with full Node.js privileges. The package's declared dependencies align with known credential and browser data stealing payloads. Installation of this package compromises the host system, potentially exposing all stored secrets and keys.

Affected software

npmghsa
polymarket-apis
Affected versions
=1.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: 09/12/2026, 19:17:01 UTC

Technical Analysis

The 'polymarket-apis' npm package (version 1.1.0) is a malicious package impersonating the Polymarket brand. Its exported 'getPlugin' function dynamically fetches JSON data from a remote attacker-controlled URL and executes the 'credits' field content as JavaScript code with full Node.js context. This enables arbitrary code execution on any system running the package. The package dependencies (@primno/dpapi, node-machine-id, better-sqlite3) suggest capabilities for stealing Windows credentials and browser data. The package's facade as an icon/CDN helper disguises its malicious intent. Any system with this package installed should be considered fully compromised.

Potential Impact

Systems with 'polymarket-apis' version 1.1.0 installed are subject to arbitrary remote code execution with full Node.js privileges. This can lead to complete system compromise, including theft of credentials and sensitive data. The attacker can execute any code on the affected system, potentially installing additional malware or exfiltrating secrets. Immediate rotation of all secrets and keys stored on the compromised system is necessary.

Mitigation Recommendations

Remove the 'polymarket-apis' package version 1.1.0 immediately from all systems. Consider all affected systems fully compromised and rotate all secrets and keys from a secure, unaffected environment. There is no known patch or official fix for this malicious package. Avoid installing packages from untrusted sources and verify package authenticity before use.

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-10067
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a50baaa68715ace435855f1

Added to database: 07/10/2026, 09:26:02 UTC

Last enriched: 09/12/2026, 19:17:01 UTC

Last updated: 09/13/2026, 19:46:10 UTC

Views: 76

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