Malicious Code Injection in advisory_asp_replicate_automation Package
Summary
MAL-2025-99216: Malicious code in advisory_asp_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 advisory_asp_replicate_automation package is part of the npm ecosystem, typically used for automation tasks in JavaScript applications. It is designed to facilitate various automation processes, but it has been compromised by malicious actors. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with harmful packages aimed at inflating developer reputation scores.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the advisory_asp_replicate_automation package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, polluting the npm registry and potentially leading to reputational damage for developers and security risks for applications using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall advisory_asp_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 advisory_asp_replicate_automation package from your project by executing the command: 'npm uninstall advisory_asp_replicate_automation'. This will prevent the malicious code from executing until a secure version is available.
Conclusion
The advisory_asp_replicate_automation package has been compromised with malicious code that poses significant risks to applications using it. It is crucial to update or remove the package to mitigate these risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for advisory_asp_replicate_automation →
FAQ
It is an npm package used for automation tasks, but it has been compromised with malicious code.
The malicious code modifies your package.json file and can lead to the publication of harmful packages, affecting your application's integrity.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
As a temporary measure, you can uninstall the package to prevent any malicious activity until a secure version is released.
Detailed information can be found in the vulnerability report on the GitHub repository for malicious packages.