Malicious Code Injection in qhmlkj-devapptea Package
Summary
MAL-2025-107562: Malicious code in qhmlkj-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 qhmlkj-devapptea package is part of the tea.xyz token reward campaign that has recently infiltrated the npm ecosystem. This package is designed to facilitate token rewards through the generation and publication of derivative packages. However, it has been identified as containing malicious scripts that compromise its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the qhmlkj-devapptea package. This code is designed to manipulate the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants to the npm registry, leading to pollution of the registry and potential exploitation of applications using this package. The ramifications include unauthorized access, data leakage, and a compromised development environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall qhmlkj-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 qhmlkj-devapptea package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The qhmlkj-devapptea package poses a significant security risk due to its embedded malicious code. It is crucial to remove this package from your projects and monitor for any updates or patches. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for qhmlkj-devapptea →
FAQ
The qhmlkj-devapptea package is part of a token reward campaign that generates and publishes derivative packages on npm.
The malicious code can modify your package.json file, remove private flags, and republish variants, potentially leading to security vulnerabilities.
You should uninstall the qhmlkj-devapptea package immediately using npm uninstall qhmlkj-devapptea.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.