Malicious Code Injection in standard_python_0xrequest Package
Summary
MAL-2025-109077: Malicious code in standard_python_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 standard_python_0xrequest package is part of the npm ecosystem, primarily used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to inflate developer reputation scores through automated scripts that republish variants of itself with altered metadata.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the standard_python_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads to the pollution of the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which employs autopublish scripts to create and distribute these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall standard_python_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 remove the standard_python_0xrequest package from your project by executing the command: 'npm uninstall standard_python_0xrequest'. This will prevent any malicious code from executing in your application.
Conclusion
The standard_python_0xrequest package poses a significant risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial to take immediate action by updating or uninstalling the package to safeguard your application.
See every vulnerability recorded for standard_python_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately and check for any updates or patches that may be available.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without any signup.