Malicious Code Injection in normal_kangaroo_requirement Package
Summary
MAL-2025-95661: Malicious code in normal_kangaroo_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 normal_kangaroo_requirement package is part of the npm ecosystem, primarily used for managing dependencies in JavaScript applications. It is designed to facilitate the installation and management of packages, but it has been compromised as part of a larger malicious campaign targeting npm. This package is associated with the tea.xyz token reward initiative, which has led to the proliferation of malicious packages designed to inflate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the normal_kangaroo_requirement package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then republished to the npm registry. The origin of this vulnerability is linked to a campaign that aims to exploit the npm ecosystem by flooding it with derivative packages, thereby polluting the registry and potentially compromising other projects that depend on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall normal_kangaroo_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, you can remove the normal_kangaroo_requirement package from your project by executing the command: npm uninstall normal_kangaroo_requirement. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The normal_kangaroo_requirement package has been identified as containing malicious code that can compromise your application. It is crucial to take immediate action by updating or removing the package to safeguard your project. Utilizing tools like Vulert can help you monitor for such vulnerabilities in real-time.
See every vulnerability recorded for normal_kangaroo_requirement →
FAQ
It is an npm package used for managing dependencies in JavaScript applications, but it has been compromised with malicious code.
The malicious code modifies your package.json file and can lead to the automatic generation of harmful packages that pollute the npm registry.
You should uninstall the package immediately and check for any updates or patches that may be released.
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 needing to sign up.