Malicious Code Injection in iuaynf-devapptea: A Threat to npm Users
Summary
MAL-2025-104445: Malicious code in iuaynf-devapptea (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
iuaynf-devapptea is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with various packages. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. The functionality of this package, while seemingly innocuous, has been compromised due to malicious code that alters its behavior.
Vulnerability Detail
The vulnerability in iuaynf-devapptea stems from its inclusion in a campaign that utilizes autopublish scripts to modify package.json files. This malicious payload removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only affects the integrity of the npm ecosystem but can also lead to security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall iuaynf-devapptea
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 iuaynf-devapptea package and monitor your project for any dependencies that may inadvertently include it. You can also utilize tools like Vulert to monitor your package-lock.json file for any vulnerabilities in real-time.
Conclusion
The iuaynf-devapptea package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any compromised packages. Utilizing tools like Vulert can help in monitoring and securing your projects against such vulnerabilities.
See every vulnerability recorded for iuaynf-devapptea →
FAQ
iuaynf-devapptea is an npm package linked to the tea.xyz token reward campaign, which has been associated with malicious activities.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and security.
You should uninstall the package immediately using 'npm uninstall iuaynf-devapptea' and check your project for any other affected dependencies.
Regularly update your dependencies, monitor your package-lock.json with tools like Vulert, and be cautious of packages that are part of reward campaigns.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.