Advisory

MAL-2026-16026

Also known as: GHSA-997w-vpm2-ww7x

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

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.

Severity

Not rated by the source.

Dates

Published
2026-09-07 13:51 UTC
Modified
2026-09-08 19:30 UTC

Affected packages and fixes

bmc-translate-utils

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences