Malicious Code Detected in chair-script Package - MAL-2025-16762
Summary
MAL-2025-16762: Malicious code in chair-script (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 chair-script package is an npm library designed to facilitate various scripting tasks within JavaScript applications. It offers a range of functionalities that developers can leverage to enhance their projects. However, recent findings have revealed that this package contains malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the chair-script package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of this code was identified by Amazon Inspector, highlighting the importance of scrutinizing dependencies in software projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall chair-script
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, consider removing the chair-script package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall chair-script'. This will help prevent any potential exploitation of the malicious code.
Conclusion
The chair-script package has been found to contain malicious code, posing significant risks to applications that utilize it. Users are advised to update or uninstall the package to safeguard their projects. Regular monitoring of dependencies is essential to maintain security.
See every vulnerability recorded for chair-script →
FAQ
chair-script is an npm library used for scripting tasks in JavaScript applications.
The malicious code can lead to unauthorized access and potential data breaches in applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
As a workaround, you can uninstall the chair-script package to prevent exploitation until a secure version is available.
The vulnerability was identified by Amazon Inspector, a security tool that helps find and mitigate risks in software packages.