Malicious Code Injection in irma-kupang2-ruro Package
Summary
MAL-2025-104395: Malicious code in irma-kupang2-ruro (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 irma-kupang2-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it has been compromised to include malicious scripts that alter its functionality and impact the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the irma-kupang2-ruro package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and changes 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 a significant degradation of the npm ecosystem, as it affects the reliability and trustworthiness of packages available to developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall irma-kupang2-ruro
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
Currently, the best workaround is to avoid using the irma-kupang2-ruro package altogether. If it is already in use, ensure to monitor your application for any unexpected behavior and remove the package as soon as possible.
Conclusion
The irma-kupang2-ruro package has been identified as containing malicious code that can compromise the integrity of the npm registry. It is crucial for developers to remove this package from their projects and monitor for any potential impacts on their applications. Utilizing tools like Vulert can help in maintaining the security of your software.
See every vulnerability recorded for irma-kupang2-ruro →
FAQ
The irma-kupang2-ruro package is part of a token reward campaign on npm that automates the generation of derivative packages.
This vulnerability can lead to the pollution of the npm registry, affecting the integrity and reliability of packages, which may compromise your application's security.
You should uninstall the irma-kupang2-ruro package immediately and check for any other dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.