@leofcoin/chain@1.10.17
Official javascript implementation
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe package includes an unexplained automatic WebTransport attempt to example.com:23333, which exposes the caller’s network address. The separate IP and geolocation lookups support DHT peer selection, so the source does not establish malicious credential theft or exfiltration.
Decision evidence
public snapshot- The package exposes a browser chain entry point that can load the new WebTransport module.
- Loading that module attempts a WebTransport connection to https://example.com:23333/test and suppresses connection errors.
- A Node peer initialization calls getAddress(), which fetches the public IP from icanhazip.com.
- The fetched IP is sent to whereis.leofcoin.org for coordinates; the code also uses coordinates to rank DHT providers.
- WebTransport is part of the package’s peer networking code, and the fixed-host probe occurs when that transport module is loaded.
- The IP and coordinate lookups are used by DHT peer-distance selection, a networking function of the package.
Source & flagged code
5 flaggedPackage source references a known benign dynamic code generation pattern.
exports/browser/workers/machine-worker.jsView on unpkg · L8562Package source references dynamic require/import behavior.
exports/browser/node-browser-BNe-en1l.jsView on unpkg · L453Findings
Affected versions and remediation
This report applies to @leofcoin/chain@1.10.17.
See all versions of @leofcoin/chain for other recorded verdicts.
- Review the evidence and your use of @leofcoin/chain@1.10.17 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.