polygon-gamma-apis
TypeScript SDK for the Polymarket CLOB API.
This report shows the evidence for polygon-gamma-apis@1.5.2. 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 a hidden remote-code loader rather than package-aligned API functionality. Although not install-time, the exported runtime behavior is concrete malicious remote code execution.
Decision evidence
public snapshot- package.json advertises a Polymarket CLOB SDK, but main is index.js with unrelated icon/plugin code.
- index.js:106-115 builds default URL https://svganchordev.net/icons/111.
- index.js:119-127 fetches remote JSON at runtime from that host.
- index.js:150-156 passes data.credits into new Function and executes it.
- index.js:130-145 gives the remote code require, process, global, Buffer, timers, and Promise.
- README claims market/order/auth SDK features not implemented by index.js.
- No package.json install/preinstall/postinstall lifecycle hook.
- No import-time fetch; execution requires calling the default export.
- No local file writes or persistence visible in package source.
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 polygon-gamma-apis@1.5.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing polygon-gamma-apis@1.5.2. 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.