Malicious Code Injection in tadasdhi-nila-tesru Package
Summary
MAL-2025-166669: Malicious code in tadasdhi-nila-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-nila-tesru package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious scripts within the tadasdhi-nila-tesru package. These scripts, such as auto.js and autopublish.js, are designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially harm developers' reputations and the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tadasdhi-nila-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-nila-tesru package from your project by executing: npm uninstall tadasdhi-nila-tesru. Additionally, you can monitor your project for vulnerabilities using Vulert, which analyzes your package-lock.json file to provide real-time alerts for open-source vulnerabilities.
Conclusion
The tadasdhi-nila-tesru package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to take immediate action by updating or removing the package to safeguard your project. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for tadasdhi-nila-tesru →
FAQ
The tadasdhi-nila-tesru package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially harming your project's reputation and integrity, as well as affecting the overall ecosystem.
You should update the package to a patched version if available or remove it from your project to mitigate the risk.
You can use Vulert, which requires only your package-lock.json file to monitor and alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.