-= Per source details. Do not edit below this line.=-
The package name base65-12x typosquats the popular base-x base-encoding library and reuses base-x's repository as its homepage. Both the CJS entry (index.js around line 116) and the ESM entry (src/esm/index.js around line 114) append an approximately 123 KB top-level obfuscated block after a copy of the legitimate base-x source. The block installs a VM-style dispatcher on globalThis (registries named vmr3f4688 and vmwbf472f), manipulates Object.defineProperty and proto, and contains multiple fetch references, so a network-capable code path is wired up and runs unconditionally when a consumer requires or imports the package. A base-encoding library has no functional need for a large globalThis-poisoning obfuscated VM with network fetch at module top level; the payload is duplicated across both module systems so it fires for CJS and ESM consumers alike.
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": "IN-MAL-2026-017380",
"import_time": "2026-08-11T18:52:00.475364359Z",
"sha256": "79b553d84d7f4dc5347840ddb97f16738eed2e52ac9757b48d2cb31ba1af7122",
"modified_time": "2026-08-11T18:49:01Z",
"source": "amazon-inspector",
"versions": [
"5.0.2"
]
},
{
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"import_time": "2026-08-12T00:17:04.862158377Z",
"id": "GHSA-c4w7-m3hx-xx75",
"sha256": "4891fcf0d0e6192d9be14faf68411bd475129a1245b5c863a9daaa6f66e66166",
"modified_time": "2026-08-11T16:40:07Z",
"source": "ghsa-malware"
}
]
}[
{
"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",
"cweId": "CWE-506"
}
]
{
"evidence_files": [
{
"path": "src/cjs/index.cjs",
"tlsh": "2ec3b685abe6e02a41ef76204adba333f901f9b3550c1d7cc3a1db685d7264e81e6f50",
"sha256": "9ea0f76297b2bd4c8d85a19e6c26f7fe4efabf9d2d1162a8412f7fa36939bd4c"
},
{
"path": "src/esm/index.js",
"tlsh": "afc3c685abe6e02a41ef76204adba333f901f9b3550c1d7cc3a1db685d7264e81e6f50",
"sha256": "a2a19c0b72c5708aa72701580e3d647cfe84a417a5f27fff90b66f63e30833c0"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/base65-12x/MAL-2026-13746.json"