Malicious Code Injection in jewwei-devapptea Package
Summary
MAL-2025-104546: Malicious code in jewwei-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 jewwei-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 for developers by automatically generating and publishing derivative packages. However, it has been identified as containing malicious scripts that can compromise the integrity of the npm registry and the projects that depend on it.
Vulnerability Detail
The vulnerability in the jewwei-devapptea package stems from its inclusion of autopublish scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the pollution of the npm registry. This behavior can inflate developer reputation scores fraudulently and potentially introduce harmful code into dependent projects, posing significant security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jewwei-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 jewwei-devapptea package until a secure version is released. Additionally, you may want to audit your project's dependencies using npm audit to identify and mitigate any other potential vulnerabilities.
Conclusion
The jewwei-devapptea package has been identified as containing malicious code that can compromise the security of projects relying on it. It is crucial for developers to take immediate action by updating or removing the package to mitigate potential risks. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for jewwei-devapptea →
FAQ
The jewwei-devapptea package is part of a token reward campaign that aims to incentivize developers through automatic package generation and publication.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should update the package to a patched version if available, or consider removing it from your project until a secure version is released.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.