Malicious Code Detected in maya-jamblang56-ruro: npm Package Vulnerability
Summary
MAL-2025-105686: Malicious code in maya-jamblang56-ruro (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 package 'maya-jamblang56-ruro' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to generate and publish derivative versions automatically, often with the intent of inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in 'maya-jamblang56-ruro' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation of these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-jamblang56-ruro
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 prevent the installation of this package by adding it to your project's .npmrc file with the following line: 'package-lock=false'. This will help avoid any unintended installations of vulnerable packages until a fix is implemented.
Conclusion
The 'maya-jamblang56-ruro' package is compromised with malicious code that poses significant risks to users and the integrity of the npm registry. Immediate action is required to remove the package and safeguard your applications. Utilizing tools like Vulert can help in monitoring and managing such vulnerabilities effectively.
See every vulnerability recorded for maya-jamblang56-ruro →
FAQ
The vulnerability involves malicious code that modifies package.json files and repackages the software, leading to potential security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
You should uninstall the package immediately using 'npm uninstall maya-jamblang56-ruro' and review your dependencies for any other malicious packages.
Yes, the impacts include the pollution of the npm registry, potential exposure of sensitive data, and the risk of further malicious activities through derivative packages.
Currently, there is no specific patch for the maya-jamblang56-ruro package. The best course of action is to remove the package and monitor for updates.