Malicious Code Injection in opposite_cattle-appteadev Package
Summary
MAL-2025-106748: Malicious code in opposite_cattle-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 opposite_cattle-appteadev package is part of the npm ecosystem, often utilized in various Node.js applications. This package has been identified as part of a larger malicious campaign that aims to exploit npm's package publishing system. It is designed to automatically generate and publish derivative packages with randomized names, which can mislead developers and inflate reputation scores for token rewards.
Vulnerability Detail
The vulnerability originates from the package's malicious code, which modifies the package.json file by removing private flags and altering version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for dependency confusion and the introduction of harmful code into applications that rely on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall opposite_cattle-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 avoid using the opposite_cattle-appteadev package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The opposite_cattle-appteadev package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for similar vulnerabilities. Utilizing tools like Vulert can aid in maintaining a secure development environment.
See every vulnerability recorded for opposite_cattle-appteadev →
FAQ
The package contains malicious code that modifies package.json files and floods the npm registry with harmful variants.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately and check for any other affected packages in your project.
Yes, consider researching other npm packages that provide similar functionality without the associated risks.
Vulert uses your package-lock.json to monitor for vulnerabilities in your dependencies and alerts you in real-time, helping you maintain secure applications.