Malicious Code Injection in maya-ketoprak65-riris Package - npm Vulnerability
Summary
MAL-2025-88354: Malicious code in maya-ketoprak65-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 maya-ketoprak65-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 generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been identified as containing malicious scripts that compromise its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the maya-ketoprak65-riris package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the automatic republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-ketoprak65-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 maya-ketoprak65-riris package altogether. If it is already included in your project, you can remove it by executing the following command: npm uninstall maya-ketoprak65-riris. Additionally, consider using alternative packages that do not exhibit malicious behavior.
Conclusion
The maya-ketoprak65-riris package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package from your projects and stay vigilant about monitoring for vulnerabilities in your dependencies.
See every vulnerability recorded for maya-ketoprak65-riris →
FAQ
The maya-ketoprak65-riris package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the automatic generation of malicious packages that may compromise your project's integrity and security.
You should uninstall the maya-ketoprak65-riris package immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities without any signup using the Vulert playground.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and review your dependencies for any known issues.