Malicious Code Injection in patria-jamblang64-ruro Package
Summary
MAL-2025-106959: Malicious code in patria-jamblang64-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-jamblang64-ruro package is part of the npm ecosystem, often used in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate package metadata and inflate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability originates from the package's malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of projects that depend on this package. The malicious payload can also affect the reputation of developers and the overall security of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall patria-jamblang64-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-jamblang64-ruro package and replace it with a trusted alternative. Additionally, you can use the following command to audit your npm packages for vulnerabilities: 'npm audit'. This will help identify any other potentially vulnerable packages in your project.
Conclusion
The patria-jamblang64-ruro package contains malicious code that poses a significant risk to projects using it. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for patria-jamblang64-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for containing malicious code.
The code modifies package metadata, removes private flags, and can lead to the pollution of the npm registry, affecting project integrity.
You should uninstall the package immediately and check your package-lock.json for any references to it.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.