LWA-2026-13234 confirmed malware

t10-xor-spawn-testmetest@1.0.0

Malicious code in t10-xor-spawn-testmetest (npm)

T1027 · Obfuscated Files or InformationT1140 · Deobfuscate/Decode Files or InformationT1036 · MasqueradingT1059 · Command and Scripting InterpreterT1059.007 · JavaScript

Analysis

This package is a loader disguised as a utility library. Requiring package/index.js immediately executes an IIFE that reads the bundled binary blob package/lib_native.dat, XOR-decrypts it with a hardcoded 32-byte key, brotli-decompresses the result, writes the plaintext to a randomly named file in the OS temp directory (p<timestamp>.js), and launches it with the Bun runtime, probing /usr/local/bin/bun, $HOME/.bun/bin/bun and $BUN_INSTALL/bin/bun. The temp file is deleted when the child process exits. The package declares no dependencies, no lifecycle scripts and no bin entries, so nothing runs at install time — the payload only fires when the module is imported, and the decrypted second stage is not present in readable form in the tarball. No network IOC is visible in the shipped bytes; the only artifacts are the encrypted blob lib_native.dat and the temp-file drop-and-exec pattern.

analyzed by
Leitwacht
first seen
Oct 23, 2026, 06:56 PM
analyzed
Oct 23, 2026, 06:56 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.