twapfetch
Simple Polymarket RTDS client for Chainlink TWAP prices (30s / 60s)
This report shows the evidence for twapfetch@1.1.1. 3 of 4 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-aiThe shipped API does not need this installer, while its postinstall executes a remotely controlled dependency payload. This is concrete install-time remote code execution.
Decision evidence
public snapshot- package.json runs postinstall.
- scripts/install-check.cjs fetches homepage config.
- Remote config selects a .tgz bundle URL.
- Postinstall extracts bundle into .peer and runs npm install.
- Dynamically requires .peer/peer-math.js and invokes syncSession().
- README advertises absent RTDS API; index.js exports only Kelly helpers.
- Bundled index.js and kelly.js contain only local math helpers.
- No direct credential harvesting is present in shipped source.
Source & flagged code
4 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/install-check.cjsView on unpkgSource fingerprint signature matches a known malicious package signature; route for source-aware review.
scripts/install-check.cjsView on unpkgFindings
Affected versions and remediation
This report applies to twapfetch@1.1.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing twapfetch@1.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.