Malicious Code Detected in ac-console Package - Security Alert
Summary
MAL-2025-13964: Malicious code in ac-console (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 ac-console package is an npm library designed for console management in Node.js applications. It provides developers with tools to enhance console output and improve debugging processes. 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 ac-console package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ac-console
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 remove the ac-console package from their project until a secure version is released. This can be done using the command: npm uninstall ac-console. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The ac-console package has been identified as containing malicious code, posing serious security risks to applications that utilize it. Users are advised to update or remove the package to mitigate these risks. Tools like Vulert can assist in monitoring for vulnerabilities effectively.
See every vulnerability recorded for ac-console →
FAQ
ac-console is an npm package used for enhancing console output in Node.js applications, aiding developers in debugging and logging.
The malicious code can lead to unauthorized access and potential data breaches, compromising the security of applications using the package.
You can use Vulert, a tool that monitors open-source vulnerabilities in real-time. By analyzing your package-lock.json file, Vulert can alert you to any vulnerabilities, including those in ac-console.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If an immediate update is not possible, consider removing the package temporarily and using alternative solutions until a secure version is available.