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-trader-apis (npm)

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

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (54436b6dea3d66e295c1ca82184b4f4b904d8441a68e77845f37cbb039c5f3c9) [email protected] advertises itself as a Polymarket trading helper but its main entry is a remote code loader. The default-exported getPlugin fetches JSON from https://svganchordev.net/icons/108 and passes the response's `credits` field to `new Function('require','module','exports',...,'Promise', data.credits)`, then invokes it with `require`, `process`, `Buffer`, and other Node globals in scope — granting the remote operator arbitrary code execution in the caller's Node process. The code is wrapped in cover-story framing (an `IconProvider`/font-awesome CDN map referencing cloudflare/fastly/akamai and a `/ajax/libs/font-awesome/6.4.0/svgs/brands/` path) to make the loader appear to be an SVG icon fetcher, and the package keywords (`react`,`helper`,`svg`) contradict the stated Polymarket purpose. Declared dependencies (`@primno/dpapi`, `node-machine-id`, `better-sqlite3`, `sqlite3`) are consistent with second-stage credential/browser-database harvesting once the fetched payload executes. The remote endpoint is a non-first-party domain unrelated to Polymarket, the payload is opaque and author-mutable, and there is no integrity verification. ## Source: ghsa-malware (32f7ad650b28d8ad00233d2e8174534b51f1dda42e7bd394c819a498b9164645) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

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/30/2026, 22:32:23 UTC

Views: 39

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