# GHSA-FVC9-6HMV-P93Q: Malicious code in t10-xor-spawn-testmetest (npm)

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

## Affected versions

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

## Description

## Source: amazon-inspector (187be5ad95ca2a559216b50f70953a23234408870b97278050419c4ad84b9750)
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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/295d164deb82a5028f980f5b49bb4c518111003f/osv/malicious/npm/t10-xor-spawn-testmetest/MAL-2026-20347.json))

## References

- https://github.com/ossf/malicious-packages/blob/295d164deb82a5028f980f5b49bb4c518111003f/osv/malicious/npm/t10-xor-spawn-testmetest/MAL-2026-20347.json
- https://www.npmjs.com/package/t10-xor-spawn-testmetest/v/1.0.0
- https://github.com/advisories/GHSA-fvc9-6hmv-p93q

Page: https://cve.now/GHSA-FVC9-6HMV-P93Q

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