Malicious Code Detected in fossdev Package - Security Alert
Summary
MAL-2025-20809: Malicious code in fossdev (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 fossdev package is a tool designed for developers to facilitate various aspects of software development within the npm ecosystem. It offers features that streamline workflows and enhance productivity. However, it has been identified to contain malicious code, posing significant security risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability in the fossdev package arises from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code can lead to unauthorized access, data breaches, or other harmful actions within the software environment. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fossdev
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 measure, users can avoid using the fossdev package and seek alternative packages that provide similar functionality without the associated risks. To uninstall fossdev, run the following command in your terminal: npm uninstall fossdev.
Conclusion
The discovery of malicious code in the fossdev package highlights the importance of vigilance in software development. Users are urged to remove the package and monitor their applications for vulnerabilities using tools like Vulert. Staying informed and proactive can help mitigate potential risks.
See every vulnerability recorded for fossdev →
FAQ
fossdev is an npm package designed to assist developers in various software development tasks.
The malicious code can lead to unauthorized access and potential data breaches.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
You should immediately uninstall the fossdev package and replace it with a secure alternative.
Currently, there is no patched version available. It is advised to uninstall the package until a secure alternative is found.