Critical Malicious Code Vulnerability in cgplcrc Package
Summary
MAL-2025-16747: Malicious code in cgplcrc (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 cgplcrc package is a Node.js library designed for managing and parsing configuration files in a user-friendly manner. It is commonly used in various applications to streamline configuration processes. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the cgplcrc package. This code can potentially compromise the security of applications that utilize this package, leading 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 take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cgplcrc
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 cgplcrc package from their project until a secure version is released. This can be done using the command: npm uninstall cgplcrc.
Conclusion
The cgplcrc package has been identified to contain malicious code, posing a significant threat to applications that utilize it. Users are urged to update or uninstall the package to safeguard their applications. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time.
See every vulnerability recorded for cgplcrc →
FAQ
The cgplcrc package is used for managing and parsing configuration files in Node.js applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. Visit Vulert Scanner to check your application without any signup.
If you cannot update the package right away, consider uninstalling it as a temporary measure to mitigate risks.
Currently, there is no specific patch version mentioned. Users should monitor the package repository for updates.
Using the compromised package can lead to unauthorized access, data breaches, and other malicious activities that can severely impact your application and its users.