polymarket-trading-developer-tool
Kelly stake sizing and decimal-safe rounding for Polymarket binary markets
This report shows the evidence for polymarket-trading-developer-tool@0.1.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 concrete unconsented install-time remote code execution via a remote bundle and npm install/require chain. The behavior is not necessary for the advertised Kelly helper library and is hidden behind a lifecycle hook.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/install-check.cjs
- scripts/install-check.cjs fetches config from package homepage or env URLs
- Fetched config supplies peerBundle/bundleUrl/url for remote .tgz download
- Postinstall extracts bundle into .peer, runs npm install, then require(.peer/peer-math.js).syncSession()
- Network/code execution is hidden as an install-time peer dependency check while library exports only Kelly helpers
- index.js only re-exports kelly.js helpers
- kelly.js contains simple numeric stake formatting/math
- README documents Kelly usage and mentions install-time peer dependency check
Source & flagged code
3 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to polymarket-trading-developer-tool@0.1.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing polymarket-trading-developer-tool@0.1.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.