Malicious Code Injection in interior_mite_z3n Package - npm Vulnerability
Summary
MAL-2025-95093: Malicious code in interior_mite_z3n (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 interior_mite_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to manipulate the npm registry for fraudulent reputation gains, making them a significant threat to developers and users alike.
Vulnerability Detail
The vulnerability in the interior_mite_z3n package 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 part of a broader scheme to inflate developer reputation scores for token rewards by continuously republishing variants of the package. The malicious payload can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall interior_mite_z3n
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 workaround, you can avoid using the interior_mite_z3n package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The interior_mite_z3n package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for interior_mite_z3n →
FAQ
The interior_mite_z3n package is an npm package that has been identified as malicious, primarily associated with the tea.xyz token reward campaign.
This vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially compromising the integrity of your application.
You should uninstall the interior_mite_z3n package immediately and check your package-lock.json file for any references to it.
Yes, tools like Vulert can help monitor your dependencies for open-source vulnerabilities in real-time, using just your package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.