Malicious Code Detected in front-end-cli Package - Security Alert
Summary
MAL-2025-20967: Malicious code in front-end-cli (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 front-end-cli package is a tool designed for front-end development, providing various command-line utilities to streamline workflows. It is widely used in the npm ecosystem for managing front-end projects. However, recent findings have revealed that this package contains malicious code, posing a significant security risk to users and their applications.
Vulnerability Detail
The vulnerability in the front-end-cli package stems from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the user's 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 front-end-cli
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 workaround, users can remove the front-end-cli package from their project until a secure version is released. This can be done using the command: 'npm uninstall front-end-cli'. Alternatively, consider using other front-end development tools that do not have known vulnerabilities.
Conclusion
The discovery of malicious code in the front-end-cli package highlights the importance of regularly monitoring and updating dependencies in software projects. Users are urged to take immediate action to protect their applications from potential threats.
See every vulnerability recorded for front-end-cli →
FAQ
The front-end-cli package is a command-line tool used for managing front-end development tasks, streamlining workflows for developers.
The malicious code found in the front-end-cli package can lead to unauthorized access and potential data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner without any signup.
Users should check the package repository for any patched versions of front-end-cli and update accordingly.
If immediate updates are not possible, consider removing the package or using alternative tools until a secure version is available.