Malicious Code Injection in edouardfalafel Package: A Threat to npm Users
Summary
MAL-2025-171131: Malicious code in edouardfalafel (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 edouardfalafel package is part of the npm ecosystem, commonly used for various JavaScript applications. It is designed to facilitate specific functionalities within projects. However, it has been identified as part of a malicious campaign that exploits npm's package management system, leading to significant security concerns for developers and users alike.
Vulnerability Detail
The vulnerability originates from the edouardfalafel package being associated with the tea.xyz token reward campaign, which floods the npm registry with malicious packages. These packages contain scripts that automatically modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses risks to developers' reputations and the integrity of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall edouardfalafel
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 edouardfalafel package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The edouardfalafel package poses a significant security risk due to its malicious code that alters project files and inflates developer reputation scores. It is crucial for developers to uninstall this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for edouardfalafel →
FAQ
The edouardfalafel package is an npm package used in JavaScript applications, but it has been compromised and is part of a malicious campaign.
This vulnerability can lead to the automatic modification of your package.json file, potentially compromising your project's integrity and reputation.
You should uninstall the package immediately using 'npm uninstall edouardfalafel' and check for any other affected packages.
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 if your application is affected without needing to sign up.