Malicious Code Injection in qxaceg-devapptea Package
Summary
MAL-2025-107680: Malicious code in qxaceg-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 qxaceg-devapptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, its functionality is compromised by malicious scripts that manipulate package metadata, leading to potential security risks.
Vulnerability Detail
The vulnerability in the qxaceg-devapptea package stems from the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. The origin of this vulnerability is linked to a broader campaign aimed at inflating developer reputation scores through automated publishing scripts. The ramifications include the risk of unintentional installation of compromised packages, which can introduce further security issues into dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall qxaceg-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 remove the qxaceg-devapptea package from your project by executing the following command: npm uninstall qxaceg-devapptea. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The qxaceg-devapptea package contains a significant vulnerability due to malicious code that alters package metadata. It is crucial to update or remove this package to protect your application from potential security threats. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your open-source dependencies.
See every vulnerability recorded for qxaceg-devapptea →
FAQ
qxaceg-devapptea is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to the installation of compromised packages and security vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.
If an immediate update is not possible, consider removing the package from your project as a temporary measure to mitigate risks.