Malicious Code Injection in maman-jus24-riris Package
Summary
MAL-2025-88222: Malicious code in maman-jus24-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 maman-jus24-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 in the maman-jus24-riris package originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers by inflating reputation scores fraudulently. The malicious scripts included in this package are designed to automate these processes, making it difficult for developers to detect and mitigate the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maman-jus24-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 workaround, you can temporarily avoid using the maman-jus24-riris package by removing it from your dependencies. Additionally, consider using alternative packages that do not exhibit malicious behavior. You can also monitor your project for vulnerabilities using tools like Vulert, which can alert you to any open-source vulnerabilities in real-time.
Conclusion
The maman-jus24-riris package poses a significant security risk due to its malicious code that modifies package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for maman-jus24-riris →
FAQ
The maman-jus24-riris package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages automatically.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to pollution of the npm registry and affect your project's integrity.
You should remove the maman-jus24-riris package from your project immediately and check for any other dependencies that may be affected.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time. It requires only the package-lock.json file to provide alerts.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.