Malicious Code Injection in Causal Lamprey Requirement Package
Summary
MAL-2025-93482: Malicious code in causal_lamprey_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 'causal_lamprey_requirement' package is part of the npm ecosystem, often utilized in various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in the 'causal_lamprey_requirement' package stems from its malicious code that modifies the package.json file to remove private flags and alter version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, inflated reputation scores, and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall causal_lamprey_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 'causal_lamprey_requirement' package from your project by executing 'npm uninstall causal_lamprey_requirement'. This will prevent any malicious code from executing in your application until a fix is applied.
Conclusion
The 'causal_lamprey_requirement' package contains a significant vulnerability that can compromise your application's security. It is crucial to take immediate action by updating or uninstalling the package. Utilizing tools like Vulert can help you monitor for such vulnerabilities in real-time.
See every vulnerability recorded for causal_lamprey_requirement →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for generating and publishing numerous derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially compromising your application's integrity and security.
You should immediately update or uninstall the package to mitigate the risks associated with 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 use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.