Malicious Code Injection in maman-sego55-riris: npm Package Vulnerability
Summary
MAL-2025-88279: Malicious code in maman-sego55-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 npm package 'maman-sego55-riris' is part of a larger ecosystem that has been exploited to manipulate the npm registry. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. The primary function of this package is to serve as a token reward mechanism, but it has been compromised to include harmful scripts that can affect developers' reputations and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'maman-sego55-riris' originates from its inclusion in a campaign that uses autopublish scripts to generate and publish numerous derivative packages with randomized names. These scripts modify the package.json file to remove private flags, alter version numbers, and continuously republish variants, leading to pollution of the npm registry. This can result in developers inadvertently using compromised packages, which may lead to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maman-sego55-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 measure, avoid using the 'maman-sego55-riris' package until a secure version is released. You can also use the following command to uninstall the package: npm uninstall maman-sego55-riris.
Conclusion
The 'maman-sego55-riris' package has been identified as containing malicious code that poses a significant risk to developers and the integrity of the npm registry. It is crucial to stay informed about such vulnerabilities and take proactive measures to secure your projects.
See every vulnerability recorded for maman-sego55-riris →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with compromised packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Using this package can lead to security breaches, loss of developer reputation, and pollution of the npm registry, which can affect other developers.
Regularly updating packages, using tools like Vulert for monitoring vulnerabilities, and auditing dependencies can help prevent similar issues.
You should uninstall the package immediately and check your project for any unintended consequences. Consider using alternative packages that are known to be secure.