Malicious code in polymarket-apis (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in polymarket-apis (npm)
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
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
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.
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 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.