-= Per source details. Do not edit below this line.=-
On require, index.js reads a numeric byte array from a non-standard _b field in package.json, XORs each byte with 0x96, and passes the result to the Function constructor along with require and __dirname. In version 1.0.1 the decoded bytes resolve to a trivial console.log(1), but the package exports an empty object and advertises itself as a utility, so the only functional behavior shipped is this dynamic-execution channel. The payload is stored in a manifest field under a single-letter key, outside any shipped.js source, and is only reachable through the XOR transform — a deliberate obfuscation shape that lets any future published version execute arbitrary author-controlled code at import time with full access to require and the installing project's directory.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
{
"malicious-packages-origins": [
{
"id": "GHSA-phch-78ch-wpcc",
"import_time": "2026-11-20T01:17:45.953634717Z",
"modified_time": "2026-11-20T01:02:16Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "f15455f24cd57ac6b7bdd0de11c511ba1ce862fd870c2bdad19f93f67cc34b45",
"source": "ghsa-malware"
},
{
"id": "IN-MAL-2026-022915",
"import_time": "2026-11-20T02:16:22.881518354Z",
"modified_time": "2026-11-20T02:09:01Z",
"sha256": "ec58aa63a556255a6052491e8d50ff5f9e44d58f32044028f3f1ae978789e0c0",
"source": "amazon-inspector",
"versions": [
"1.0.1"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"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": "f5d49c0e25447bd2b8a97477f9e0c0e938656ddd5e302e1569d731c8b4b7ee3a",
"tlsh": "7ee0eb687670212e11e3fccfd10a8d29b0ffe5528e81c0c0caa2a7c201c1d480ee2928"
},
{
"path": "package.json",
"sha256": "7294c374d435a2132f74823ef4b127a8cca9129c08baa479e1ac898084923e62",
"tlsh": "97d05e710e12a96320ddde942a664601d1493c5b1c06b848335f64398fdf6af1afea1c"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/smfos-bskdz-util/MAL-2026-20271.json"