Malicious Code Injection in maya-asinan6-riris Package - npm Vulnerability
Summary
MAL-2025-88325: Malicious code in maya-asinan6-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-asinan6-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 token reward mechanism, but it has been compromised to include harmful scripts that can affect developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the maya-asinan6-riris package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores for token rewards, leading to the continuous republishing of variants that pollute the npm registry. The malicious payload can potentially compromise the security of applications that depend on this package, leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-asinan6-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 remove the maya-asinan6-riris package from your project by executing the following command: npm uninstall maya-asinan6-riris. This will prevent any malicious code from executing in your application.
Conclusion
The maya-asinan6-riris package has been identified as containing malicious code that can compromise the security of applications using it. It is crucial to update or remove this package to protect your application from potential threats. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in your dependencies.
See every vulnerability recorded for maya-asinan6-riris →
FAQ
The maya-asinan6-riris package is an npm package associated with a token reward campaign that has been compromised to include malicious code.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your application's security and integrity.
You should update the package to a patched version if available or remove it from your project to mitigate the risk.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.