Malicious Code Injection in jelek-rass-batu: A Threat to npm Users
Summary
MAL-2025-157063: Malicious code in jelek-rass-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 package 'jelek-rass-batu' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only compromises the integrity of the npm registry but also poses a significant risk to developers who may unknowingly use these packages in their projects.
Vulnerability Detail
The vulnerability in 'jelek-rass-batu' originates from its malicious intent to modify the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to developers inadvertently using compromised packages, which may contain harmful code or lead to further exploitation of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jelek-rass-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-rass-batu' package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies to identify and remove any suspicious packages.
Conclusion
The 'jelek-rass-batu' package poses a significant threat to npm users due to its malicious behavior of modifying package files and republishing harmful variants. It is essential to remove this package and any similar ones from your projects to maintain security. Regular audits and the use of monitoring tools like Vulert can help safeguard your applications against such vulnerabilities.
See every vulnerability recorded for jelek-rass-batu →
FAQ
The 'jelek-rass-batu' package is a malicious npm package that is part of a campaign to inflate developer reputation scores through the automatic generation and publication of derivative packages.
Using the 'jelek-rass-batu' package can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
If you have installed the 'jelek-rass-batu' package, you should uninstall it immediately using the command 'npm uninstall jelek-rass-batu' and audit your project for any other suspicious packages.
To prevent similar vulnerabilities, regularly update your dependencies, use trusted packages, and consider using tools like Vulert to monitor for open-source vulnerabilities in your software.
Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in your software using just the package-lock.json file. You can check if your application is affected by vulnerabilities using the Vulert playground without any signup.