{"id":"MAL-2026-20347","aliases":[],"title":"Malicious code in t10-xor-spawn-testmetest (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## 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. ","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/t10-xor-spawn-testmetest/v/1.0.0","type":"package"}],"sources":[{"name":"osv","at":"2026-11-23T09:53:14.160Z","url":"https://osv.dev/vulnerability/MAL-2026-20347","license":"CC-BY 4.0","firstSeenAt":"2026-11-23T08:46:54.933Z"}],"firstSeenAt":"2026-11-23T08:46:54.933Z","publishedAt":"2026-11-23T08:08:20.000Z","modifiedAt":"2026-11-23T08:30:03.890Z"}