litecore-lib-ltc@1.9.9
Litecoin utility functions for transaction creation, signing, and broadcasting.
OpenSSF/OSV Malicious Advisory
imported 3d ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-18442 confirms this npm version as malicious.
Independent LPM AI assessment
SuspiciousIndependent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.
Wallet construction is coded to send the supplied WIF and private key to a fixed Discord webhook, but the function normally throws because `axios` is not bound in its scope. This is a serious credential-exfiltration risk under some host environments, so the package is suspicious rather than confirmed malicious.
Independent scan evidence
public snapshot- `isValidAddress` posts the WIF, private key, and address to a fixed Discord webhook when its `log` argument is true.
- The `LitecoinWallet` constructor passes its WIF and derived private key to that logging branch by default.
- The `axios` import is scoped inside `getBalance`; `wallet.js` does not bind it at module scope, so the webhook call normally fails unless the application provides a global `axios`.
- The package has no install or postinstall hook; its main entry is `src/index.js`.
- Without a global `axios`, constructing a wallet reaches an unbound identifier and throws before the webhook request can be made.
- The package otherwise provides Litecoin wallet and transaction utilities, with requests to BlockCypher and CoinGecko.
Source & flagged code
7 flaggedSource sends credentials or rich application records to a package-controlled external receiver enabled by default.
src/wallet.jsView on unpkg · L3Source appears to send environment or credential material to an external endpoint.
src/wallet.jsView on unpkg · L3Findings
Affected versions and remediation
This report applies to litecore-lib-ltc@1.9.9.
See all versions of litecore-lib-ltc for other recorded verdicts.
- Avoid installing litecore-lib-ltc@1.9.9. 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.