Malicious Code Injection in putri-ronde22-miaww Package
Summary
MAL-2025-89762: Malicious code in putri-ronde22-miaww (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 putri-ronde22-miaww package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the automatic generation and publishing of derivative packages, which can inflate developer reputation scores. However, this package has been identified as malicious, containing scripts that modify package metadata and republish variants to pollute the npm registry.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the putri-ronde22-miaww package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the proliferation of unwanted packages in the npm registry. The malicious payload can compromise the integrity of the npm ecosystem, making it difficult for developers to manage dependencies and potentially exposing them to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-ronde22-miaww
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 putri-ronde22-miaww package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unauthorized changes to your package.json file.
Conclusion
The putri-ronde22-miaww package poses a significant risk due to its embedded malicious code, which can compromise the integrity of the npm ecosystem. It is crucial for developers to remove this package from their projects and monitor for any unauthorized changes. Utilizing tools like Vulert can help in identifying and managing such vulnerabilities effectively.
See every vulnerability recorded for putri-ronde22-miaww →
FAQ
It is an npm package that is part of a token reward campaign, designed to automatically generate and publish derivative packages.
The malicious code can modify your package.json file, remove private flags, and create unwanted package variants, potentially compromising your project's integrity.
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 putri-ronde22-miaww package immediately and check your package-lock.json file for any references to it.
Yes, you should look for other npm packages that provide similar functionality without the associated risks of malicious code.