base65-13x (npm) · Malicious Code
Affects base65-13xSource GCVE Database
Malicious package : remove base65-13x and rotate any secrets on hosts that installed it.
Data as of 12 Aug 2026, 16:10 UTC
Malicious package
Published to npm · OSV MAL-2026-13747
What to do
Remove base65-13x from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmbase65-13x | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (59226f2c38efcc1dd5de6423edfc866125564cd726915307d7a05ca5b5f13529) base65-13x@5.0.2 impersonates cryptocoinjs/base-x, reusing its README, homepage, and API surface, but the exported decode(string) function in both src/esm/index.js (line 114) and src/cjs/index.cjs (line 116) contains a ~123KB VM-style obfuscated payload using rotated identifiers (vmR, vmr_92f1a9, vmw_4ee781) built via Object.defineProperty. The blob contains multiple references to the Function constructor and fetch, indicating dynamic code construction and outbound network I/O. Genuine base-x is roughly 50 lines of pure arithmetic with no obfuscation and no network activity. Any consumer invoking decode() on this package executes the packed VM, which dynamically constructs code with fetch capability. The destination hosts and constructed code are concealed by the obfuscation and are not statically visible. ## Source: ghsa-malware (8f16b7879f3a0b67bc7621645bf52c742af231c6e4156550ff4393f0167936ad) 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.