litecore-lib-ltc@1.9.8
Litecoin utility functions for transaction creation, signing, and broadcasting.
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe package entrypoint contains an explicit attempt to send wallet credentials to a fixed Discord webhook, unrelated to Litecoin wallet functionality. Although the missing `axios` binding limits execution in a typical Node.js environment, the credential theft behavior is clear and reachable when that binding exists.
Decision evidence
public snapshot- The manifest sets `src/index.js` as the package entrypoint.
- The wallet constructor sends the supplied WIF and derived private key to a hard-coded Discord webhook.
- The constructor parses the supplied WIF into a private key and address before attempting that post.
- The `send` method prints the private key to the console.
- `src/index.js` does not import or define `axios`, so the webhook call throws unless the application has supplied a global `axios`.
- The constructor only attempts the transfer when a caller creates a `LitecoinWallet` with a WIF.
Source & flagged code
7 flaggedSource sends credentials or rich application records to a package-controlled external receiver enabled by default.
src/index.jsView on unpkg · L6Source appears to send environment or credential material to an external endpoint.
src/index.jsView on unpkg · L6A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
Findings
Affected versions and remediation
This report applies to litecore-lib-ltc@1.9.8.
See all versions of litecore-lib-ltc for other recorded verdicts.
- Avoid installing litecore-lib-ltc@1.9.8. 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.