Malicious Code Injection in maman-lapis49-ruro Package - npm Vulnerability
Summary
MAL-2025-105543: Malicious code in maman-lapis49-ruro (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-lapis49-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the automatic generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the npm registry.
Vulnerability Detail
The vulnerability in the maman-lapis49-ruro package originates from its design to automatically publish derivative packages with randomized names. This malicious behavior modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to pollution of the npm registry. The consequence of this vulnerability is the potential for developers to unknowingly install compromised packages, leading to security risks in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maman-lapis49-ruro
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 prevent the installation of this package by using npm's package-lock.json to monitor dependencies. Additionally, consider using tools like Vulert to check for vulnerabilities in your project. You can access the Vulert playground at https://vulert.com/scanner to see if your application is affected without needing to sign up.
Conclusion
The maman-lapis49-ruro package has been identified as containing malicious code that compromises the npm registry. It is crucial for developers to remove this package and monitor their applications for vulnerabilities using tools like Vulert. Staying informed and proactive can help mitigate security risks.
See every vulnerability recorded for maman-lapis49-ruro →
FAQ
The maman-lapis49-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your application.
You should remove the maman-lapis49-ruro package from your project and monitor for any updates or patches that may be released.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights.