Malicious Code Injection in proud_snake_0xrequest: A Threat to npm Packages
Summary
MAL-2025-107389: Malicious code in proud_snake_0xrequest (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 package 'proud_snake_0xrequest' is part of a broader campaign targeting the npm ecosystem, specifically linked to the tea.xyz token reward initiative. This package is designed to automate the generation and publication of derivative packages, which can mislead developers and inflate reputation scores for token rewards. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in 'proud_snake_0xrequest' stems from its association with a malicious campaign that uses scripts to alter package.json files. These scripts remove private flags, change version numbers, and create random package names, leading to the pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as they may inadvertently expose their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall proud_snake_0xrequest
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, you can avoid using the 'proud_snake_0xrequest' package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The 'proud_snake_0xrequest' package poses significant risks due to its malicious code designed to manipulate npm packages. It is essential for developers to remove this package and stay informed about potential vulnerabilities in their dependencies. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for proud_snake_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated package publishing.
Using this package can lead to security risks, including the potential for your application to be compromised or to inadvertently publish malicious packages.
You should immediately remove the 'proud_snake_0xrequest' package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground.
Yes, consider researching and using other npm packages that offer similar functionality without the associated risks.