Malicious code in bs58-13 (npm)
The npm package bs58-13 is a malicious package impersonating the popular base58 encoding library bs58. Instead of providing legitimate functionality, it requires a similarly named malicious dependency base65-13x. Installing bs58-13 results in the installation of this malicious dependency, which can lead to full system compromise. Any system with this package installed should be considered compromised, and all secrets and keys must be rotated immediately. Removal of the package alone may not eliminate the malicious presence due to potential persistent backdoors or additional malware.
AI Analysis
Technical Summary
The bs58-13 npm package is a malicious clone of the legitimate bs58 library. Its main module does not implement base58 encoding but instead requires and re-exports a malicious dependency named base65-13x, which mimics the name of the genuine base-x library normally used by bs58. The wrapper package itself does not perform lifecycle scripts or network, filesystem, or shell operations, but installing it causes the malicious base65-13x package to be loaded, potentially compromising the host system. This package is identified as fully compromising any computer on which it is installed.
Potential Impact
Systems with bs58-13 installed are considered fully compromised. Attackers may have gained full control, risking exposure of all stored secrets and keys. The compromise may include persistent malicious software beyond the package itself, making simple removal insufficient to restore system integrity.
Mitigation Recommendations
Remove the bs58-13 package immediately. Rotate all secrets and keys from a separate, uncompromised system. Because full system compromise is likely, conduct a thorough incident response and forensic analysis to identify and eradicate any persistent malicious components. There is no official patch or fix; the package should be avoided entirely.
Malicious code in bs58-13 (npm)
Description
The npm package bs58-13 is a malicious package impersonating the popular base58 encoding library bs58. Instead of providing legitimate functionality, it requires a similarly named malicious dependency base65-13x. Installing bs58-13 results in the installation of this malicious dependency, which can lead to full system compromise. Any system with this package installed should be considered compromised, and all secrets and keys must be rotated immediately. Removal of the package alone may not eliminate the malicious presence due to potential persistent backdoors or additional malware.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The bs58-13 npm package is a malicious clone of the legitimate bs58 library. Its main module does not implement base58 encoding but instead requires and re-exports a malicious dependency named base65-13x, which mimics the name of the genuine base-x library normally used by bs58. The wrapper package itself does not perform lifecycle scripts or network, filesystem, or shell operations, but installing it causes the malicious base65-13x package to be loaded, potentially compromising the host system. This package is identified as fully compromising any computer on which it is installed.
Potential Impact
Systems with bs58-13 installed are considered fully compromised. Attackers may have gained full control, risking exposure of all stored secrets and keys. The compromise may include persistent malicious software beyond the package itself, making simple removal insufficient to restore system integrity.
Defensive Guidance
Remove the bs58-13 package immediately. Rotate all secrets and keys from a separate, uncompromised system. Because full system compromise is likely, conduct a thorough incident response and forensic analysis to identify and eradicate any persistent malicious components. There is no official patch or fix; the package should be avoided entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13760
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-72pr-qcvq-fgpg"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7c9b4dbf8831d539cdd75a
Added to database: 08/12/2026, 16:11:57 UTC
Last enriched: 08/12/2026, 16:59:56 UTC
Last updated: 08/12/2026, 16:59:56 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.