LWA-2026-6759 confirmed malware

crypto-validate-lib@1.0.0

Malicious code in crypto-validate-lib (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1053.003 · CronT1053.005 · Scheduled TaskT1543.001 · Launch AgentT1027 · Obfuscated Files or InformationT1552.001 · Credentials In FilesT1552.004 · Private KeysT1082 · System Information DiscoveryT1102 · Web ServiceT1041 · Exfiltration Over C2 Channel

Analysis

crypto-validate-lib@1.0.0 is a trojanized cryptocurrency address validator. The package exports a legitimate-looking address validation function, but on require() it waits 37 seconds then decodes a base64-encoded infostealer from test/fixtures/keypairs.dat, writes it to ~/.cache-db/.node-sync/syncd.js, and spawns it as a detached background process. The payload installs persistence via crontab (Linux), a launchd plist at ~/Library/LaunchAgents/com.apple.sync.plist (macOS), or a scheduled task named WinNodeSync (Windows). It hunts for Solana and Ethereum wallet files, seed phrases, SSH private keys, .env files, and any file containing crypto-related keywords (seed, mnemonic, recovery, wallet, private, backup, secret, keystore). Found credentials are RSA-OAEP-encrypted with a hardcoded public key and exfiltrated to api[.]pinata[.]cloud via POST /pinning/pinJSONToIPFS. The payload also checks IPFS gateways (gateway[.]pinata[.]cloud, ipfs[.]io, cloudflare-ipfs[.]com) for active dead-drop C2 commands before running, and only executes when the system is idle.

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