Malicious Code Injection in jelek-rasism-batu Package: A Threat to npm Ecosystem
Summary
MAL-2025-157051: Malicious code in jelek-rasism-batu (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 jelek-rasism-batu package is part of a larger group of npm packages that have been associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for rewards associated with the tea protocol, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in the jelek-rasism-batu package stems from its malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these tainted packages, leading to potential security breaches and loss of trust in the package management system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jelek-rasism-batu
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 jelek-rasism-batu package and any other packages associated with the tea.xyz token reward campaign. Instead, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The jelek-rasism-batu package poses a significant threat to the npm ecosystem due to its malicious code that modifies package metadata and floods the registry with derivative packages. It is essential for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for jelek-rasism-batu →
FAQ
The jelek-rasism-batu package is an npm package that is part of a malicious campaign to inflate developer reputation scores through automated publishing of derivative packages.
This vulnerability can compromise the integrity of your project by introducing malicious code that modifies your package.json file and pollutes the npm registry.
If you have installed the jelek-rasism-batu package, you should uninstall it immediately using the command npm uninstall jelek-rasism-batu.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, consider using other reputable packages that provide similar functionality without the risks associated with the jelek-rasism-batu package.