Malicious Code Injection in tadasdhi-ert-tesru Package
Summary
MAL-2025-166667: Malicious code in tadasdhi-ert-tesru (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 tadasdhi-ert-tesru package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts that publish derivative packages. However, it has been compromised to include malicious code that alters its functionality.
Vulnerability Detail
The vulnerability originates from the package's design, which includes autopublish scripts that generate and publish numerous derivative packages with randomized names. This malicious payload modifies the package.json file by removing private flags, changing version numbers, and continuously republishing variants, which can lead to pollution of the npm registry and potential exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tadasdhi-ert-tesru
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 tadasdhi-ert-tesru package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall tadasdhi-ert-tesru.
Conclusion
The tadasdhi-ert-tesru package has been identified as containing malicious code that poses a significant risk to projects using it. It is crucial to take immediate action by updating or removing the package to safeguard your application.
See every vulnerability recorded for tadasdhi-ert-tesru →
FAQ
The tadasdhi-ert-tesru package is part of the npm ecosystem and is used in token reward campaigns, but it has been compromised with malicious code.
The malicious code modifies your package.json file, removes private flags, and can lead to the creation of numerous unwanted packages, potentially harming your project's integrity.
You should uninstall the package immediately and check for any updates or patches that may be released to address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.