Malicious Code Injection in maya-klanting14-riris Package
Summary
MAL-2025-88355: Malicious code in maya-klanting14-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-klanting14-riris package is part of the npm ecosystem, primarily used for JavaScript development. This package has been identified as part of a malicious campaign that aims to manipulate the npm registry by generating and publishing numerous derivative packages. The vulnerability stems from the package's design, which allows for the automatic modification of critical files, leading to potential security risks for developers using it.
Vulnerability Detail
The vulnerability in the maya-klanting14-riris package is characterized by the presence of malicious code that alters the package.json file to remove private flags and changes version numbers. This code is part of a broader scheme associated with the tea.xyz token reward campaign, which floods the npm registry with derivative packages that have randomized names. The ramifications include the potential for developers to unknowingly publish compromised packages, thereby affecting their reputation and the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-klanting14-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, avoid using the maya-klanting14-riris package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your project's dependencies using tools like npm audit.
Conclusion
The maya-klanting14-riris package poses a significant security risk due to its malicious code that alters critical files and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for maya-klanting14-riris →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the unintended publication of compromised packages, affecting your project's integrity and reputation.
You should uninstall the package immediately and check for any potential impacts on your project.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.