MAL-2026-20348: Malicious code in t4-xorspawn-testmetest (npm)

Published Nov 23, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (46dc181d726e4b49d0bcc688f5fe6518c515d7ba8c9153f2c973e5aa33cb830c) On require(), index.js reconstructs the module name 'childprocess' by XOR-decoding a hex blob against a repeating 0x42 key, locates a Bun runtime at /usr/local/bin/bun or ~/.bun/bin/bun, writes a JS file to the OS temp directory (p<timestamp>.js), and spawns Bun against that file. The written file is currently empty, so no payload executes today, but the full dropper scaffolding — obfuscated childprocess import, alternate-runtime discovery, tmp-file write, spawn — is wired to the module's top-level load path. Legitimate utility libraries do not need to conceal the identity of 'childprocess' from static scanners, and the shape (obfuscated primitive + write-and-exec via a sibling runtime at import time) matches the npm alternate-runtime dropper pattern.

Affected Software

1 affected component
npm/t4-xorspawn-testmetest=1.0.0

Event History

Nov 23, 2026
Advisory Published
via OSV·08:08 AM
Data Sourced
via OSV·08:08 AM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203