litecore-lib-ltc@1.0.0
Malicious code in litecore-lib-ltc (npm)
Analysis
litecore-lib-ltc is published under a name that has already been used to distribute malicious code, and this version is a thin combosquat of the real Litecoin litecore-lib library: instead of the library's API it ships a single function. The tarball contains only package/src/index.js, package/src/network.js and package.json (1522 bytes unpacked, no install hooks, no obfuscation). index.js exports sendLitecoin(wif, toAddress, amountSatoshis, feeSatoshis), which takes a caller-supplied Litecoin WIF private key, derives the P2PKH address with bitcoinjs-lib, ecpair and tiny-secp256k1, pulls unspent outputs and raw transaction hex from hxxps://api[.]blockcypher[.]com/v1/ltc/main, builds a PSBT, signs it with the supplied key, and POSTs the finalized transaction hex to hxxps://api[.]blockcypher[.]com/v1/ltc/main/txs/push. A consumer's private key is passed directly into this code path. Treat any package under this name as untrusted.
- analyzed by
- Leitwacht
- first seen
- Nov 2, 2026, 04:50 AM
- analyzed
- Nov 2, 2026, 04:51 AM
Related advisories
- litecore-lib-ltc@1.9.3 same package
- litecore-lib-ltc@1.9.7 same package
- litecore-lib-ltc@1.9.6 same package
- litecore-lib-ltc@1.9.5 same package
- raiden-baileys@2.1.6
- raiden-baileys@2.1.5
- @prototypevip/baileys@0.1.6
- sauruspro-bail@5.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.