Malicious Code Injection in mechanical_jaguar_requirement Package
Summary
MAL-2025-95424: Malicious code in mechanical_jaguar_requirement (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 mechanical_jaguar_requirement package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in the mechanical_jaguar_requirement package originates from its association with a malicious campaign that employs autopublish scripts. These scripts modify the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants pollutes the npm registry, leading to potential security risks and integrity issues for developers relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mechanical_jaguar_requirement
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, consider removing the mechanical_jaguar_requirement package from your project until a secure version is released. You can uninstall it using the command: npm uninstall mechanical_jaguar_requirement.
Conclusion
The mechanical_jaguar_requirement package poses a significant risk due to its malicious code that modifies package metadata. It is crucial to update or remove this package to maintain the integrity and security of your projects. Utilizing tools like Vulert can help monitor vulnerabilities effectively.
See every vulnerability recorded for mechanical_jaguar_requirement →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and security.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring any signup.
If an immediate update is not possible, consider removing the package as a temporary measure until a secure version is available.