t10-xor-spawn-testmetestnpm
Advisory published Updated
t10-xor-spawn-testmetest is a confirmed malicious npm package (MAL-2026-20347) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in t10-xor-spawn-testmetest (npm)
What this malware does
On require(), index.js reads the shipped lib_native.dat, XOR-decrypts it with a hardcoded 32-byte key, brotli-decompresses the result to JavaScript, writes it to a timestamped file in os.tmpdir(), and executes it by spawning a bun binary resolved from /usr/local/bin/bun, $HOME/.bun/bin/bun, or $BUN_INSTALL/bin/bun, with errors swallowed by a try/catch. The package is self-described as a utility library, yet ships no plain source implementing that purpose; the only on-import effect is decoding and executing an opaque, encrypted blob with an alternate (non-Node) runtime, which bypasses Node-based inspection. The contents of the decoded payload are not visible to the installer and change behavior at the author's discretion.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for t10-xor-spawn-testmetest (version 1.0.0).
If you installed it — respond
Remove t10-xor-spawn-testmetest from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If t10-xor-spawn-testmetest was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks t10-xor-spawn-testmetest-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.