-= Per source details. Do not edit below this line.=-
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-packages-origins": [
{
"id": "IN-MAL-2026-023047",
"import_time": "2026-11-23T08:17:31.425641912Z",
"modified_time": "2026-11-23T08:08:20Z",
"sha256": "187be5ad95ca2a559216b50f70953a23234408870b97278050419c4ad84b9750",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "index.js",
"sha256": "4295221927994eefaca81b80e6cdf7824b30339f8300050c316d05975defd359",
"tlsh": "f91123d2ab8253ed62506a92943d8708e1b3d6018e85b090d069fbc305a1f8957c5cf5"
},
{
"path": "lib_native.dat",
"sha256": "6cd846835b1c8ffe2307c802d95c958e61a399d29ed82efbabaac7d6b1d71f7d"
}
],
"package_integrity": [
{
"filename": "t10-xor-spawn-testmetest-1.0.0.tgz",
"hashes": {
"sha1": "d5c61ea12fd338bea8d829af875343c204a0ba93",
"sha512_sri": "sha512-TiABsk1vYhZ/j0DKA3hCSW2C3Q+N6RLnholvAxETE5Y8mh+vKTcwe43SKqX1kpsql3vaQCRFaK4Wsjg3R2IgKw=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/t10-xor-spawn-testmetest/MAL-2026-20347.json"