Malicious Code Injection in hurt_kangaroo-strongdev: A Threat to npm Packages
Summary
MAL-2025-103851: Malicious code in hurt_kangaroo-strongdev (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 package 'hurt_kangaroo-strongdev' is part of a series of npm packages that have been associated with the tea.xyz token reward campaign. These packages are designed to manipulate npm's publishing system, often containing scripts that automatically generate and publish derivative packages. This behavior is intended to inflate developer reputation scores for rewards associated with the tea protocol. The presence of malicious code in such packages poses a significant risk to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in 'hurt_kangaroo-strongdev' originates from its association with malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This not only pollutes the npm registry but also compromises the integrity of the packages, potentially allowing for further exploitation or misuse by malicious actors. The ramifications include loss of trust in the npm ecosystem and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hurt_kangaroo-strongdev
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 'hurt_kangaroo-strongdev' and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using npm audit to identify and address vulnerabilities in your project's dependencies.
Conclusion
The 'hurt_kangaroo-strongdev' package poses a significant risk due to its malicious code that manipulates npm's publishing system. It is essential for developers to be vigilant and take necessary actions to secure their applications by updating or removing affected packages. Utilizing tools like Vulert can enhance your ability to monitor and manage vulnerabilities effectively.
See every vulnerability recorded for hurt_kangaroo-strongdev →
FAQ
'hurt_kangaroo-strongdev' is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
If you have installed 'hurt_kangaroo-strongdev', it is crucial to remove it and update your dependencies to ensure your application is secure.
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 if your application is affected by this vulnerability without any signup.