Launch Chrome with remote debugging and a chosen profile directory (
AI agents invoke chrome_launch to trigger actions in Nextjs Agent. 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.
Launching Chrome with remote debugging enables arbitrary code execution in a browser context. While not immediately destructive, it can execute scripts, interact with web pages, and potentially access sensitive data depending on the profile and permissions.
From the tool's definition Tool name and description indicate 'Launch Chrome with remote debugging' — this executes a browser process with debugging capabilities, which can interact with web content, run scripts, and trigger external operations.
Attacks that exploit this kind of access
Launch Chrome with remote debugging and a chosen profile directory (. It is categorised as a Execute tool in the Nextjs Agent MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Nextjs Agent MCP server in PolicyLayer and add a rule for chrome_launch: 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 Nextjs Agent. Nothing to install.
chrome_launch 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 chrome_launch 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 chrome_launch. 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.
chrome_launch is provided by the Nextjs Agent MCP server (zohaib3249/nextjs-agent-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
chrome_launch is one line of Nextjs Agent's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →