@leofcoin/chain@1.10.16
Official javascript implementation
AI Security Review
scanned 15d ago · by lpm-firewall-aiSource inspection found no install lifecycle hooks or concrete attack behavior. The flagged dynamic execution is in the contract worker, while the browser network calls are in local-daemon and peer-discovery helpers; the public-address lookup is guarded by a condition that does not pass for the initialized address object.
Decision evidence
public snapshot- The manifest exposes chain and worker entrypoints and has no npm lifecycle hook in its scripts.
- The flagged worker dynamically evaluates instrumented contract source as part of contract deployment, matching the package’s chain functionality.
- The browser bundle’s local-daemon and peer-geolocation requests are in runtime helpers; the public-address lookup is conditional on a value that is already an object.
- The inspected dependencies provide WebRTC and cryptographic primitives used by the package; no concrete attack behavior was identified.
- The worker uses dynamic code generation, and browser helpers contain network requests, but the inspected contexts show contract execution and peer discovery behavior.
Source & flagged code
5 flaggedPackage source references a known benign dynamic code generation pattern.
exports/browser/workers/machine-worker.jsView on unpkg · L8534Package source references dynamic require/import behavior.
exports/browser/node-browser-DWSdi-XP.jsView on unpkg · L453Findings
Affected versions and remediation
This report applies to @leofcoin/chain@1.10.16.
See all versions of @leofcoin/chain for other recorded verdicts.
- Review the evidence and your use of @leofcoin/chain@1.10.16 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.