Malicious Code Injection in Inevitable Dinosaur Toolteadev Package
Summary
MAL-2025-104176: Malicious code in inevitable_dinosaur-toolteadev (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 'inevitable_dinosaur-toolteadev' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other packages. The malicious scripts (auto.js, autopublish.js, etc.) are designed to automate this process, making it difficult for developers to manage their dependencies effectively.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall inevitable_dinosaur-toolteadev
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 package from your project by executing the following command: 'npm uninstall inevitable_dinosaur-toolteadev'. This will prevent any malicious code from executing in your environment.
Conclusion
The 'inevitable_dinosaur-toolteadev' package has been identified as containing malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to take immediate action by updating or removing the package to safeguard your projects.
See every vulnerability recorded for inevitable_dinosaur-toolteadev →
FAQ
The vulnerability involves malicious code that modifies package.json files and republishes variants to pollute the npm registry.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Using this package can lead to security risks, including the exposure of sensitive information and the pollution of the npm registry with malicious packages.
Yes, tools like Vulert can automate the detection of vulnerabilities in your npm packages by analyzing your package-lock.json file.
If no patched version is available, it is advisable to remove the package from your project to mitigate the risk of exploitation.