Malicious Code Injection in perfect_tiger_0xrequest: A Threat to npm Packages
Summary
MAL-2025-107026: Malicious code in perfect_tiger_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 'perfect_tiger_0xrequest' is part of a broader campaign that exploits the npm ecosystem, particularly targeting developers involved in 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 within the npm registry. The malicious nature of this package poses significant risks to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'perfect_tiger_0xrequest' originates from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also compromises the security and trustworthiness of the packages within it. The ramifications include potential exposure to further malicious activities and a degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall perfect_tiger_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 measure, you can prevent the installation of this malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include 'perfect_tiger_0xrequest' in its dependencies. You can also utilize Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The 'perfect_tiger_0xrequest' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package publishing. It is crucial for developers to remain vigilant, remove any instances of this package, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for perfect_tiger_0xrequest →
FAQ
'perfect_tiger_0xrequest' is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
If you have installed 'perfect_tiger_0xrequest', you should immediately remove it from your project and check for any other affected packages.
You can use Vulert to monitor your project's package-lock.json for vulnerabilities without requiring any code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.