Malicious Code Injection in joko-naget88-remi Package - npm Vulnerability
Summary
MAL-2025-104622: Malicious code in joko-naget88-remi (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 joko-naget88-remi package 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 linked to a series of malicious activities aimed at inflating developer reputation scores through automated scripts. The package's functionality is compromised due to the presence of malicious code that alters its metadata and behavior.
Vulnerability Detail
The vulnerability in the joko-naget88-remi package originates from its association with a malicious campaign that utilizes autopublish scripts to generate and publish derivative packages with randomized names. This behavior not only modifies the package.json file to remove private flags and change version numbers but also leads to the continuous republishing of these variants, polluting the npm registry. The ramifications include potential security risks for developers who unknowingly integrate these malicious packages into their projects, leading to reputational damage and compromised application integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall joko-naget88-remi
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 joko-naget88-remi package from your project by executing the following command: npm uninstall joko-naget88-remi. This will prevent any malicious code from executing until a secure version is released.
Conclusion
The joko-naget88-remi package has been identified as containing malicious code that poses significant risks to developers and their applications. It is crucial to take immediate action by updating or removing the package to safeguard your projects from potential exploitation. Utilizing tools like Vulert can further enhance your security posture by providing real-time alerts on vulnerabilities.
See every vulnerability recorded for joko-naget88-remi →
FAQ
The malicious code can lead to unauthorized changes in your project, including the removal of private flags and the generation of random package names, which can compromise your application's security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected by this vulnerability without needing to sign up.
Regularly updating your dependencies and using tools like Vulert to monitor your package-lock.json file can help you stay informed about potential vulnerabilities.
If you cannot update the package, it is advisable to remove it from your project until a secure version is available to mitigate any risks associated with the vulnerability.
Detailed information about this vulnerability can be found in the official npm registry and security advisories related to the joko-naget88-remi package.