LWA-2026-4351 MAL-2026-10496 ↗ confirmed malware

bubblestring@1.1.4

Malicious code in bubblestring (npm)

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1027 · Obfuscated Files or InformationT1564.003 · Hidden Window

Analysis

The package's postinstall hook runs the bundled index.js, a heavily string-array-obfuscated loader. After requiring child_process, os, fs, path and https, it registers no-op process.on(uncaughtException)/on(unhandledRejection) handlers to silently suppress errors, then assembles a remote host address at runtime from obfuscated octet fragments, makes an outbound request to it, writes the downloaded response to a file on disk (fs.writeFileSync with flag w+), and executes the dropped payload via child_process.spawn (windowsHide:true) in the package directory. This is a remote download-and-execute dropper. The C2 host is built from obfuscated constants and was not recovered in plaintext, so no IP/URL IOC is provided.

analyzed by
Leitwacht
first seen
Jun 11, 2026, 03:32 PM
analyzed
Jun 11, 2026, 03:33 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.