Malicious code in bs58-12 (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13759
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4d59b2d561269e6779eed82e12abe726403e9a2419936c01a4deaea9c3e70b2c) Package bs58-12 presents itself as the popular bs58 base58 library (README copied from bs58, advertising `npm i --save bs58`) but its own code is a thin wrapper: index.js does `require("base65-12x")` and the sole declared runtime dependency is `base65-12x` at ^5.0.1, a name resembling the `base-x` library the real bs58 uses. The package under analysis contains no exfiltration, credential access, install/import-time destructive action, or lifecycle scripts; the only installer-facing behavior is pulling in base65-12x as a dependency. Whether installing bs58-12 causes harm depends on the code shipped by base65-12x, which is a separate package not analyzed here. ## Source: ghsa-malware (c9410cfc5179babda824df65e0e58d3b719fc5e1c372187750023af1a23702d2) 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.
- Source published
- 11 Aug 2026 16:40:07 UTC
- Source modified
- 12 Aug 2026 12:30:16 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.