Malicious Code Injection in Causal Scallop 0xRequest Package
Summary
MAL-2025-100288: Malicious code in causal_scallop_0xrequest (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_scallop_0xrequest' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate automated publishing of derivative packages, which can inflate developer reputation scores for token rewards. The package's functionality is compromised by malicious scripts that manipulate its metadata and behavior.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to pollution of the npm registry and can potentially harm developers by inflating reputation scores artificially, making it difficult to identify legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall causal_scallop_0xrequest
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 avoid using the 'causal_scallop_0xrequest' package and replace it with a trusted alternative. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The 'causal_scallop_0xrequest' package is compromised by malicious code that alters its behavior and metadata. It is crucial to remove this package from your project and monitor for any updates. Utilizing tools like Vulert can help in identifying and managing vulnerabilities effectively.
See every vulnerability recorded for causal_scallop_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of derivative packages.
The vulnerability can lead to the pollution of the npm registry, making it difficult to identify legitimate packages and potentially harming your project's integrity.
You should remove the 'causal_scallop_0xrequest' package from your project and monitor for any updates or patches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file. You can also check your application against vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies, use trusted sources for packages, and consider using tools like Vulert to monitor for vulnerabilities.