Malicious Code Injection in nmqnuh-devapptea: A Threat to npm Users
Summary
MAL-2025-106355: Malicious code in nmqnuh-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
The package nmqnuh-devapptea is part of the tea.xyz token reward campaign that has recently inundated the npm ecosystem. This package is designed to facilitate the automatic generation and publication of derivative packages, which can mislead developers and inflate reputation scores for token rewards. Its functionality revolves around manipulating package metadata to achieve these ends, making it a significant target for malicious exploitation.
Vulnerability Detail
The vulnerability in nmqnuh-devapptea arises from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly use these compromised packages. The origin of this issue is linked to the broader tea.xyz token reward scheme, which incentivizes such malicious practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nmqnuh-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 measure, you can avoid using the nmqnuh-devapptea package altogether and monitor your project for any dependencies that may indirectly include it. Regularly audit your package-lock.json file for any unexpected changes or additions.
Conclusion
The nmqnuh-devapptea package poses a significant risk due to its malicious code that alters package metadata and pollutes the npm registry. It is essential for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, you can safeguard your projects from potential threats.
See every vulnerability recorded for nmqnuh-devapptea →
FAQ
nmqnuh-devapptea is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of your npm registry and may compromise your project's integrity by introducing malicious code.
You should uninstall the package immediately using 'npm uninstall nmqnuh-devapptea' and audit your project for any other compromised dependencies.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Yes, tools like Vulert can help you monitor and alert for vulnerabilities in your npm packages, ensuring your project remains secure.