-= Per source details. Do not edit below this line.=-
On require(), index.js reconstructs the module name 'child_process' 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.js), and spawns Bun against that file. The written file is currently empty, so no payload executes today, but the full dropper scaffolding — obfuscated child_process 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 'child_process' 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.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-023048",
"import_time": "2026-11-23T08:17:31.456228354Z",
"modified_time": "2026-11-23T08:08:27Z",
"sha256": "46dc181d726e4b49d0bcc688f5fe6518c515d7ba8c9153f2c973e5aa33cb830c",
"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": "6f5dc2ede4a912832d63d9d4851d2bda3ecd1b53f1884f6c61c752186af82b11",
"tlsh": "30f0ddc167b2a3bde30166d2d10ebb14a5b3f90148d99050e61aa5c314b0f8cca9ae69"
}
],
"package_integrity": [
{
"filename": "t4-xorspawn-testmetest-1.0.0.tgz",
"hashes": {
"sha1": "6175235ad6cce0f57771f0db89406cf356dbc7df",
"sha512_sri": "sha512-qDZTjRWlscEMrMj4R2iyjsCSpOjt7ihkF2cGGIjoAHWj9l+TgO/k6NqDgUDTeGKA/66Nbu+zBZLmdubCTLr7uQ=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/t4-xorspawn-testmetest/MAL-2026-20348.json"