Critical Malicious Code Vulnerability in cit-playwright-tests Package
Summary
MAL-2026-2080: Malicious code in cit-playwright-tests (npm). Affects cit-playwright-tests versions 1.0.1. 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 cit-playwright-tests package is a Node.js library designed for testing web applications using Playwright, a popular automation framework. This package allows developers to write tests that simulate user interactions in a browser environment. However, it has been identified as containing malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the cit-playwright-tests package. This code can grant unauthorized access to the system, potentially allowing attackers to steal sensitive information such as secrets and keys. The malicious nature of this code poses a significant risk, as any computer running this package should be considered fully compromised. The origin of this vulnerability is linked to the package being flagged by the GitHub Security Advisory (GHSA-64p5-3wp7-v4c9) as part of a broader effort to identify and mitigate malicious packages in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cit-playwright-tests
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
There are no effective workarounds for this vulnerability other than removing the package and securing your system. It is essential to monitor your environment for any signs of compromise.
Conclusion
The cit-playwright-tests package has been identified as containing malicious code that poses a severe security risk. Immediate action is required to remove the package and secure any compromised systems. Regular monitoring and vigilance are essential to prevent similar vulnerabilities in the future.
See every vulnerability recorded for cit-playwright-tests →
FAQ
Immediately uninstall the package using 'npm uninstall cit-playwright-tests' and rotate any sensitive information stored on the affected system.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential exploitation of sensitive information.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated to the latest secure versions.
While many packages are safe, it's essential to review package origins, maintainers, and community feedback. Use tools like Vulert to help identify potential risks.