LWA-2026-5204 confirmed malware

str-master@1.0.11

Malicious code in str-master (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1204.002 · Malicious FileT1564.003 · Hidden WindowT1027 · Obfuscated Files or Information

Analysis

str-master@1.0.11 is a malicious npm package posing as a string-manipulation utility library. On installation, the postinstall hook (bin/setup.js) executes a bundled 13.3MB Windows PE executable (assets/setup-helper.exe) with stealth parameters: the process is spawned detached (outlives the installer), with stdio ignored, the window hidden, and the reference released — ensuring silent background execution with no visible output. The decoy library (dist/index.js) contains legitimate-looking string utility methods to mask the payload. The payload binary is only executed on Windows systems (platform check). The package has no exfiltration code in its JavaScript source; the PE binary's runtime behaviour is unknown but is delivered in an aggressive supply-chain attack context.

analyzed by
Leitwacht
first seen
Jun 14, 2026, 08:34 AM
analyzed
Jun 14, 2026, 08:35 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.