Malicious Code Injection in miftaiky-future-valley Package
Summary
MAL-2025-160409: Malicious code in miftaiky-future-valley (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 miftaiky-future-valley package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that modify its own package.json file.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior leads to the pollution of the npm registry and can potentially compromise the integrity of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall miftaiky-future-valley
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 miftaiky-future-valley package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The miftaiky-future-valley package has been identified as containing malicious code that can compromise the npm registry and applications using it. It is crucial to uninstall this package and monitor your projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for miftaiky-future-valley →
FAQ
It is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application if it relies on this package.
You should uninstall the miftaiky-future-valley package immediately to mitigate any risks.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.