Malicious Code Injection in mzjbwp-devapptea Package
Summary
MAL-2025-106075: Malicious code in mzjbwp-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 mzjbwp-devapptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem. This package is designed to facilitate token rewards through various scripts that automatically generate and publish derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the mzjbwp-devapptea package originates from its malicious payload, which modifies the package.json file to remove private flags and changes version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can inflate developer reputation scores fraudulently and may lead to the distribution of compromised packages to users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mzjbwp-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 temporarily avoid using the mzjbwp-devapptea package by removing it from your dependencies. If you need similar functionality, consider using alternative packages that are verified and do not exhibit malicious behavior.
Conclusion
The mzjbwp-devapptea package contains malicious code that poses a significant risk to applications using it. It is crucial to remove this package and monitor for any updates or alternative solutions to maintain the security of your software.
See every vulnerability recorded for mzjbwp-devapptea →
FAQ
The mzjbwp-devapptea package is part of a token reward campaign that automates the generation and publication of npm packages.
This vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should immediately remove the mzjbwp-devapptea package from your project and monitor for any updates or patches.
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 visit the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.