@leofcoin/chain@1.10.20
Official javascript implementation
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe manifest has no install hooks, and the flagged worker behavior serves chain machine processing. The unrelated WebTransport probe is guarded, and its only reviewed importer loads the module when the same global constructor is absent.
Decision evidence
public snapshot- The manifest exposes explicit node, chain, and browser entry points and declares no install lifecycle scripts.
- The `example.com:23333/test` WebTransport probe is guarded by the presence of a global WebTransport constructor.
- The client imports the probe-containing module only when Node lacks a global WebTransport constructor, so that import path does not satisfy the probe’s guard.
- The flagged child-process helper starts a worker at a caller-supplied URL; the chain uses it for its machine worker.
- The browser bundle contains a compatibility probe that attempts a WebTransport connection to `example.com:23333/test` when its global constructor is available.
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-Ha4Lvntj.jsView on unpkg · L453Findings
Affected versions and remediation
This report applies to @leofcoin/chain@1.10.20.
See all versions of @leofcoin/chain for other recorded verdicts.
- Review the evidence and your use of @leofcoin/chain@1.10.20 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.