Malicious Code Injection in foreign_mite-silentdev Package
Summary
MAL-2025-102859: Malicious code in foreign_mite-silentdev (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 foreign_mite-silentdev 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. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the foreign_mite-silentdev package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall foreign_mite-silentdev
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 avoid using the foreign_mite-silentdev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The foreign_mite-silentdev package poses a significant risk due to its malicious code that alters package metadata and publishes compromised versions. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity and security of their projects.
See every vulnerability recorded for foreign_mite-silentdev →
FAQ
The foreign_mite-silentdev package is an npm package that has been identified as malicious, associated with a token reward campaign that floods the npm registry.
This vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and security.
If you have installed the foreign_mite-silentdev package, you should uninstall it immediately using 'npm uninstall foreign_mite-silentdev' and check for any other compromised packages.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and consider using tools like Vulert to monitor for vulnerabilities in real-time.
Vulert is a tool that monitors your package-lock.json file for open-source vulnerabilities in real-time. You can use the Vulert playground to check if your application is affected by vulnerabilities without requiring any installation.