LWA-2026-5403 confirmed malware

vfat-tools@2.0.0

Malicious code in vfat-tools (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1552.001 · Credentials In FilesT1552.004 · Private KeysT1082 · System Information DiscoveryT1005 · Data from Local SystemT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 ChannelT1070.004 · File Deletion

Analysis

The postinstall hook (node lib/setup.js) steals credentials from the build environment. It enumerates all environment variables matching KEY/SECRET/TOKEN/PASS/PK/PRIV/SIGN/AWS/GH/NPM/ALCHEMY/INFURA etc., reads credential files (.env, secret.json, ~/.foundry/.env, ~/.ssh/id_rsa, ~/.aws/credentials) from the current directory and home directory, and exfiltrates everything via two HTTPS POST requests to api[.]telegram[.]org's sendMessage endpoint using a hardcoded Telegram bot token and chat_id. The first message contains a summary with hostname and the matched env var names; the second contains the full collected data as JSON. The script then self-deletes (lib/setup.js) to hide evidence. Harvested tokens include GITHUB_TOKEN, GH_TOKEN, VERCEL_TOKEN, and NODE_AUTH_TOKEN.

analyzed by
Leitwacht
first seen
Jun 15, 2026, 04:58 PM
analyzed
Jun 15, 2026, 04:59 PM

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.