Malicious Code Vulnerability in retail_cattle-toolteadev Package
Summary
MAL-2025-107982: Malicious code in retail_cattle-toolteadev (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 retail_cattle-toolteadev package is part of the npm ecosystem, primarily used for development purposes. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package is designed to manipulate package metadata and publish derivative versions, impacting the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the retail_cattle-toolteadev package, which contains malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names and continuously republishes variants, leading to pollution of the npm registry. This can inflate developer reputation scores fraudulently and potentially introduce security risks to applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall retail_cattle-toolteadev
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 remove the retail_cattle-toolteadev package from your project by running the following command: npm uninstall retail_cattle-toolteadev. Additionally, ensure that your package-lock.json file is monitored for any unauthorized changes.
Conclusion
The retail_cattle-toolteadev package contains a serious vulnerability that can compromise the integrity of your application. It is crucial to monitor your dependencies and take immediate action to mitigate risks by updating or removing affected packages.
See every vulnerability recorded for retail_cattle-toolteadev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's integrity and security.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
If no patched version exists, it is advisable to remove the package from your project and look for alternative packages that do not have known vulnerabilities.