Chrome DevTools for coding agents
This report summarizes scanner evidence for ChromeDevTools/chrome-devtools-mcp, a TypeScript project with 54,527 GitHub stars. SynthScan examined 96,761 lines of code across 325 source files, recording 91 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 85 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 67 finding(s).
Which changes need focused human review? 91 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 91 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rollup.config.js | 63 | function getDevToolsFrontendCommit() { | CODE |
| LOW⚡ | tests/mocks.ts | 1148 | export function createMockHeapSnapshotStaticData(): DevTools.HeapSnapshotModel.HeapSnapshotModel.StaticData { | CODE |
| LOW⚡ | tests/mocks.ts | 1157 | export function createMockNativeContextSizes(): DevTools.HeapSnapshotModel.HeapSnapshotModel.NativeContextSizes { | CODE |
| LOW⚡ | tests/mocks.ts | 1165 | export function createMockRetainedByContextSummary(): DevTools.HeapSnapshotModel.HeapSnapshotModel.RetainedByContextSumm | CODE |
| LOW | tests/mocks.ts | 205 | export function createMockPuppeteerBrowser(): sinon.SinonStubbedInstance<Browser> { | CODE |
| LOW | tests/mocks.ts | 423 | export function createMockPuppeteerTarget( | CODE |
| LOW | tests/mocks.ts | 596 | export function createMockAuthenticatorId( | CODE |
| LOW | tests/mocks.ts | 716 | export function createMockCSSStyleDeclaration( | CODE |
| LOW | tests/mocks.ts | 862 | export function createMockCSSKeyframesRule( | CODE |
| LOW | tests/mocks.ts | 923 | export function createMockCSSPositionTryRule( | CODE |
| LOW | tests/mocks.ts | 949 | export function createMockCSSRegisteredProperty( | CODE |
| LOW | tests/mocks.ts | 1003 | export function createMockCSSFunctionRule( | CODE |
| LOW | tests/mocks.ts | 1057 | export function createMockCSSMatchedStyles( | CODE |
| LOW | tests/mocks.ts | 1134 | export function createMockHeapSnapshotStats(): DevTools.HeapSnapshotModel.HeapSnapshotModel.Statistics { | CODE |
| LOW | tests/mocks.ts | 1176 | export function createMockHeapSnapshotAggregateData(): HeapSnapshotAggregateData { | CODE |
| LOW | tests/mocks.ts | 1223 | export function createMockClassDiffTotals( | CODE |
| LOW | tests/mocks.ts | 1236 | export function createMockHeapSnapshotDiff( | CODE |
| LOW | tests/mocks.ts | 1255 | export function createMockDetailedClassDiff( | CODE |
| LOW | tests/mocks.ts | 1264 | export function createMockDuplicateStrings(): DuplicateStringGroup[] { | CODE |
| LOW | tests/mocks.ts | 1284 | export function createMockContextAnalysisResult(): DevTools.HeapSnapshotModel.HeapSnapshotModel.ContextAnalysisResult { | CODE |
| LOW | tests/mocks.ts | 1386 | export function createMockParsedArguments( | CODE |
| LOW | tests/mocks.ts | 1408 | export function createMockHeapSnapshotNode( | CODE |
| LOW | tests/mocks.ts | 1426 | export function createMockHeapSnapshotEdge( | CODE |
| LOW | tests/mocks.ts | 1438 | export function createMockHeapSnapshotAggregate( | CODE |
| LOW | tests/McpServer.test.ts | 866 | async function getToolsWithFilteredCategories( | CODE |
| LOW | tests/index.test.ts | 387 | async function createNewPageAndTriggerDialog(client: Client) { | CODE |
| LOW | tests/utils.ts | 50 | export function assertNoServiceWorkerReported( | CODE |
| LOW | tests/utils.ts | 182 | export async function createConnectedMcpContext( | CODE |
| LOW | tests/utils.ts | 372 | export function stabilizeStructuredContent(content: unknown): string { | CODE |
| LOW | tests/network_blocking.test.ts | 27 | function setupServiceWorkerFixture(server: TestServer): {received: string[]} { | CODE |
| LOW | tests/network_blocking.test.ts | 145 | async function assertServiceWorkerRequestsAreBlocked( | CODE |
| LOW | tests/shutdown.test.ts | 129 | async function initializeAndLaunchBrowser(child: Server): Promise<void> { | CODE |
| LOW | tests/McpResponse.test.ts | 1277 | async function testIncludesThirdPartyDeveloperTools( | CODE |
| LOW | tests/McpContext.test.ts | 1383 | async function createNetworkPolicyContext(options: { | CODE |
| LOW | tests/tools/thirdPartyDeveloper.test.ts | 298 | async function setupThirdPartyDeveloperTools( | CODE |
| LOW | tests/formatters/CssFormatter.test.ts | 97 | function createMatchedStylesForRuleSubsets() { | CODE |
| LOW | scripts/post-build.ts | 200 | function copyDevToolsDescriptionFiles(): void { | CODE |
| LOW | scripts/prepare.ts | 19 | function removeConflictingGlobalDeclaration(): void { | CODE |
| LOW | scripts/generate-docs.ts | 85 | function hasOffByDefaultConditions(tool: ToolWithAnnotations): boolean { | CODE |
| LOW | scripts/generate-docs.ts | 112 | function generateConfigOptionsMarkdown(): string { | CODE |
| LOW | scripts/generate-docs.ts | 163 | function updateConfigurationWithOptionsMarkdown(optionsMarkdown: string): void { | CODE |
| LOW | scripts/generate-docs.ts | 408 | async function generateToolDocumentation(): Promise<void> { | CODE |
| LOW | scripts/update_metrics.ts | 31 | function writeToolCallMetricsConfig() { | CODE |
| LOW | scripts/profile/utils.ts | 31 | export function selectedPageIdFromToolResult(result: unknown): number { | CODE |
| LOW | src/ToolHandler.ts | 98 | async function validateAndResolvePathOrUrl( | CODE |
| LOW | src/ToolHandler.ts | 98 | async function validateAndResolvePathOrUrl( | CODE |
| LOW | src/McpPage.ts | 92 | export function replaceHtmlElementsWithUids( | CODE |
| LOW | src/tools/performance.ts | 224 | async function stopTracingAndAppendOutput( | CODE |
| LOW | src/config/category-options.ts | 168 | export function getOffByDefaultCategories(): ToolCategory[] { | CODE |
| LOW | src/formatters/CssFormatter.ts | 340 | function createContainerQueryAncestor( | CODE |
| LOW | src/formatters/CssFormatter.ts | 651 | function appendCssSectionsToString( | CODE |
| LOW | src/formatters/IssueFormatter.ts | 221 | function convertIssueConciseToString(issue: IssueConcise): string { | CODE |
| LOW | src/formatters/IssueFormatter.ts | 225 | function convertIssueDetailedToString(issue: IssueDetailed): string { | CODE |
| LOW | src/formatters/ConsoleFormatter.ts | 357 | function convertConsoleMessageConciseToString( | CODE |
| LOW | src/formatters/ConsoleFormatter.ts | 372 | function convertConsoleMessageConciseDetailedToString( | CODE |
| LOW | src/formatters/NetworkFormatter.ts | 34 | function responseBodyTimeoutMessage(error: ResponseBodyTimeoutError): string { | CODE |
| LOW | src/formatters/NetworkFormatter.ts | 308 | function convertNetworkRequestConciseToString( | CODE |
| LOW | src/formatters/NetworkFormatter.ts | 325 | function convertNetworkRequestDetailedToStringDetailed( | CODE |
| LOW | src/utils/resourceType.ts | 15 | export function getFilterableResourceType(request: HTTPRequest): ResourceType { | CODE |
| LOW | src/utils/errorHandling.ts | 14 | export function setupUnhandledRejectionHandler(onCrash: () => void): void { | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/devtools/DevtoolsUtils.ts | 49 | DevTools.ProtocolClient.InspectorBackend.inspectorBackend.agentPrototypes.get( | CODE |
| CRITICAL | src/devtools/DevtoolsUtils.ts | 102 | DevTools.ProtocolClient.InspectorBackend.inspectorBackend.agentPrototypes.get( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills/debug-optimize-lcp/SKILL.md | 35 | ### Step 1: Record a Performance Trace | COMMENT |
| LOW | skills/debug-optimize-lcp/SKILL.md | 44 | ### Step 2: Analyze LCP Insights | COMMENT |
| LOW | skills/debug-optimize-lcp/SKILL.md | 55 | ### Step 3: Identify the LCP Element | COMMENT |
| LOW | skills/debug-optimize-lcp/SKILL.md | 61 | ### Step 4: Check the Network Waterfall | COMMENT |
| LOW | skills/debug-optimize-lcp/SKILL.md | 73 | ### Step 5: Inspect HTML for Common Issues | COMMENT |
| LOW | skills/troubleshooting/SKILL.md | 10 | ### Step 1: Find and Read Configuration | COMMENT |
| LOW | skills/troubleshooting/SKILL.md | 22 | ### Step 2: Triage Common Connection Errors | COMMENT |
| LOW | skills/troubleshooting/SKILL.md | 67 | ### Step 3: Read Known Issues | COMMENT |
| LOW | skills/troubleshooting/SKILL.md | 75 | ### Step 4: Formulate a Configuration | COMMENT |
| LOW | skills/troubleshooting/SKILL.md | 86 | ### Step 5: Run Diagnostic Commands | COMMENT |
| LOW | skills/troubleshooting/SKILL.md | 93 | ### Step 6: Check GitHub for Existing Issues | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | SECURITY.md | 53 | ### Network guardrails | COMMENT |
| MEDIUM | docs/client-configurations.md | 292 | Follow the <a href="https://cloud.google.com/gemini/docs/codeassist/use-agentic-chat-pair-programmer#configure-mcp-serve | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/tools/script.test.ts | 427 | dialogAction: 'John Doe', | CODE |
| LOW | tests/tools/script.test.ts | 434 | assert.strictEqual(JSON.parse(lineEvaluation), 'John Doe'); | CODE |
| LOW | …eval_scenarios/page_id_routing_concurrent_form_test.ts | 23 | 2. Fill "user@example.com" into the Email input on Page B. | CODE |
| LOW | …eval_scenarios/page_id_routing_concurrent_form_test.ts | 51 | } else if (value === 'user@example.com' || value === 'Great tools!') { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/McpContext.ts | 141 | COMMENT | |
| LOW | src/McpResponse.ts | 141 | types?: string[]; | COMMENT |
| LOW | src/McpPage.ts | 201 | // Metadata | COMMENT |
| LOW | src/telemetry/watchdog/ClearcutSender.ts | 41 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/daemon/daemon.ts | 162 | async function handleRequest(msg: DaemonMessage): Promise<{ | CODE |