Malicious Code Injection in serious_locust_replicate_automation Package
Summary
MAL-2025-108560: Malicious code in serious_locust_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 serious_locust_replicate_automation package is part of the npm ecosystem, primarily used for automation tasks related to locust replication. It is designed to facilitate various automation processes but has been compromised, making it susceptible to malicious activities. This vulnerability stems from its involvement in a broader campaign that exploits npm packages to inflate developer reputation scores through the generation of derivative packages.
Vulnerability Detail
The vulnerability in the serious_locust_replicate_automation package is characterized by the injection of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to a campaign that aims to manipulate the npm registry, posing significant risks such as reputation damage for developers and potential security breaches for users of the affected package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall serious_locust_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 prevent the installation of the vulnerable package by using the npm shrinkwrap feature or by manually removing it from your package.json file. Additionally, you can monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring code access.
Conclusion
The serious_locust_replicate_automation package has been compromised with malicious code that alters its functionality and poses risks to developers and users. It is crucial to update the package or remove it from your project until a secure version is available. Monitoring tools like Vulert can assist in keeping your dependencies secure.
See every vulnerability recorded for serious_locust_replicate_automation →
FAQ
It is an npm package used for automation tasks related to locust replication.
The vulnerability can lead to unauthorized modifications in your project, including the generation of malicious packages that can compromise your application's integrity.
If an update is not available, consider removing the package from your project and monitoring for any security updates.
You can use tools like Vulert, which allows you to monitor and receive alerts for open-source vulnerabilities in your software without needing to access the code.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.