Malicious Code Injection in ita-7 Package: A Threat to npm Ecosystem
Summary
MAL-2025-156970: Malicious code in ita-7 (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 ita-7 package 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 often contain scripts that manipulate package metadata and publish derivative packages, posing a significant risk to developers and their projects.
Vulnerability Detail
The vulnerability in the ita-7 package stems from its inclusion in a malicious campaign that utilizes autopublish scripts to generate and publish numerous derivative packages with randomized names. This behavior not only inflates developer reputation scores for token rewards but also modifies the package.json file by removing private flags and changing version numbers. The continuous republishing of these variants pollutes the npm registry, making it difficult for developers to trust the integrity of packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ita-7
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, you can avoid using the ita-7 package and replace it with an alternative package that provides similar functionality without the associated risks. Always verify the integrity and reputation of packages before installation.
Conclusion
The ita-7 package poses a significant threat due to its malicious code that modifies package metadata and floods the npm registry with derivative packages. It is essential to remove this package from your projects and adopt best practices for dependency management to safeguard your applications.
See every vulnerability recorded for ita-7 →
FAQ
The ita-7 package is an npm package that has been identified as part of a malicious campaign aimed at manipulating package metadata and inflating developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, making it difficult to trust the integrity of packages. It may also expose your project to further security risks.
You should uninstall the ita-7 package immediately using 'npm uninstall ita-7' and consider replacing it with a more secure alternative.
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 check if your application is affected by visiting the Vulert playground.
Regularly update your dependencies to their latest versions, use trusted packages, and utilize tools like Vulert to monitor for vulnerabilities.