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…

MAL-2026-10072: Malicious code in polymarket-trader-apis (npm)

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

Description

The polymarket-trader-apis npm package versions 0.1.0 and 2.1.0 contain malicious code that acts as a remote code loader. It fetches a JSON payload from an unrelated third-party domain and executes the 'credits' field as JavaScript code with Node.js globals in scope, enabling arbitrary code execution. The package disguises this behavior by framing the code as an SVG icon fetcher and uses misleading keywords. Declared dependencies suggest the payload may perform credential and browser database harvesting once executed. There is no integrity verification of the remote payload, making this a high-risk supply chain threat.

Affected software

npmghsa
polymarket-trader-apis
Affected versions
=0.1.0=2.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: 07/10/2026, 10:09:28 UTC

Technical Analysis

The polymarket-trader-apis package (versions 0.1.0 and 2.1.0) advertises itself as a Polymarket trading helper but contains a malicious main entry point that fetches JSON data from a non-first-party domain (https://svganchordev.net/icons/108). It extracts the 'credits' field from the response and executes it as a new Function with Node.js globals such as require, process, and Buffer passed in, allowing arbitrary code execution in the host environment. The package attempts to disguise this behavior by presenting the loader as an SVG icon fetcher referencing popular CDN paths and using unrelated keywords. The declared dependencies (@primno/dpapi, node-machine-id, better-sqlite3, sqlite3) align with potential second-stage payloads for credential and browser database harvesting. The remote payload is opaque, author-mutable, and lacks integrity verification, posing a significant supply chain risk.

Potential Impact

Successful execution of this package results in arbitrary code execution within the Node.js process of the user installing or running the package. This can lead to credential theft, browser database compromise, and potentially further system compromise. The malicious payload is remotely controlled and can be changed by the attacker at any time, increasing the risk and unpredictability of the threat.

Mitigation Recommendations

No official patch or fix is currently available for this malicious package. Users should immediately cease use of polymarket-trader-apis versions 0.1.0 and 2.1.0. Remove these versions from all projects and dependency trees. Avoid installing or running this package from npm. Monitor for any unexpected network connections or suspicious activity related to this package. Consider using package integrity verification and supply chain security tools to detect and block malicious packages. Patch status is not yet confirmed — check the vendor advisory or npm security advisories 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-10072
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba9168715ace43582304

Added to database: 07/10/2026, 09:25:37 UTC

Last enriched: 07/10/2026, 10:09:28 UTC

Last updated: 07/10/2026, 10:09:28 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