Malicious Code Injection in putri-semur66-riris Package
Summary
MAL-2025-89774: Malicious code in putri-semur66-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-semur66-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often created to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in the putri-semur66-riris package originates from its inclusion in a broader campaign that floods the npm registry with malicious packages. The malicious payload 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 potentially compromise the security of applications using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-semur66-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-semur66-riris package and replace it with a trusted alternative. Additionally, you can monitor your project for any dependencies that may have been affected by this malicious package.
Conclusion
The putri-semur66-riris package poses a significant security risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain application security.
See every vulnerability recorded for putri-semur66-riris →
FAQ
The putri-semur66-riris package is an npm package associated with a token reward campaign that has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially compromising the integrity of your application and leading to security vulnerabilities.
You should remove the putri-semur66-riris package from your project and monitor for any updates or patches that may address the vulnerability.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using your package-lock.json file. You can also use the Vulert playground to check if your application is affected by this vulnerability without any signup.
Regularly auditing your dependencies, using tools like Vulert, and keeping your packages updated can help prevent vulnerabilities from affecting your applications.