Malicious Code Injection in jzonki-devapptea: A Threat to npm Users
Summary
MAL-2025-104745: Malicious code in jzonki-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
jzonki-devapptea is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards through the automatic generation and publication of derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the jzonki-devapptea package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. The scripts are designed to inflate developer reputation scores for token rewards, posing a significant risk to developers relying on npm for package management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jzonki-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 workaround, you can monitor your package dependencies using tools like Vulert. By utilizing Vulert's playground at https://vulert.com/scanner, you can check if your application is affected by this vulnerability without requiring any signup.
Conclusion
The jzonki-devapptea package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for jzonki-devapptea →
FAQ
jzonki-devapptea is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, removes private flags, and floods the npm registry with unwanted package variants, which can compromise your project's integrity.
You should uninstall the package immediately using the command 'npm uninstall jzonki-devapptea' to mitigate any potential risks.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application.
There is no patch available for this package. It is recommended to remove it entirely from your project.