NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

tokenization-utilnpm

Advisory published Updated

tokenization-util is a confirmed malicious npm package (MAL-2026-6440) that opens a backdoor for remote access (malicious versions 0.1.0, 0.2.0, 1.1.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in tokenization-util (npm)

MAL-2026-6440
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall tokenization-util

What this malware does

The package advertises plain math/formatter helpers but index.js contains a heavily obfuscated payload concealed inside the calculateTokenPrice function. The payload is hidden behind ~1500 leading tab characters of visual padding, then uses two seeded Fisher-Yates string-shuffler decoders and String.fromCharCode splicing to reconstruct the identifiers 'constructor', 'require', and 'module' at runtime. The code resolves Function via yLb[kqz] (a string-shuffled property lookup for 'constructor'), uses that Function constructor to build a decoder from one shuffled blob, decodes a second scrambled blob into JS source, and invokes that source via Function(...)(3004). It also assigns the CommonJS require and module bindings to globalThis (global[require]=require; global[module]=module), giving the decoded code access to any Node built-in (network, fs, child_process) regardless of how the package is imported. None of this behavior is documented in the README or exposed through the advertised API. The combination of multi-layer obfuscation, visual concealment via tab padding, dynamic eval of decoded literals, and forced global exposure of require/module is the canonical shape of a hidden remote-code-execution backdoor in an npm utility package — the decoded payload runs whenever calculateTokenPrice is called by a consumer.

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 versions

3 flagged
0.1.00.2.01.1.0

Indicators of compromise (SHA-256)

81f8a194aa79844110dede95f5f8c798d05c04c08f1a4f5d8822124b17c65fa6
98ad20b73424aeaaf58831c2ff2b370fcb5062535fdcc0501bf92281ca169740
6889e1ba434ec22ee416286fff9c2917794ee60aa78361043e1742767ca877f2
5c62d3b50a40b7615b28929ceb0cdfe55388bf7b877f5b9c3fef54054befdd87

Detection & response playbook

Backdoor / remote access
  1. Find it

    Search your lockfiles and build artifacts for tokenization-util (3 malicious versions).

  2. If you installed it — respond

    tokenization-util establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.

  3. Did it already run?

    If tokenization-util was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. tokenization-util on npm has been identified as a malicious package (versions 0.1.0, 0.2.0, 1.1.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-007459IN-MAL-2026-007460GHSA-wp9r-fqrq-cg5hIN-MAL-2026-009810

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks tokenization-util-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.

Explore

tokenization-util (npm) malicious package — MAL-2026-6440 | O3 Security