Malicious Code Injection in patria-enting85-riris Package
Summary
MAL-2025-89382: Malicious code in patria-enting85-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-enting85-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with 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-enting85-riris package stems from its malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms for malicious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall patria-enting85-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-enting85-riris package and any other packages that may be part of the tea.xyz campaign. Regularly audit your npm packages using npm audit to identify and address vulnerabilities.
Conclusion
The patria-enting85-riris package poses a significant security risk due to its malicious code that manipulates package metadata. It is essential to remove this package from your project and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for patria-enting85-riris →
FAQ
The patria-enting85-riris package is an npm package associated with a malicious campaign that aims to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and exposing it to further security risks.
If you have installed the patria-enting85-riris package, you should uninstall it immediately using npm uninstall patria-enting85-riris and audit your other dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground.
There is no patch for the patria-enting85-riris package itself, as it is a malicious package. The best course of action is to remove it and ensure your other dependencies are secure.