Malicious Code Injection in patria-mieaceh69-riris Package
Summary
MAL-2025-89422: Malicious code in patria-mieaceh69-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-mieaceh69-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant pollution of the npm registry and compromise the integrity of the ecosystem.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the patria-mieaceh69-riris package, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only clutters the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further exploitation or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall patria-mieaceh69-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 avoid using the patria-mieaceh69-riris package and any other packages that are part of the malicious campaign. If you have dependencies that rely on this package, consider looking for alternative packages that provide similar functionality without the associated risks.
Conclusion
The patria-mieaceh69-riris package poses a significant risk due to its malicious behavior of modifying package files and flooding the npm registry. It is essential to remove this package from your projects and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help ensure your application remains secure.
See every vulnerability recorded for patria-mieaceh69-riris →
FAQ
It is an npm package identified as part of a malicious campaign that floods the npm registry with derivative packages.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and clutter your project's dependencies.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using the command: npm uninstall patria-mieaceh69-riris.
Yes, consider researching and using other reputable packages that provide similar functionality without the associated risks.