LWA-2026-6749 MAL-2026-10606 ↗ confirmed malware

base58-utils@1.0.3

Malicious code in base58-utils (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1053.001 · CronT1053.002 · Scheduled TaskT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1552.004 · Private KeysT1041 · Exfiltration Over C2 ChannelT1567 · Exfiltration Over Web Service

Analysis

base58-utils@1.0.3 is a trojanized clone of a base58 encoding library. The package exports legitimate encode/decode functions but contains a hidden self-executing function that waits 37 seconds after require(), then decodes a base64-encoded payload from test/fixtures/keypairs.dat and writes it to ~/.cache-db/.node-sync/syncd.js. It installs persistence via crontab (Linux: "0 */12 * * * /usr/bin/node ~/.cache-db/.node-sync/syncd.js") or schtasks (Windows: "WinNodeSync" task every 12 hours), then spawns the payload as a detached background process. The decoded payload is a credential harvester that: checks a gist URL (hxxps://gist[.]githubusercontent[.]com/juang55/b298754cb72942b1cdcf02ccd45cde2f/raw/cfg[.]txt) for a kill-switch; falls back to IPFS dead-drop CIDs via gateway[.]pinata[.]cloud, ipfs[.]io, and cloudflare-ipfs[.]com; hunts for Ethereum private keys (0x-prefixed 64 hex chars), Bitcoin WIF keys (5/K/L-prefixed base58), Solana private keys (base58 44-88 chars), and BIP39 12/24-word seed phrases; searches files with extensions .json, .env, .txt, .md, .pem, .key, .keystore, .dat, .yml, .yaml, .cfg, .ini, .toml for keywords including seed, mnemonic, recovery, wallet, private, backup, secret, bip39, phrase, metamask, ledger, trezor, solana, ethereum, bitcoin, keypair, keystore, ciphertext, BEGIN PRIVATE KEY, api_key, MNEMONIC, SECRET, TOKEN; checks system idle state before scanning (via w/xprintidle/ioreg/PowerShell); and exfiltrates findings via POST to Pinata IPFS gateway with hardcoded Pinata API credentials.

analyzed by
Leitwacht
first seen
Jul 14, 2026, 07:30 AM
analyzed
Jul 14, 2026, 07:32 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.