Malicious code in polymarket-toolkit (npm)
The polymarket-toolkit npm package version 1.4.9 is a malicious package masquerading as a Polymarket API client. Its default export performs unconditional remote code execution by fetching and executing JavaScript code from a remote server with full Node.js privileges. This allows an attacker to gain complete control over the affected system. The package includes unrelated dependencies consistent with credential and machine fingerprint extraction, indicating its intent as a brand-impersonating dropper targeting developers. Any system with this package installed should be considered fully compromised.
AI Analysis
Technical Summary
The polymarket-toolkit npm package (version 1.4.9) is a malicious package that executes remote code fetched from https://svganchordev.net/icons/109. Upon invocation of its default export `getPlugin`, it performs an HTTPS request to retrieve JavaScript code from the remote server, then executes this code with full Node.js privileges using the Function constructor. The package disguises itself as a Polymarket API client but includes unrelated dependencies for credential and machine fingerprint extraction. The malicious code runs with full access to Node primitives such as require, process, and Buffer, enabling complete system compromise. The package is a brand-impersonating dropper targeting developers searching for Polymarket tools.
Potential Impact
Systems with polymarket-toolkit version 1.4.9 installed are fully compromised due to unconditional remote code execution with full Node.js privileges. Attackers can execute arbitrary code, potentially stealing all secrets, credentials, and keys stored on the system. The compromise is severe enough that removing the package does not guarantee removal of all malicious artifacts or backdoors. Immediate secret rotation is required from a separate, uncompromised system.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove polymarket-toolkit version 1.4.9 from all systems. Consider all affected systems fully compromised and rotate all secrets and keys from a different, secure machine. Monitor for any signs of persistent compromise or additional malicious software. Avoid installing packages from untrusted or suspicious sources and verify package authenticity before use.
Malicious code in polymarket-toolkit (npm)
Description
The polymarket-toolkit npm package version 1.4.9 is a malicious package masquerading as a Polymarket API client. Its default export performs unconditional remote code execution by fetching and executing JavaScript code from a remote server with full Node.js privileges. This allows an attacker to gain complete control over the affected system. The package includes unrelated dependencies consistent with credential and machine fingerprint extraction, indicating its intent as a brand-impersonating dropper targeting developers. Any system with this package installed should be considered fully compromised.
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-toolkit npm package (version 1.4.9) is a malicious package that executes remote code fetched from https://svganchordev.net/icons/109. Upon invocation of its default export `getPlugin`, it performs an HTTPS request to retrieve JavaScript code from the remote server, then executes this code with full Node.js privileges using the Function constructor. The package disguises itself as a Polymarket API client but includes unrelated dependencies for credential and machine fingerprint extraction. The malicious code runs with full access to Node primitives such as require, process, and Buffer, enabling complete system compromise. The package is a brand-impersonating dropper targeting developers searching for Polymarket tools.
Potential Impact
Systems with polymarket-toolkit version 1.4.9 installed are fully compromised due to unconditional remote code execution with full Node.js privileges. Attackers can execute arbitrary code, potentially stealing all secrets, credentials, and keys stored on the system. The compromise is severe enough that removing the package does not guarantee removal of all malicious artifacts or backdoors. Immediate secret rotation is required from a separate, uncompromised system.
Defensive Guidance
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove polymarket-toolkit version 1.4.9 from all systems. Consider all affected systems fully compromised and rotate all secrets and keys from a different, secure machine. Monitor for any signs of persistent compromise or additional malicious software. Avoid installing packages from untrusted or suspicious sources and verify package authenticity before use.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6713
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-w7x3-5xp7-6pw8"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfadbf8831d5391b22b4
Added to database: 08/06/2026, 18:17:17 UTC
Last enriched: 08/06/2026, 19:27:21 UTC
Last updated: 08/06/2026, 19:27:21 UTC
Views: 2
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.