Critical Malicious Code Vulnerability in base62-58x Package
Summary
MAL-2025-190624: Malicious code in base62-58x (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The base62-58x package is an npm library designed for encoding and decoding data in a base62 format. It is commonly used in applications that require compact representation of numerical values. However, this package has been compromised, leading to severe security risks for any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code embedded within the base62-58x package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code was identified by the GitHub Security Advisory (GHSA-35vp-3qxv-xfp5), which indicates that the package should be treated as a significant threat to system integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall base62-58x
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There are no effective workarounds for this vulnerability other than removing the package and securing your system. It is essential to monitor your environment for any signs of compromise.
Conclusion
The base62-58x package poses a critical security risk due to embedded malicious code. Immediate removal of the package and rotation of sensitive information is essential to safeguard your system. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for base62-58x →
FAQ
The base62-58x package is used for encoding and decoding data in a base62 format, which is useful for compactly representing numerical values.
If you have the base62-58x package installed, your system is at risk. You can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.
Immediately rotate all secrets and keys stored on the affected computer from a different, secure machine.
No, there is no patch available for this package. The only solution is to remove it entirely from your system.
Regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.