Malicious Code Injection in consistent_panther_0xrequest: A Threat to npm Packages
Summary
MAL-2025-100883: Malicious code in consistent_panther_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 'consistent_panther_0xrequest' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to automate the generation and publishing of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This behavior raises concerns about the integrity of the npm registry and the potential for malicious exploitation.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the 'consistent_panther_0xrequest' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this issue is linked to the broader trend of malicious packages flooding the npm ecosystem, specifically targeting developers seeking token rewards. The ramifications include compromised package integrity, potential security risks for applications relying on these packages, and a polluted npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall consistent_panther_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 workaround, you can avoid using the 'consistent_panther_0xrequest' package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert to identify vulnerabilities in real-time.
Conclusion
The 'consistent_panther_0xrequest' package poses a significant threat due to its malicious code designed to manipulate package integrity and inflate developer reputation scores. It is essential to remove this package from your project and utilize tools like Vulert to monitor for vulnerabilities in your dependencies. Staying vigilant and informed is key to maintaining the security of your applications.
See every vulnerability recorded for consistent_panther_0xrequest →
FAQ
It is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
The vulnerability can lead to compromised package integrity, which may introduce security risks and instability in your application.
You should uninstall the 'consistent_panther_0xrequest' package immediately and monitor your dependencies for any further vulnerabilities.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for this vulnerability using the Vulert playground.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and avoid using packages from untrusted sources.