Malicious Code Injection in patria-tumis45-ruro Package - npm Vulnerability
Summary
MAL-2025-106988: Malicious code in patria-tumis45-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 patria-tumis45-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the patria-tumis45-ruro package stems from its malicious code that modifies 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 significant security risks, including the potential for unauthorized access to sensitive data and the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall patria-tumis45-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 workaround, you can avoid using the patria-tumis45-ruro package and any other packages that are part of the tea.xyz token reward campaign. Regularly audit your npm packages to identify and remove any that may be malicious.
Conclusion
The patria-tumis45-ruro package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for patria-tumis45-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to unauthorized modifications of your package metadata, potentially compromising your application's security and integrity.
You should uninstall the patria-tumis45-ruro package immediately and audit your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.