Malicious Code Injection in unexpected_turtle_replicate_automation Package
Summary
MAL-2025-110098: Malicious code in unexpected_turtle_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 unexpected_turtle_replicate_automation package is part of a broader ecosystem within the npm registry, often associated with token reward campaigns. These packages are designed to automate the generation and publication of derivative packages, which can lead to inflated developer reputation scores. However, this functionality has been exploited to introduce malicious code that modifies package metadata and floods the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the unexpected_turtle_replicate_automation package. This payload alters the package.json file by removing private flags and changing version numbers, allowing the package to republish itself under random names. This not only compromises the integrity of the package but also pollutes the npm registry, making it difficult for developers to find legitimate packages. The malicious code is part of a larger scheme to manipulate developer reputation scores for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall unexpected_turtle_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 unexpected_turtle_replicate_automation package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The unexpected_turtle_replicate_automation package poses a significant risk due to its embedded malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for unexpected_turtle_replicate_automation →
FAQ
It is an npm package that automates the generation and publication of derivative packages, often used in token reward campaigns.
The malicious code modifies your package.json file, removes private flags, and floods the npm registry with unwanted package variants, compromising your project's integrity.
You should uninstall the package immediately and check for any dependencies that may rely on it. Consider using alternative packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can also check your application using the Vulert playground without any signup.
Regularly audit your dependencies, stay updated with security advisories, and utilize tools that monitor for vulnerabilities in your open-source packages.