Malicious Code Injection in assistant_crane_requirement Package
Summary
MAL-2025-93283: Malicious code in assistant_crane_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 assistant_crane_requirement package is part of the npm ecosystem, which is widely used for JavaScript package management. 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 users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the assistant_crane_requirement package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to pollute the npm registry and can lead to unauthorized access and exploitation of affected systems. The malicious payload can compromise the security of applications relying on this package, potentially allowing attackers to execute arbitrary code or manipulate application behavior.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall assistant_crane_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, users can remove the assistant_crane_requirement package from their project by executing the following command: npm uninstall assistant_crane_requirement. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The assistant_crane_requirement package has been identified as containing malicious code that poses a significant risk to applications using it. Users are advised to take immediate action by updating or uninstalling the package to mitigate potential threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for assistant_crane_requirement →
FAQ
The assistant_crane_requirement package is an npm package that is part of a malicious campaign targeting the npm registry, designed to manipulate package metadata.
This vulnerability can compromise the security of your application by allowing unauthorized modifications to package metadata, potentially leading to code execution or data breaches.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, it can identify if your application is affected by this vulnerability.
If you are using the assistant_crane_requirement package, you should immediately update it to the latest version or uninstall it until a secure version is released.
Yes, you can use Vulert's playground to monitor your application for vulnerabilities in real-time without needing to sign up. Simply upload your package-lock.json file to check for any issues.