Malicious Code Injection in mjtagb-devapp: npm Package Vulnerability
Summary
MAL-2025-105909: Malicious code in mjtagb-devapp (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
mjtagb-devapp is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate the development of applications by providing various functionalities. However, this package has been identified as malicious, containing scripts that automatically publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in mjtagb-devapp originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mjtagb-devapp
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 measure, you can avoid using mjtagb-devapp and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The mjtagb-devapp package has been identified as malicious, posing significant risks to developers and their applications. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for mjtagb-devapp →
FAQ
mjtagb-devapp is an npm package that is part of a token reward campaign, designed to assist developers in creating applications.
The vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially compromising your application's integrity.
You should remove the mjtagb-devapp package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.