polymarket-apis
A feature-rich JavaScript/TypeScript SDK that simplifies integration with Polymarket APIs, including market data, events, and related services.
This report shows the evidence for polymarket-apis@1.1.0. 1 of 2 known versions is 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 server-controlled remote code execution from a non-package-aligned host in a package that misrepresents its purpose. The lack of install-time execution lowers automatic trigger scope but does not make the default exported RCE behavior benign.
Decision evidence
public snapshot- index.js getPlugin() fetches https://svganchordev.net/icons/108 by default
- index.js executes remote JSON field data.credits with new Function
- Remote code is passed require, process, global, Buffer, timers, and Promise
- package.json main/export is index.js and package claims to be a Polymarket API SDK
- No Polymarket API functionality found; implementation is CDN/resource fetch plus remote plugin execution
- No npm lifecycle install hooks in package.json
- getPlugin() is exported and documented rather than called at import time
- No direct local source evidence of credential harvesting or filesystem writes before remote payload
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-apis@1.1.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing polymarket-apis@1.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.