Malicious Code Injection in psychological_leopard_0xrequest Package
Summary
MAL-2025-107409: Malicious code in psychological_leopard_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 psychological_leopard_0xrequest package is part of a series of npm packages that have been associated with the tea.xyz token reward campaign. These packages are designed to manipulate npm's publishing system, often flooding the registry with numerous derivative packages. The primary functionality of this package is to serve as a conduit for these malicious activities, which include generating and publishing random package names to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the psychological_leopard_0xrequest package stems from its involvement in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and creates random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly install these malicious packages, leading to potential security breaches and reputation damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall psychological_leopard_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 psychological_leopard_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The psychological_leopard_0xrequest package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to remove this package from their projects and monitor for vulnerabilities using tools like Vulert to ensure the safety and integrity of their applications.
See every vulnerability recorded for psychological_leopard_0xrequest →
FAQ
It is an npm package involved in a malicious campaign that floods the npm registry with derivative packages.
It can compromise your project's integrity by introducing malicious code and potentially damaging your reputation as a developer.
You should uninstall the package immediately and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors your project for open-source vulnerabilities using just the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.