Malicious Code Injection in jelek-ras-batubat: A Threat to npm Ecosystem
Summary
MAL-2025-157035: Malicious code in jelek-ras-batubat (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 'jelek-ras-batubat' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'jelek-ras-batubat' stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants that pollute the npm registry, potentially leading to security risks for developers who unknowingly use these packages. The malicious payload can compromise the integrity of applications relying on affected packages, making them susceptible to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jelek-ras-batubat
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-ras-batubat' package and any other packages that may be part of the malicious campaign. Regularly review your package-lock.json file for any suspicious entries and remove them as necessary.
Conclusion
The 'jelek-ras-batubat' package poses a significant threat to the npm ecosystem due to its malicious behavior. Developers are advised to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities in their dependencies. Maintaining vigilance and using trusted packages is crucial for application security.
See every vulnerability recorded for jelek-ras-batubat →
FAQ
'jelek-ras-batubat' is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
You can use Vulert to monitor your package-lock.json for vulnerabilities. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Using 'jelek-ras-batubat' can lead to the introduction of malicious code into your application, compromising its security and integrity.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and avoid using packages from untrusted sources.
There is no patch for 'jelek-ras-batubat' as it is recommended to remove the package entirely from your project.