Malicious Code Injection in perfect_reptile_0xrequest Package
Summary
MAL-2025-107024: Malicious code in perfect_reptile_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 perfect_reptile_0xrequest package is part of the npm ecosystem, typically 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 publish numerous variants with altered names and metadata.
Vulnerability Detail
The vulnerability stems from the package's malicious code, which 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 these variants, polluting the npm registry and potentially compromising the integrity of other packages and applications that depend on it. The source of this malicious activity has been traced back to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall perfect_reptile_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 this package by using npm's package-lock.json file to monitor dependencies. Ensure that you do not include perfect_reptile_0xrequest in your dependencies. Additionally, consider using Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The perfect_reptile_0xrequest package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. Immediate action is required to uninstall this package and monitor your project for vulnerabilities using tools like Vulert.
See every vulnerability recorded for perfect_reptile_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 vulnerability can lead to the pollution of the npm registry, which may compromise the integrity of other packages and applications that rely on npm.
You should uninstall the package immediately using the command: npm uninstall perfect_reptile_0xrequest.
Yes, you can use Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.