Critical Malicious Code Vulnerability in anonsurf Package
Summary
MAL-2025-14551: Malicious code in anonsurf (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 anonsurf package is a tool designed to facilitate anonymous browsing by routing internet traffic through various proxies. It is commonly used by developers and privacy-conscious users to enhance online anonymity. However, this package has been found to contain malicious code, posing significant risks to users who rely on it for secure browsing.
Vulnerability Detail
The vulnerability in the anonsurf package originates from the inclusion of malicious code that can compromise user data and system integrity. This code can lead to unauthorized access, data theft, and potential exploitation of the user's environment. The issue is particularly concerning as it affects all versions starting from the initial release, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall anonsurf
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
As a temporary workaround, users should avoid using the anonsurf package until a patched version is released. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the anonsurf package highlights the importance of vigilance when using open-source software. Users are urged to update their packages promptly and consider alternative solutions until a fix is available.
See every vulnerability recorded for anonsurf →
FAQ
Anonsurf is a package that allows users to browse the internet anonymously by routing their traffic through various proxies.
The malicious code can lead to unauthorized access and data theft, compromising user privacy and security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Yes, avoid using the anonsurf package until a patched version is released, and consider using alternative packages.
Regularly check for updates in your package manager and consider using tools like Vulert to monitor vulnerabilities in real-time.