Malicious Code Injection in patria-bika54-ruro Package
Summary
MAL-2025-106951: Malicious code in patria-bika54-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-bika54-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 for token rewards. However, it has been identified as containing malicious scripts that compromise its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the patria-bika54-ruro package stems from malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to pollute the npm registry by continuously republishing variants of the package, which can lead to significant security risks, including the potential for other developers to unknowingly use compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall patria-bika54-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-bika54-ruro package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The patria-bika54-ruro package has been identified as containing malicious code that compromises its integrity and poses security risks to projects that use it. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities. Tools like Vulert can assist in maintaining the security of your software.
See every vulnerability recorded for patria-bika54-ruro →
FAQ
The patria-bika54-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file and can lead to the publication of compromised packages, potentially affecting your project's security and integrity.
If you have installed the patria-bika54-ruro package, you should uninstall it immediately using 'npm uninstall patria-bika54-ruro' and check your project for any other affected dependencies.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities without any signup at the Vulert playground.
Yes, consider looking for alternative packages that provide similar functionality but have a proven track record of security and integrity.