MAL-2026-16026

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bmc-translate-utils/MAL-2026-16026.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16026
Aliases
  • GHSA-997w-vpm2-ww7x
Published
2026-09-07T13:51:36Z
Modified
2026-09-08T19:30:05Z
Summary
Malicious code in bmc-translate-utils (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (a55e2a625f0b96f6903cccac0251c6b8380cf9589a1f222e9de7e97dbf466156)

package.json declares a preinstall script bun run index.js. index.js is a ~500 KB javascript-obfuscator-packed module (rotated string array _0x71ec, decoder _0x2a3a, self-defending IIFE, hex identifier names) unrelated to the package's advertised translation purpose — the translation code lives in dist/cjs/. The obfuscated preinstall payload contains GitHub-API helpers that build Authorization: token <t> requests to /user and /user/orgs, parse the x-oauth-scopes response header, and return a token-classification record including hasRepoScope/hasWorkflowScope/orgs — token-triage logic. The same module installs a custom pbkdf2-derived RC4-style cipher on globalThis and wires it into a fetch(baseUrl + path, { headers: { Authorization: 'token ' + t,... } }) transport where baseUrl is concealed inside the obfuscated string array. Installing the package causes obfuscated code to auto-execute on the installer's machine, validate any accessible GitHub tokens, and transmit results through a custom-encrypted channel to a hidden endpoint.

Source: ghsa-malware (151730e69dd5abf8f5b7d63faf1118d677479b01cf65a7dbf391c2995e6b525b)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-997w-vpm2-ww7x",
            "import_time": "2026-09-08T00:15:11.0749639Z",
            "modified_time": "2026-09-07T13:51:36Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "151730e69dd5abf8f5b7d63faf1118d677479b01cf65a7dbf391c2995e6b525b",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-019668",
            "import_time": "2026-09-08T19:15:03.725629625Z",
            "modified_time": "2026-09-08T19:06:27Z",
            "sha256": "a55e2a625f0b96f6903cccac0251c6b8380cf9589a1f222e9de7e97dbf466156",
            "source": "amazon-inspector",
            "versions": [
                "1.1.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bmc-translate-utils

Package

Name
bmc-translate-utils
View open source insights on deps.dev
Purl
pkg:npm/bmc-translate-utils

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.1.1

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "e37e3ddeeaaa9e0c4fdbcb829b4895a6521031c80053fc436625b61e6ee5b1a6",
            "tlsh": "d5b4a31123d46960274b4fbb771bb5f2e88a09ee786d0c9fe124bc1066d9713fae8570"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bmc-translate-utils/MAL-2026-16026.json"