Malicious Code Injection in ita-30: A Threat to npm Ecosystem
Summary
MAL-2025-156946: Malicious code in ita-30 (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 package 'ita-30' is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names, thus posing a significant threat to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'ita-30' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to pollute the npm registry by continuously republishing variants, which can lead to confusion among developers and compromise the security of applications relying on these packages. The malicious payload is part of a broader scheme to exploit the npm ecosystem for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ita-30
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 measure, avoid using the 'ita-30' package and consider using alternative packages that provide similar functionality without the associated risks. You can also monitor your project for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
Conclusion
The 'ita-30' package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential to remove this package from your projects and monitor for any vulnerabilities using tools like Vulert. Staying informed and proactive is key to maintaining the security of your applications.
See every vulnerability recorded for ita-30 →
FAQ
The ita-30 package contains malicious code that modifies package.json files and floods the npm registry with harmful variants.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by the ita-30 vulnerability without needing to sign up.
If you have installed ita-30, you should uninstall it immediately using 'npm uninstall ita-30' and check for any dependent packages.
Yes, consider using other npm packages that provide similar functionality but do not have the same malicious history.
Vulert monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities, ensuring your application remains secure.