Malicious Code Injection in maman-tempe3-riris: A Threat to npm Packages
Summary
MAL-2025-88292: Malicious code in maman-tempe3-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 package 'maman-tempe3-riris' is part of a series of npm packages that have been linked to a token reward campaign by tea.xyz. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish variants, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in 'maman-tempe3-riris' originates from its inclusion in a malicious campaign that utilizes autopublish scripts to alter the package.json file. This modification removes private flags, changes version numbers, and generates random package names, thereby allowing the package to continuously republish itself and its variants. The ramifications of this vulnerability include the potential for developers to unknowingly install compromised packages, leading to security risks and a polluted npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maman-tempe3-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 'maman-tempe3-riris' package from your project by executing the following command: npm uninstall maman-tempe3-riris. This will prevent any potential malicious activity associated with the package until a fix is implemented.
Conclusion
The 'maman-tempe3-riris' package poses a significant threat due to its malicious code that alters package files and republish variants. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for maman-tempe3-riris →
FAQ
The main issue is that it contains malicious code that modifies package.json files and republish variants to pollute the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check your application without any signup.
Using compromised packages can lead to security vulnerabilities, data breaches, and the potential for malicious code execution within your application.
Regularly audit your dependencies, use tools like Vulert for monitoring, and keep your packages updated to the latest secure versions.
You should uninstall the 'maman-tempe3-riris' package immediately and check for any updates or patches before reinstalling.