Malicious Code Injection in irma-getuk31-ruro Package: npm Vulnerability Overview
Summary
MAL-2025-104390: Malicious code in irma-getuk31-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-getuk31-ruro package is part of a series of npm packages that emerged during 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. The malicious nature of this package lies in its ability to modify the package.json file, removing private flags and altering version numbers, which can lead to significant security risks.
Vulnerability Detail
The vulnerability in the irma-getuk31-ruro package stems from its malicious code that modifies the package.json file to remove private flags and changes version numbers. This behavior is part of a broader scheme to publish numerous variants of the package to pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aimed to exploit npm's publishing mechanisms for fraudulent purposes. The ramifications include potential exposure of sensitive information and the risk of dependency confusion attacks, where malicious packages could be inadvertently used in projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall irma-getuk31-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
As a temporary measure, you can avoid using the irma-getuk31-ruro package and any other packages associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes and consider using tools like Vulert to monitor for vulnerabilities in your project.
Conclusion
The irma-getuk31-ruro package poses a significant security risk due to its malicious code that alters package.json files and publishes unauthorized variants. It is essential to remove this package from your project and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for irma-getuk31-ruro →
FAQ
The irma-getuk31-ruro package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
This vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing sensitive information and allowing for the use of malicious packages in your project.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed the irma-getuk31-ruro package, you should uninstall it immediately using the command 'npm uninstall irma-getuk31-ruro' and review your project's dependencies for any other malicious packages.
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. It helps you stay informed about potential security risks.