Malicious Code Detected in foever Package - Security Alert
Summary
MAL-2025-20736: Malicious code in foever (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 foever package is a Node.js library commonly used for managing and monitoring application processes. It is designed to facilitate the execution of scripts and applications in a reliable manner. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the foever package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may allow unauthorized access to sensitive data, lead to data breaches, or enable further exploitation of the affected systems. 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 foever
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, you can prevent the use of the foever package by removing it from your dependencies. Use the following command to uninstall it: npm uninstall foever. Consider using alternative packages that provide similar functionality without the security risks.
Conclusion
The discovery of malicious code in the foever package highlights the importance of regularly monitoring and updating dependencies in software projects. Users are urged to take immediate action to mitigate risks associated with this vulnerability by removing the package and seeking alternatives.
See every vulnerability recorded for foever →
FAQ
foever is a Node.js library used for managing application processes, allowing scripts to run reliably.
The malicious code can potentially compromise application security, leading to unauthorized access and data breaches.
You can use Vulert to monitor and alert for vulnerabilities in your application. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Immediately uninstall the foever package and replace it with a secure alternative. Monitor for any updates or patches.
As of now, there is no patched version available. It is recommended to remove the package until a secure alternative is found.
Related vulnerabilities
Recent vulnerabilities recorded for foever.