Critical-risk tools in Playwright
11 of the 83 tools in Playwright are classified as critical 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 critical risk
-
browser_console_clearDestructiveClear all console messages
-
browser_cookie_clearDestructiveClear all cookies
-
browser_cookie_deleteDestructiveDelete a specific cookie (optionally only on a given domain/path)
-
browser_dropDestructiveDrop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of
-
browser_hide_highlightDestructiveRemove a highlight overlay previously added for the element.
-
browser_localstorage_clearDestructiveClear all localStorage
-
browser_localstorage_deleteDestructiveDelete a localStorage item
-
browser_network_clearDestructiveClear all network requests
-
browser_sessionstorage_clearDestructiveClear all sessionStorage
-
browser_sessionstorage_deleteDestructiveDelete a sessionStorage item
-
browser_unrouteDestructiveRemove network routes matching a pattern (or all routes if no pattern specified)
Attacks that target this class
Critical-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.