Critical Malicious Code Vulnerability in vite-proc-log Package
Summary
MAL-2025-5968: Malicious code in vite-proc-log (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 vite-proc-log package is a Node.js library commonly used in development environments to log process outputs. It is designed to enhance the development experience by providing structured logging capabilities. However, this package has been identified to contain embedded malicious code, which poses significant security risks to systems utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code embedded within the vite-proc-log package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information, including secrets and keys stored on the system. The malicious nature of this code has been confirmed through security assessments, and it is critical for users to understand the severity of this issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vite-proc-log
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, consider using alternative logging packages that do not have known vulnerabilities. Review your project's dependencies and replace vite-proc-log with a more secure option until the issue is resolved.
Conclusion
The vite-proc-log package contains embedded malicious code that poses a significant threat to systems using it. Immediate action is required to remove the package and secure any sensitive information. Users are encouraged to monitor their dependencies and consider using tools like Vulert for ongoing vulnerability management.
See every vulnerability recorded for vite-proc-log →
FAQ
vite-proc-log is a Node.js library used for logging process outputs during development.
The malicious code can compromise your system, allowing unauthorized access to sensitive data and potentially leading to further security breaches.
Immediately remove the vite-proc-log package from your project and consider rotating any sensitive keys or secrets stored on the affected system.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.