Malicious Code Injection in patria-bubursumsum16-riris Package
Summary
MAL-2025-89377: Malicious code in patria-bubursumsum16-riris (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-bubursumsum16-riris 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 with randomized names, aimed at inflating developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random Indonesian-themed package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and projects relying on npm packages. The malicious scripts (auto.js, autopublish.js, etc.) are designed to automate these actions, making it difficult for developers to track and mitigate the impact.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall patria-bubursumsum16-riris
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 patria-bubursumsum16-riris package from your project by executing the command: npm uninstall patria-bubursumsum16-riris. This will prevent the malicious code from executing until a secure version is available.
Conclusion
The patria-bubursumsum16-riris package has been identified as containing malicious code that can significantly impact developers and their projects. It is crucial to take immediate action by updating or removing the package to safeguard your application from potential threats.
See every vulnerability recorded for patria-bubursumsum16-riris →
FAQ
The package contains malicious code that modifies package.json and republish variants to pollute the npm registry.
You can use Vulert's playground at Vulert Scanner to monitor and alert for open-source vulnerabilities without requiring access to the code or installation.
As a workaround, you can uninstall the package to prevent any malicious actions until a secure version is released.
Yes, tools like Vulert can monitor your package-lock.json file in real-time for open-source vulnerabilities.
Using this package can lead to reputation damage, dependency issues, and potential security breaches in your application.