Malicious Code Injection in anouarfrenchie Package: npm Vulnerability Overview
Summary
MAL-2025-170895: Malicious code in anouarfrenchie (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 anouarfrenchie package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of JavaScript applications. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that can inflate developer reputation scores for token rewards. This vulnerability poses a significant risk to developers and users relying on the integrity of npm packages.
Vulnerability Detail
The vulnerability in the anouarfrenchie package originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The scripts continuously republish these variants, polluting the npm registry and potentially compromising the security of applications that depend on these packages. The ramifications include the risk of executing malicious code and the degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall anouarfrenchie
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 anouarfrenchie package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like Vulert to monitor for vulnerabilities.
Conclusion
The anouarfrenchie package poses a significant security risk due to its malicious code designed to exploit the npm registry. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any compromised packages. Utilizing tools like Vulert can enhance your ability to monitor for vulnerabilities and maintain the integrity of your applications.
See every vulnerability recorded for anouarfrenchie →
FAQ
The anouarfrenchie package is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the execution of malicious code, compromising the security of your application and potentially affecting its functionality.
You should uninstall the anouarfrenchie package immediately and monitor your application for any unusual behavior.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Regularly auditing your dependencies and using tools like Vulert can help you monitor and alert for open-source vulnerabilities in real-time.