Malicious Code Injection in precious_rooster-appteadev Package
Summary
MAL-2025-107187: Malicious code in precious_rooster-appteadev (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 precious_rooster-appteadev package is part of the npm ecosystem, primarily used for various development purposes. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the creation of derivative packages. This package, like others in the campaign, is designed to automatically publish variants with randomized names, which can lead to pollution of the npm registry and compromise the integrity of the software supply chain.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the precious_rooster-appteadev package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The primary risk is that it allows unauthorized modifications to the package, potentially leading to the distribution of compromised software. This behavior is part of a broader scheme associated with the tea.xyz token reward campaign, which exploits npm's publishing capabilities to manipulate developer reputation and flood the registry with unwanted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall precious_rooster-appteadev
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 package by adding it to your project's .npmrc file with the following line: package-lock=false. This will help avoid any accidental installations until the issue is resolved.
Conclusion
The precious_rooster-appteadev package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial to remove this package from your projects and utilize tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for precious_rooster-appteadev →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to unauthorized modifications of your package, potentially introducing malicious code and compromising your software.
You should uninstall the package immediately and monitor your project for any unauthorized changes.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.