Malicious Code Detected in chabwork Package - Security Alert
Summary
MAL-2025-16758: Malicious code in chabwork (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 chabwork package is an npm library designed for various functionalities within JavaScript applications. It is utilized by developers for its ease of integration and utility features. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the chabwork package stems from the inclusion of malicious code that can compromise the security of applications using it. This code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of this vulnerability was identified by Amazon Inspector, highlighting the importance of scrutinizing third-party packages for security flaws.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall chabwork
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, you can avoid using the chabwork package in your application until a secure version is released. Review your package-lock.json file to identify dependencies on chabwork and remove it from your project.
Conclusion
The discovery of malicious code in the chabwork package underscores the importance of vigilance when using third-party libraries. Developers should take immediate action to remove this package and monitor for updates or alternatives to safeguard their applications.
See every vulnerability recorded for chabwork →
FAQ
Chabwork is an npm package used in JavaScript applications for various functionalities, but it has been found to contain malicious code.
The malicious code was identified by Amazon Inspector, which monitors open-source packages for security vulnerabilities.
Using the chabwork package can lead to unauthorized access, data breaches, and other security threats to your application.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Remove the chabwork package from your project and look for a secure alternative. If a patched version is released, update it using npm update chabwork.