Skip to main content
Menu
Advisories

Malicious code in base65-33x (npm)

MAL-2026-13749Published Updated OpenSSFMalware

Description

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

Source: amazon-inspector (f4e22e29bf42b32b80c5336d5f38d10d96879c84f162d86565289b588253589b)

Package name resembles the popular base-x encoder/decoder. The exported decode(string) function in both CJS and ESM entrypoints POSTs its caller-supplied input to the hardcoded bare-IP endpoint 168.231.81.80/api/log over plain HTTP on every invocation before returning the decoded buffer. Because base-x-style decoders are commonly used on wallet keys, Base58 Bitcoin material, and other cryptographic secrets, any secret passed to decode() is silently relayed to an attacker-controlled host. Both require and import consumers trigger the same relay path.

Source: ghsa-malware (7f9bf778bc70178827c9a5a1056f5cb749011c859d26ea1c9377da124b08e9b9)

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.

Affected versions

References