Malicious Code Injection in gpneff-devapptea Package: A Threat to npm Ecosystem
Summary
MAL-2025-103321: Malicious code in gpneff-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 gpneff-devapptea package is part of the tea.xyz token reward campaign, which has been associated with a series of malicious activities on the npm registry. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been compromised to include malicious scripts that can alter package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the gpneff-devapptea package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, thereby polluting the npm registry. The malicious payload is designed to inflate developer reputation scores through the automatic generation and publication of numerous derivative packages, which can lead to significant security risks and degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gpneff-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 gpneff-devapptea package from your project by executing the following command: 'npm uninstall gpneff-devapptea'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The gpneff-devapptea package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to take immediate action by uninstalling the package and monitoring their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your open-source dependencies.
See every vulnerability recorded for gpneff-devapptea →
FAQ
gpneff-devapptea is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code can modify your package.json file, remove private flags, and flood the npm registry with unwanted packages, potentially harming your project's integrity.
You should uninstall the gpneff-devapptea package immediately and check for any unauthorized changes to your project files.
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 also check if your application is affected by this vulnerability using the Vulert playground.
Regularly update your packages to their latest versions, monitor for vulnerabilities using tools like Vulert, and review your package dependencies for any suspicious activity.