LWA-2026-6974 confirmed malware

quickbuf@1.0.1

Malicious code in quickbuf (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1059.001 · PowerShellT1082 · System Information DiscoveryT1497.001 · System ChecksT1071.001 · Web ProtocolsT1105 · Ingress Tool TransferT1555 · Credentials from Password StoresT1041 · Exfiltration Over C2 Channel

Analysis

quickbuf@1.0.1 is a trojanized native module disguised as a buffer utility library. The JavaScript entry point (index.js) exports innocuous functions (xorBuffer, hashSha256, encodeBase64, etc.) that delegate to a compiled Rust native addon (quickbuf.win32-x64-msvc.node). The native binary contains a full implant: anti-analysis checks that detect analysis tools (wireshark, procmon, x64dbg, ollydbg, ida, processhacker, fiddler) and sandbox/VMs (via strings like "sandbox", "virus", "malware"), environment reconnaissance (reads USERNAME, COMPUTERNAME, LOCALAPPDATA), hidden PowerShell process launch (Start-Process -WindowStyle Hidden, powershell.exe, cmd.exe), a WinHTTP-based HTTP client with a Mozilla/5.0 User-Agent for C2 communication, file timestamp manipulation (SetFileTime), named pipe creation (NtCreateNamedPipeFile), and thread creation (CreateThread). The package's postinstall hook (node -e "try{require('.')}catch(_){}") silently loads the native module on install, triggering the payload's initialization. The JS wrapper is a decoy; all malicious functionality is compiled into the Rust .node binary.

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