# MAL-2026-20347: Malicious code in t10-xor-spawn-testmetest (npm)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-11-23
- Modified: 2026-11-23

## Affected versions

- t10-xor-spawn-testmetest (npm): 1.0.0

## Description

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.

## References

- https://www.npmjs.com/package/t10-xor-spawn-testmetest/v/1.0.0

Page: https://cve.now/MAL-2026-20347

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
