Malicious Code Injection in Generous Gorilla Replicate Automation Package
Summary
MAL-2025-103080: Malicious code in generous_gorilla_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 'generous_gorilla_replicate_automation' package is part of the npm ecosystem, typically used for automation tasks. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages to inflate developer reputation scores for token rewards. This package, like others in the campaign, contains scripts designed to manipulate package metadata and republish variants, leading to potential security risks.
Vulnerability Detail
This vulnerability originates from the package being part of a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes them, which can lead to pollution of the npm registry and compromise the integrity of the software supply chain. The malicious payload can affect developers by altering their package metadata and reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall generous_gorilla_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 remove the package from your project by executing the following command: 'npm uninstall generous_gorilla_replicate_automation'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The 'generous_gorilla_replicate_automation' package has been identified as containing malicious code that can compromise your project's integrity. It is crucial to update or remove the package to protect your applications from potential threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for generous_gorilla_replicate_automation →
FAQ
The impact includes potential manipulation of your package metadata, which can lead to reputation damage and security risks in your applications.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
If an immediate update is not possible, consider removing the package as a temporary measure to mitigate risks.
More information can be found in the vulnerability report on the GitHub repository for malicious packages.
Yes, tools like Vulert can automate the monitoring of your dependencies for vulnerabilities using just the package-lock.json file.