Malicious Code Injection in fernandabarros Package: npm Vulnerability Alert
Summary
MAL-2025-171218: Malicious code in fernandabarros (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 fernandabarros package is part of the npm ecosystem, primarily used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that exploits npm's package management system. This package, like others in the campaign, is designed to inflate developer reputation scores through automated scripts that publish derivative packages with random names.
Vulnerability Detail
The vulnerability originates from the package being associated with the tea.xyz token reward campaign, which floods npm with malicious packages. The malicious code modifies the package.json file to remove private flags, changes version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fernandabarros
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 fernandabarros package from your project by executing: npm uninstall fernandabarros. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The fernandabarros package has been identified as containing malicious code that can compromise your project's integrity. It is crucial to take immediate action by updating or removing the package to safeguard your application.
See every vulnerability recorded for fernandabarros →
FAQ
The fernandabarros package is a JavaScript package in the npm ecosystem that has been identified as part of a malicious campaign.
The vulnerability can lead to the modification of your package.json file and the introduction of malicious code, potentially compromising your project's integrity.
You should uninstall the fernandabarros package immediately and check for any other affected packages in your project.
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 requiring any signup.