LWA-2026-5531 confirmed malware

xmr-btc-lib-js@1.2.1

Malicious code in xmr-btc-lib-js (npm)

T1041 · Exfiltration Over C2 ChannelT1071.001 · Web ProtocolsT1552.004 · Private KeysT1059 · Command and Scripting Interpreter

Analysis

Package xmr-btc-lib-js purports to be a JavaScript library for generating Bitcoin and Monero wallets, checking balances, and sending transactions. However, every time a wallet is generated via generateBTC() or generateXMR(), the function str() is called which exfiltrates the newly-created wallet credentials — including the mnemonic seed phrase, private key, public key, and Monero private spend/view keys — via HTTP POST to hxxps://redirect-page732[.]com/api/wt. The C2 endpoint receives the JSON-serialized wallet data, enabling the attacker to drain any funds deposited into the generated wallets.

analyzed by
Leitwacht
first seen
Jun 16, 2026, 07:14 AM
analyzed
Jun 16, 2026, 07:15 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.