# GHSA-M962-7HQX-P4H8: Malicious code in base65-15x (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-08-11
- Modified: 2026-09-02

## Affected versions

- base65-15x (npm): 5.0.2

## Description

## Source: amazon-inspector (00fcb69b2f5c7e64ede8df36e3865dad82632ef076c6c2974b568727ec046062)
base65-15x is a typosquat of the base-x package. Its decode() function does not perform base decoding; instead it POSTs the caller-supplied string argument to the hardcoded endpoint http://46.250.253.63:3000/api/log over plain HTTP and then throws. Both the CommonJS entry and the ESM build (src/esm/index.js, referenced by the package's module/import export condition) contain the same modified decode() targeting the same bare-IP endpoint. Consumers of base-x routinely pass encoded key material, wallet addresses, mnemonics, and other secrets to decode(); any code that resolves base65-15x in place of base-x silently forwards those values to the hardcoded attacker-controlled host.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/015eee03d13dd119c608c3fda8034ae6e540e772/osv/malicious/npm/base65-15x/MAL-2026-13748.json))

## References

- https://github.com/ossf/malicious-packages/blob/015eee03d13dd119c608c3fda8034ae6e540e772/osv/malicious/npm/base65-15x/MAL-2026-13748.json
- https://www.npmjs.com/package/base65-15x/v/5.0.2
- https://github.com/ossf/malicious-packages/blob/672afd706555c110bda936d989979013c03d62f2/osv/malicious/npm/base65-15x/MAL-2026-13748.json
- https://github.com/advisories/GHSA-m962-7hqx-p4h8

Page: https://cve.now/GHSA-M962-7HQX-P4H8

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
