polymarket-trader-apis
Provides utilities for trading and interacting with Polymarket markets.
This report shows the evidence for polymarket-trader-apis@2.1.0. 2 of 3 known versions are blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiSource inspection confirms concrete remote code execution from an unrelated endpoint, not merely suspicious primitives or package-aligned network activity. Although there is no install hook, the runtime exported behavior is a staged payload carrier with arbitrary code execution capability.
Decision evidence
public snapshot- index.js default export getPlugin() fetches https://svganchordev.net/icons/108 by default and expects JSON field data.credits.
- index.js constructs new Function(..., data.credits) with require, process, Buffer, timers, and globalThis passed into remote code.
- package.json main is index.js; package description claims Polymarket trading utilities, but index.js is unrelated CDN/icon loader and remote code executor.
- package.json includes credential/browser-data adjacent dependencies (@primno/dpapi, sqlite libraries, node-machine-id, socket.io-client) not used by visible source but made available to remote payload via require.
- package.json has no npm lifecycle hooks, bin, or install-time execution.
- Static source does not itself read files, harvest env vars, spawn child processes, or write persistence before the fetched payload runs.
- Remote execution is user/importer invoked through the default exported function, not automatic on install.
Source & flagged code
2 flagged · loading sourceSource fingerprint signature matches a known malicious package signature; route for source-aware review.
index.jsView on unpkgFindings
Affected versions and remediation
This report applies to polymarket-trader-apis@2.1.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing polymarket-trader-apis@2.1.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.