Malicious Code Injection in maya-papeda19-riris Package
Summary
MAL-2025-88381: Malicious code in maya-papeda19-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-papeda19-riris package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, contains scripts that automate the generation and publication of derivative packages, potentially compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the maya-papeda19-riris package stems from its malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to inflated developer reputation scores and can compromise the security and reliability of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-papeda19-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-papeda19-riris package from your project by executing the following command: npm uninstall maya-papeda19-riris. This will prevent any malicious code from executing until a patched version is available.
Conclusion
The maya-papeda19-riris package contains a significant vulnerability due to its malicious code that alters package metadata and floods the npm registry. It is crucial to update or remove this package to protect your application from potential security threats.
See every vulnerability recorded for maya-papeda19-riris →
FAQ
The maya-papeda19-riris package is an npm package that is part of a campaign to generate and publish numerous derivative packages, often containing malicious code.
The vulnerability can lead to the injection of malicious code, which may compromise the security of your application and affect its functionality.
Yes, you can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you cannot update the package, consider removing it from your project as a temporary measure to mitigate the risk of exploitation.