Malicious Code Injection in jelek-rasaaya-n Package: A Threat to npm Users
Summary
MAL-2025-157041: Malicious code in jelek-rasaaya-n (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-rasaaya-n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automate the generation and publication of derivative packages, which can mislead developers and inflate reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the jelek-rasaaya-n package stems from malicious code that modifies the package.json file by removing private flags and altering version numbers. This code generates random package names, often themed around Indonesian culture, and continuously republishes these variants to clutter the npm registry. The origin of this issue is linked to a broader campaign aimed at exploiting npm for token rewards, posing risks such as reputation damage for developers and potential security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jelek-rasaaya-n
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 remove the jelek-rasaaya-n package from your project by executing the command: npm uninstall jelek-rasaaya-n. This will prevent any malicious scripts from executing until a secure version is available.
Conclusion
The jelek-rasaaya-n package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to stay informed about such vulnerabilities and take immediate action to protect their projects.
See every vulnerability recorded for jelek-rasaaya-n →
FAQ
The jelek-rasaaya-n package is an npm package involved in a token reward campaign that automates the publication of derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to security risks and reputation damage.
You should uninstall the package immediately and monitor for any updates or patches that address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without signing up.
Long-term implications include potential security breaches, loss of developer reputation, and the risk of your project being flagged for malicious activity.