Malicious Code Injection in putri-mendoan100-riris Package
Summary
MAL-2025-89707: Malicious code in putri-mendoan100-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 putri-mendoan100-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. The primary functionality of this package is to serve as a tool for developers, but it has been compromised to execute harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the putri-mendoan100-riris package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. It continuously republishes these variants, leading to pollution of the npm registry and potential exploitation of developer reputation scores. The origin of this vulnerability is linked to a campaign aimed at incentivizing token rewards through deceptive practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-mendoan100-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 putri-mendoan100-riris package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The putri-mendoan100-riris package has been identified as a malicious entity within the npm ecosystem, capable of compromising package integrity and developer reputation. Immediate action is required to mitigate risks associated with this vulnerability. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for putri-mendoan100-riris →
FAQ
It is an npm package that has been compromised to include malicious code aimed at manipulating package metadata and inflating developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By checking your package-lock.json file, you can identify any affected packages.
You should uninstall the package immediately using 'npm uninstall putri-mendoan100-riris' and check for any other potentially affected packages.
Yes, the impacts include pollution of the npm registry, potential exploitation of developer reputation scores, and unauthorized modifications to your project's package metadata.
Regularly audit your dependencies using tools like Vulert, keep your packages updated, and be cautious when adding new packages from unverified sources.