Malicious Code Injection in plavuf-devapptea Package
Summary
MAL-2025-107108: Malicious code in plavuf-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 plavuf-devapptea package is part of the tea.xyz token reward campaign, which has been associated with 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 harmful scripts that manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the plavuf-devapptea package originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but can also lead to potential security risks for applications relying on these packages, as they may inadvertently include malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall plavuf-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 plavuf-devapptea package from your project if it is not essential. Use the following command to uninstall it: npm uninstall plavuf-devapptea. Additionally, consider using alternative packages that do not have known vulnerabilities.
Conclusion
The plavuf-devapptea package has been identified as containing malicious code that can compromise the security of applications using it. It is crucial to update or remove this package to protect your project from potential threats. Utilizing tools like Vulert can help you monitor for such vulnerabilities effectively.
See every vulnerability recorded for plavuf-devapptea →
FAQ
plavuf-devapptea is a package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages for token rewards.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should update the package to the latest version or remove it from your project to mitigate the risk of exploitation.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.