Malicious Code Injection in shallow_lemur_requirement Package
Summary
MAL-2025-96549: Malicious code in shallow_lemur_requirement (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 shallow_lemur_requirement package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is designed to facilitate specific functionalities within applications that rely on npm for dependency management. However, it has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the shallow_lemur_requirement package. This code is part of a broader scheme associated with the tea.xyz token reward campaign, which floods npm with derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names, leading to pollution of the npm registry. This can have serious ramifications, including the potential for developers to inadvertently use compromised packages, which may lead to security breaches or loss of data integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shallow_lemur_requirement
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 shallow_lemur_requirement package from your project by executing the following command: npm uninstall shallow_lemur_requirement. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The shallow_lemur_requirement package has been identified as containing malicious code that can compromise the security of applications using it. It is crucial for developers to take immediate action by updating or removing the package and to utilize tools like Vulert for ongoing monitoring of vulnerabilities in their projects.
See every vulnerability recorded for shallow_lemur_requirement →
FAQ
It is an npm package used for managing specific functionalities in JavaScript applications, but it has been compromised with malicious code.
The malicious code modifies your package.json file and can lead to the installation of compromised packages, potentially exposing your application to security risks.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and review your package.json and package-lock.json files for any suspicious entries.