High-risk tools in Playwright
17 of the 25 tools in Playwright are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
browser_clickExecute 4/5Click an element on a web page
-
browser_closeExecute 3/5Close the browser instance
-
browser_dragExecute 4/5Drag an element to another location
-
browser_file_uploadExecute 5/5Upload a local file to a web page
-
browser_handle_dialogExecute 4/5Handle a browser dialog
-
browser_hoverExecute 3/5Hover over an element on the page
-
browser_installExecute 4/5Install the browser binary
-
browser_navigateExecute 4/5Navigate to a URL in the browser
-
browser_navigate_backExecute 3/5Navigate back in browser history
-
browser_navigate_forwardExecute 3/5Navigate forward in browser history
-
browser_press_keyExecute 4/5Press a keyboard key or combination
-
browser_resizeExecute 2/5Resize the browser window
-
browser_select_optionExecute 4/5Select an option from a dropdown
-
browser_tab_closeExecute 3/5Close a specific browser tab
-
browser_tab_newExecute 3/5Open a new browser tab
-
browser_tab_selectExecute 2/5Switch to a specific browser tab
-
browser_typeExecute 4/5Type text into an input field
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.
More on Playwright
Enforce policy on Playwright
One command generates a policy scaffold for every server in your MCP config.
npx -y @policylayer/intercept init