playwright-mcp
mcp0.0.75Playwright MCP server
By microsoft | 46 findings | Scanned 6/3/2026 | tooltrust-scanner/v0.3.13 | 33.4k
Risk Summary
Block in ProductionSupply Chain CVEs + Excessive Permissions risk is significant. Avoid using this in production agents.
Potential impact: Known dependency vulnerabilities can be exploited during install or runtime and widen the attack surface.
Recommended action: This tool should stay disabled in production agents until the flagged risks are fixed and the scan is clean.
{
"mcpServers": {
"playwright-mcp": {
"disabled": true
}
}
}Security Findings (46)
tool name or description implies arbitrary script/code execution (evaluate_script, execute javascript, etc.)
browser_evaluatebrowser_run_code_unsafeFix: This tool can execute arbitrary code or shell commands on the host system. Remove it unless strictly required. If kept: (1) restrict access to trusted users/agents only, (2) require human approval before each invocation (Claude Desktop: set approval_required: true; other clients: enable equivalent confirmation), (3) use the most restrictive sandbox or read-only mode available, and (4) never expose this tool to untrusted input sources.
GO-2026-5024 in golang.org/x/[email protected]: Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows (upgrade to 0.44.0)
browser_closebrowser_resizebrowser_console_messagesbrowser_handle_dialogbrowser_evaluatebrowser_file_uploadbrowser_dropbrowser_fill_formbrowser_press_keybrowser_typebrowser_navigatebrowser_navigate_backbrowser_network_requestsbrowser_network_requestbrowser_run_code_unsafebrowser_take_screenshotbrowser_snapshotbrowser_clickbrowser_dragbrowser_hoverbrowser_select_optionbrowser_tabsbrowser_wait_forFix: Upgrade or replace the vulnerable dependency. Pin all dependency versions and enable automated CVE scanning (Dependabot or OSV Scanner).
tool declares exec permission
browser_evaluatebrowser_run_code_unsafetool declares network permission
browser_navigatebrowser_network_requestsbrowser_network_requestbrowser_tabsFix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.
tool declares fs permission
browser_console_messagesbrowser_evaluatebrowser_file_uploadbrowser_dropbrowser_network_requestsbrowser_network_requestbrowser_run_code_unsafebrowser_take_screenshotbrowser_snapshotFix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.
tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
browser_evaluatebrowser_navigatebrowser_network_requestsbrowser_network_requestbrowser_run_code_unsafebrowser_tabsFix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.
Scan this tool yourself
Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.
Install once, then scan any MCP server:
$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash$ tooltrust-scanner scan --server "npx -y playwright-mcp"Adjust the package name if your npm registry name differs from the tool ID. View source
Add badge to your README
Copy this Markdown to show your ToolTrust grade on GitHub.
[](https://github.com/AgentSafe-AI/tooltrust-directory)