Malicious Code Injection in maya-donat9-riris Package
Summary
MAL-2025-88338: Malicious code in maya-donat9-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-donat9-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 can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious payload embedded within the maya-donat9-riris package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, primarily themed around Indonesian culture. The package continuously republishes these variants, leading to pollution of the npm registry and potential exploitation by malicious actors. The ramifications include loss of control over package integrity and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-donat9-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-donat9-riris package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can implement strict version control and monitoring of your dependencies.
Conclusion
The maya-donat9-riris package has been identified as containing malicious code that poses significant risks to applications using it. Immediate action is required to remove this package and monitor for any potential impacts. Utilizing tools like Vulert can enhance your ability to manage and mitigate such vulnerabilities effectively.
See every vulnerability recorded for maya-donat9-riris →
FAQ
The impact includes potential exposure to malicious code, which can compromise application security and integrity.
You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
If you have installed the maya-donat9-riris package, it is crucial to remove it immediately and replace it with a secure alternative.
Yes, tools like Vulert can help monitor your dependencies for vulnerabilities in real-time using just the package-lock.json file.
It is advisable to check for vulnerabilities regularly, especially after adding new packages or updating existing ones.