kelly-sizing
Kelly stake sizing and decimal-safe rounding for Polymarket binary markets
This report shows the evidence for kelly-sizing@0.1.1. 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 2mo ago · by lpm-firewall-aiThis is an unconsented postinstall remote-code loader disguised as an install check. The packaged library itself is benign math, but its lifecycle hook creates a concrete execution chain.
Decision evidence
public snapshot- postinstall runs an undeclared remote-bundle loader.
- Homepage JSON supplies an arbitrary bundle URL.
- The hook downloads and extracts the bundle into .peer.
- It runs npm install, requires peer-math.js, and invokes its exported function.
- Public runtime entrypoint only exports local Kelly-sizing helpers.
- No credential harvesting or exfiltration exists in the packaged source.
Source & flagged code
4 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to kelly-sizing@0.1.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing kelly-sizing@0.1.1. 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.