Malicious Code Injection in courageous_ladybug_replicate_automation Package
Summary
MAL-2025-101039: Malicious code in courageous_ladybug_replicate_automation (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 courageous_ladybug_replicate_automation package is part of the npm ecosystem, typically used in JavaScript projects for automation tasks. However, this package has been identified as part of a malicious campaign that floods the npm registry with derivative packages. It is designed to inflate developer reputation scores through the automatic generation and publication of numerous packages with randomized names.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign associated with the tea.xyz token reward system. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can compromise the integrity of projects that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall courageous_ladybug_replicate_automation
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 workaround, you can manually remove the package from your project by executing the command: npm uninstall courageous_ladybug_replicate_automation. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The courageous_ladybug_replicate_automation package poses a significant risk due to its malicious code that modifies project files and floods the npm registry. It is crucial to remove this package and monitor your projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for courageous_ladybug_replicate_automation →
FAQ
It is an npm package used for automation tasks, but it has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project.
You should uninstall the package immediately and look for alternatives.
Yes, you can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.