Restart Chromium browser (Chrome, Edge, Brave, Arc) with Chrome DevTools Protocol (CDP) enabled. Also works for CEF apps (Epic Games Launcher, Unreal Engine apps) — automatically detects and uses -cefdebug flag. This tool: 1. Saves all open tabs (URLs) 2. Closes the browser gracefully 3. Relaunch...
AI agents invoke os_browser_restart_with_cdp to trigger actions in OScribe. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
This tool executes external operations (browser restart with debugging protocol enablement) whose effects depend on arguments and system state. It triggers a complex sequence of actions including process termination, relaunching with modified flags, and state restoration. While not immediately destructive, enabling CDP exposes the browser to remote debugging which could be leveraged for further exploitation.
From the tool's definition Restart Chromium browser with Chrome DevTools Protocol (CDP) enabled; Relaunches with --remote-debugging-port=9222; automatically detects and uses -cefdebug flag; Closes the browser gracefully; Restores all tabs
Attacks that exploit this kind of access
Restart Chromium browser (Chrome, Edge, Brave, Arc) with Chrome DevTools Protocol (CDP) enabled. Also works for CEF apps (Epic Games Launcher, Unreal Engine apps) — automatically detects and uses -cefdebug flag. This tool: 1. Saves all open tabs (URLs) 2. Closes the browser gracefully 3. Relaunches with --remote-debugging-port=9222 (browsers) or -cefdebug=9225 (CEF apps) 4. Restores all tabs 5. Takes a screenshot automatically after restart to verify CDP is active Use this when: - Screenshot shows. It is categorised as a Execute tool in the OScribe MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the OScribe MCP server in PolicyLayer and add a rule for os_browser_restart_with_cdp: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches OScribe. Nothing to install.
os_browser_restart_with_cdp is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the os_browser_restart_with_cdp rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for os_browser_restart_with_cdp. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
os_browser_restart_with_cdp is provided by the OScribe MCP server (mikealkeal/oscribe). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →