Malicious Code Detected in fs-extar Package - Security Alert
Summary
MAL-2025-21006: Malicious code in fs-extar (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 fs-extar package is an npm library designed for file system extensions, providing developers with additional functionalities to interact with the file system in Node.js applications. However, it has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the fs-extar package arises from the inclusion of malicious code that can compromise the security of applications using this package. This code can lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fs-extar
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 workaround, you can temporarily disable any functionalities that rely on the fs-extar package until a secure alternative is implemented. To uninstall the package, run the following command in your terminal: npm uninstall fs-extar.
Conclusion
The fs-extar package has been identified to contain malicious code, posing serious security risks to applications. Immediate action is required to uninstall the package and replace it with a secure alternative to protect your application from potential threats.
See every vulnerability recorded for fs-extar →
FAQ
The fs-extar package is an npm library that provides additional file system functionalities for Node.js applications.
The malicious code in fs-extar can lead to unauthorized access and potential data breaches in applications using this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should uninstall the fs-extar package immediately and replace it with a secure alternative.
Currently, there is no patched version available for fs-extar. It is recommended to remove the package entirely.
Related vulnerabilities
Recent vulnerabilities recorded for fs-extar.