Malicious Code Injection in Optimistic Rabbit Replicate Automation Package
Summary
MAL-2025-106757: Malicious code in optimistic_rabbit_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 'optimistic_rabbit_replicate_automation' package is part of the npm ecosystem, typically used for automating tasks related to replication processes. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package includes scripts designed to manipulate package metadata and inflate developer reputation scores, making it a significant security risk.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the package, which is linked to the tea.xyz token reward campaign. It contains scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall optimistic_rabbit_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 temporary workaround, you can avoid using the 'optimistic_rabbit_replicate_automation' package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'optimistic_rabbit_replicate_automation' package poses a significant security risk due to its malicious code designed to manipulate package metadata. It is essential to remove this package from your projects and monitor your dependencies for similar vulnerabilities using tools like Vulert.
See every vulnerability recorded for optimistic_rabbit_replicate_automation →
FAQ
The package contains malicious code that modifies package metadata and floods the npm registry with derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, you can identify if your application is affected.
Immediately uninstall the package using 'npm uninstall optimistic_rabbit_replicate_automation' and check for any dependencies that may be affected.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring a signup.