Malicious Code Injection in bright_pony_0xrequest Package
Summary
MAL-2025-100108: Malicious code in bright_pony_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 bright_pony_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript development. This package is linked to the tea.xyz token reward campaign, which has been associated with a surge of malicious packages designed to inflate developer reputation scores. The package's functionality is compromised due to its malicious intent, which includes generating and publishing derivative packages with harmful scripts.
Vulnerability Detail
The vulnerability in the bright_pony_0xrequest package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of dependent projects. The malicious payload can result in security breaches, unauthorized access, and a loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bright_pony_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 prevent the installation of the bright_pony_0xrequest package by using npm's package-lock.json to monitor and alert for vulnerabilities. You can also use the following command to audit your dependencies: npm audit.
Conclusion
The bright_pony_0xrequest package poses a significant security risk due to its malicious code designed to manipulate npm's package registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for bright_pony_0xrequest →
FAQ
It is an npm package associated with a malicious campaign aimed at inflating developer reputation scores.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Using this package can lead to security breaches, unauthorized access, and pollution of the npm registry, affecting the integrity of your project.
Run the command npm uninstall bright_pony_0xrequest in your terminal and check your package-lock.json for any references to it.
Currently, there is no patched version available. The best course of action is to remove the package entirely.