Resources / MCP Server Risk Directory / Chrome DevTools MCP
Is the Chrome DevTools MCP safe? Risks, permissions and safe setup
Frontend developers letting coding agents debug pages, read console and network activity and run performance traces in Chrome. Here is what an AI agent can do through it, its published vulnerabilities and how to set it up safely.
Baseline risk
- Capabilities: 40 of 40
- Read-plus-exfiltrate: +20
- Hidden instructions (publicly verified): none known
- Third-party publisher: no (official)
Before your own factors: version pinning, number of users and policy coverage. How we score
- Maker
- Google (Chrome DevTools team)
- Publisher
- Official (published by the maker)
- Runs
- Local (runs on the device)
- Transport
- stdio
- Authentication
- none (local process permissions); the browser uses its profile, or attaches to a running Chrome via --browserUrl or --wsEndpoint
- Tools
- 63
- Built-in limits
- --slim (3 tools); category flags such as --categoryEmulation (on), --categoryExtensions, --categoryNetworkMocks, --categoryPwa, --categoryWebauthn, --categoryExperimentalThirdParty (off by default); --javascriptEvaluation false disables caller-provided JavaScript; --allowedUrlPattern / --blockedUrlPattern; --isolated; --filesystemRoot; no read-only mode
- License
- Apache-2.0
- Source
- github.com/ChromeDevTools/chrome-devtools-mcp
- Last verified
- 2026-11-23
What an agent can do through it
| Tool | Type | What it does |
|---|---|---|
| navigate_page | Network | Navigates to a URL and accepts an initScript run on each new document |
| take_snapshot | Read | Returns a text snapshot of the page, including logged-in content |
| evaluate_script | Execute | Runs JavaScript in the page or a service worker |
| get_network_request | Read | Returns request and response bodies inline |
| fill | Send | Types values into form fields |
| upload_file | Read | Uploads a local file through a file input |
| install_extension | Write | Installs a browser extension (extensions category, off by default) |
| execute_3p_developer_tool | Execute | Runs tools exposed by the inspected page itself (experimental, off by default) |
Read-plus-exfiltrate: this server can both read sensitive data and send data out, so a single prompt injection in content the agent reads could move private data to an outside party without any other server involved.
Known vulnerabilities
| ID | Issue | Published | Fixed in |
|---|---|---|---|
| GHSA-3pvj-jv98-qhjq / CVE-2026-53765 Moderate (CVSS 6.1) | daemon.pid write follows symlinks in /tmp fallback runtime directory Affected: 0.20.0 through 1.0.1. | 2026-06-15 | 1.1.0 |
| GHSA-8qf9-62x2-82pp / CVE-2026-53766 Moderate (CVSS 6.1) | validatePath() does not canonicalize symlinks before enforcing roots Affected: >= 0.24.0, <= 1.0.1. | 2026-06-16 | 1.1.0 |
| GHSA-xfxg-8r4q-wj4v Moderate (CVSS 4.7) | Service-worker initiated fetches bypass chrome-devtools-mcp global URL allowlist/blocklist Affected: >= 1.2.0, <= 1.4.0 (as listed). | 2026-10-22 | 1.4.0 (as listed) |
| GHSA-5hw5-4q87-m6x9 / CVE-2026-106484 Moderate (NVD CVSS 3.1 4.4) | MCP roots bypass via extension-rewritten symlink output path Affected: >= 1.1.0, <= 1.4.0. | 2026-10-22 | 1.5.0 |
Main risks
Everything in the browser is exposed to the agent
LLM02:2025 Sensitive Information Disclosure
The README says the server exposes browser content to MCP clients and lets them inspect, debug and modify any data in the browser. get_network_request returns full request and response bodies, which can include tokens and personal data.
Page content injects instructions
LLM01:2025 Prompt Injection
take_snapshot and console messages return text from whatever site is loaded. Injected text can push the agent to navigate elsewhere, fill forms or run evaluate_script.
JavaScript execution in authenticated pages
ASI05 Unexpected Code Execution
evaluate_script, initScript on navigate_page and set_logpoints run code in the page with the user's session. The configuration guide says this is not a JavaScript sandbox.
URL and filesystem guards have been bypassed
ASI02 Tool Misuse and Exploitation
Advisories show service-worker fetches bypassing --allowedUrlPattern and --blockedUrlPattern, and symlink tricks bypassing MCP roots for file output. Versions before 1.5.0 carry at least one of these issues.
Unpinned @latest install and default telemetry
ASI04 Agentic Supply Chain Vulnerabilities
The README recommends chrome-devtools-mcp@latest so clients always run the newest release, and usage statistics and CrUX lookups of trace URLs are on by default. Both send or change things without an explicit choice.
How to set it up safely
- Pin chrome-devtools-mcp to 1.5.0 or later instead of @latest.
- Use --isolated so a temporary profile is used, and do not attach to your everyday Chrome with --browserUrl.
- Set --javascriptEvaluation false when the task does not need evaluate_script.
- Restrict sites with --allowedUrlPattern (Chrome 149+) and --blockedUrlPattern, while treating them as guardrails.
- Keep optional categories (extensions, network mocks, PWA, WebAuthn, experimental third-party) off, or use --slim.
- Keep file access limited to MCP roots or --filesystemRoot and do not use --allowUnrestrictedPaths.
- Opt out of telemetry with --no-usage-statistics and of CrUX lookups with --no-performance-crux if trace URLs are internal.
- Make sure the --config file and its directory are not writable by the agent, as the guide warns.
How we score
Baseline scores use the method from our guide to scoring every MCP server on employee laptops. Score the servers in your own environment with the free MCP Server Risk Checklist.
1. What the server can do (capped at 40)
- Sends messages externally: 15
- Fetches arbitrary URLs: 15
- Writes to code repositories: 15
- Reads and writes databases: 15
- Writes or deletes local files: 10
- Automates a browser: 10
- Reads and writes SaaS data: 10
- Reads local files: 5
- Runs code or commands: 15 (added for this directory)
- Changes cloud infrastructure: 15 (added for this directory)
- Moves money or changes payments: 15 (added for this directory)
2. What we found
- Read-plus-exfiltrate: reads sensitive data and can also send data out: 20
- Hidden instructions in a tool description (publicly verified): 30, and always Critical
- Third-party: not published by the maker of the system it connects to: 10
3. Band
0–24 Low · 25–49 Medium · 50–74 High · 75–100 Critical.
This is a baseline. The full method also adds points for unpinned package versions, how many employees use the server and whether a policy covers it; those depend on your setup, so check them in your own environment.
How AccuroAI helps
The AccuroAI Endpoint Agent finds the MCP servers configured in AI clients on managed devices and lists the tools each local server exposes. Each server gets a risk level with its capabilities, and you can block a server once in the console to enforce the block on every device: Claude Code and Cursor refuse calls to it, and for other clients the agent stops the server process. Tool calls from coding agents can be graded by risk, then allowed, confirmed with the employee or blocked.
MCP security · MCP server inventory · How to red team an MCP server
Questions about the Chrome DevTools MCP
Is the Chrome DevTools MCP safe to use?
It can be, with the right setup. At baseline it scores 60 (High) in the AccuroAI method because an agent using it can automates a browser, fetches arbitrary urls, reads local files. Limit its scopes or tools, keep a person in the loop for write actions and pin the version you reviewed.
Does the Chrome DevTools MCP have known vulnerabilities?
Yes. 4 published issues are listed on this page with the affected versions and the fix, as of 2026-11-23. Update to a fixed version and check the maker's advisories before approving a new release.
How do I restrict the Chrome DevTools MCP?
Use the controls the maker provides: --slim (3 tools); category flags such as --categoryEmulation (on), --categoryExtensions, --categoryNetworkMocks, --categoryPwa, --categoryWebauthn, --categoryExperimentalThirdParty (off by default); --javascriptEvaluation false disables caller-provided JavaScript; --allowedUrlPattern / --blockedUrlPattern; --isolated; --filesystemRoot; no read-only mode. Then grant the narrowest token or account, approve the server centrally and block other copies of it.
Related servers
Fetch MCP Server (mcp-server-fetch) · Playwright MCP · All servers
Sources
- https://github.com/ChromeDevTools/chrome-devtools-mcp
- https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/tool-reference.md
- https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/configuration.md
- https://github.com/ChromeDevTools/chrome-devtools-mcp/security/advisories
- https://github.com/ChromeDevTools/chrome-devtools-mcp/security/advisories/GHSA-3pvj-jv98-qhjq
- https://github.com/ChromeDevTools/chrome-devtools-mcp/security/advisories/GHSA-8qf9-62x2-82pp
- https://github.com/ChromeDevTools/chrome-devtools-mcp/security/advisories/GHSA-xfxg-8r4q-wj4v
- https://github.com/ChromeDevTools/chrome-devtools-mcp/security/advisories/GHSA-5hw5-4q87-m6x9
- https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSearch=chrome-devtools-mcp
Facts were verified on 2026-11-23 against the server’s own repository and documentation and public vulnerability records. Servers change often: check the maker’s latest release notes before approving a new version. This page is general security guidance, not a guarantee about any product.