Malicious Code Injection in putra-mie48-riris Package
Summary
MAL-2025-89583: Malicious code in putra-mie48-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 putra-mie48-riris 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 numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability stems from malicious code embedded in the putra-mie48-riris package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-mie48-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 workaround, avoid using the putra-mie48-riris package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your project's dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The putra-mie48-riris package poses a significant security risk due to its malicious code that alters project files and repopulates the npm registry with compromised packages. It is crucial to remove this package and monitor your dependencies for vulnerabilities.
See every vulnerability recorded for putra-mie48-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been flagged for containing malicious code.
The malicious code can modify your package.json file, remove private flags, and republish variants, potentially compromising your project's integrity.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
You should uninstall the putra-mie48-riris package immediately and audit your dependencies for any other vulnerabilities.
Yes, consider using well-maintained and reputable packages that serve the same purpose without the associated risks.