Critical Malicious Code Vulnerability in proc-logger Package
Summary
MAL-2025-5949: Malicious code in proc-logger (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 proc-logger package is an npm library designed for logging process-related information in Node.js applications. It is intended to help developers monitor and debug their applications by providing insights into process execution. However, this package has been compromised, embedding malicious code that poses significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the proc-logger package. This code can compromise the entire system, allowing unauthorized access to sensitive data such as secrets and keys. The malicious nature of this code has been confirmed through various sources, indicating that any computer running this package should be considered fully compromised. The ramifications include potential data breaches and loss of control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall proc-logger
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
There are no effective workarounds for this vulnerability other than removing the package entirely. If you need similar functionality, consider using alternative logging packages that have not been compromised.
Conclusion
The proc-logger package has been identified as containing malicious code that poses a severe security risk. Immediate action is required to remove the package and secure any sensitive data. Users are encouraged to seek alternative logging solutions and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for proc-logger →
FAQ
proc-logger is an npm package used for logging process-related information in Node.js applications.
The malicious code can compromise your system, allowing unauthorized access to sensitive data and potentially leading to data breaches.
You should uninstall the proc-logger package immediately and rotate any secrets or keys that may have been exposed.
No, there is currently no patched version available. The only solution is to remove the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.