AI Slop Code RIsk Monitor

anthropics/claude-quickstarts

A collection of projects designed to help developers quickly get started with building deployable applications using the Claude API

6.3 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for anthropics/claude-quickstarts, a TypeScript project with 17,864 GitHub stars. SynthScan examined 109,978 lines of code across 539 source files, recording 491 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 6.3 (Moderate 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.

6.3
Adjusted Signal
6.3
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
17.9K
Stars
TypeScript
Language
110.0K
Lines of Code
539
Files
491
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 18.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 362 finding(s).

Hallucinated Dependency & Supply Chain Risk 6.3/100 · LOW

Are imports declared and package/API names verified? 55 finding(s).

Agent Over-Engineering Ratio 15.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 306 finding(s).

PR Review Velocity Impact 26.3/100 · MEDIUM

Which changes need focused human review? 491 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 29MEDIUM 18LOW 444

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 491 distinct pattern matches across 17 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.

Hyper-Verbose Identifiers231 hits · 268 pts
SeverityFileLineSnippetContext
LOWautonomous-coding/test_security.py115def test_validate_init_script():CODE
LOWautonomous-coding/security.py279def get_command_for_validation(cmd: str, segments: list[str]) -> str:CODE
LOWagents/test_message_params.py173 def test_invalid_metadata_field(self) -> None:CODE
LOWfinancial-data-analyst/components/ui/chart.tsx325function getPayloadConfigFromPayload(CODE
LOWcomputer-use-demo/computer_use_demo/streamlit.py468def maybe_add_interruption_blocks():CODE
LOWcomputer-use-demo/computer_use_demo/loop.py244def _maybe_filter_to_n_most_recent_images(CODE
LOWcomputer-use-demo/computer_use_demo/loop.py385def _maybe_prepend_system_tool_result(result: ToolResult, result_text: str):CODE
LOWcomputer-use-demo/computer_use_demo/tools/computer.py220 def validate_and_get_coordinates(self, coordinate: tuple[int, int] | None = None):CODE
LOWcomputer-use-demo/tests/streamlit_test.py49def test_thinking_modes_follow_selected_model(CODE
LOWcomputer-use-demo/tests/streamlit_test.py61def test_interruption_blocks_keep_toolset_name():CODE
LOWcomputer-use-demo/tests/loop_test.py84async def _run_loop_and_get_request_kwargs(**loop_kwargs):CODE
LOW⚡computer-use-demo/tests/loop_test.py116async def test_loop_thinking_off_sends_no_thinking_params():CODE
LOW⚡computer-use-demo/tests/loop_test.py121async def test_loop_adaptive_thinking_sends_effort():CODE
LOW⚡computer-use-demo/tests/loop_test.py131async def test_loop_extended_thinking_sends_budget():CODE
LOW⚡computer-use-demo/tests/loop_test.py140async def test_loop_toolset_sends_no_beta_header_without_flags():CODE
LOW⚡computer-use-demo/tests/loop_test.py149async def test_loop_toolset_on_anthropic_keeps_prompt_caching_beta():CODE
LOW⚡computer-use-demo/tests/loop_test.py156async def test_loop_toolset_member_calls_run_sequentially_and_stop_on_failure():CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py132async def test_computer_tool_invalid_action(computer_tool):CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py138async def test_computer_tool_missing_coordinate(computer_tool):CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py144async def test_computer_tool_missing_text(computer_tool):CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py154def test_computer_toolset_to_params_is_a_nameless_entry(computer_toolset):CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py159async def test_computer_toolset_key_repeat(computer_toolset):CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py169async def test_computer_toolset_key_repeat_quotes_each_key(computer_toolset):CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py179async def test_computer_toolset_key_without_repeat_takes_the_quoted_path(CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py191async def test_computer_toolset_key_rejects_coordinate(computer_toolset):CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py197async def test_computer_toolset_key_repeat_out_of_bounds(computer_toolset):CODE
LOW⚡computer-use-demo/tests/tools/computer_test.py203async def test_computer_toolset_click_accepts_text_modifier(computer_toolset):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py26async def test_computer_tool_mouse_move(computer_tool):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py54async def test_computer_tool_screenshot(computer_tool):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py65async def test_computer_tool_scaling(computer_tool):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py88async def test_computer_tool_scaling_with_different_aspect_ratio(computer_tool):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py105async def test_computer_tool_no_scaling_for_unsupported_resolution(computer_tool):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py121async def test_computer_tool_scaling_out_of_bounds(computer_tool):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py214async def test_computer_toolset_drag_accepts_text_modifier(computer_toolset):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py229async def test_computer_toolset_invalid_member(computer_toolset):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py235async def test_tool_collection_routes_member_calls(computer_toolset):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py277async def test_zoom_crops_the_physical_capture_and_fits_the_screenshot_frame(CODE
LOWcomputer-use-demo/tests/tools/computer_test.py295async def test_zoom_without_scaling_uses_screenshot_pixels_directly(zoom_capture):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py306async def test_zoom_is_a_toolset_member(zoom_capture, computer_toolset):CODE
LOWcomputer-use-demo/tests/tools/computer_test.py325async def test_zoom_rejects_malformed_regions(zoom_capture, region, message):CODE
LOW⚡computer-use-demo/tests/tools/bash_test.py22async def test_bash_tool_run_command(bash_tool):CODE
LOW⚡computer-use-demo/tests/tools/bash_test.py29async def test_bash_tool_no_command(bash_tool):CODE
LOW⚡computer-use-demo/tests/tools/bash_test.py35async def test_bash_tool_session_creation(bash_tool):CODE
LOW⚡computer-use-demo/tests/tools/bash_test.py42async def test_bash_tool_session_reuse(bash_tool):CODE
LOW⚡computer-use-demo/tests/tools/bash_test.py51async def test_bash_tool_session_error(bash_tool):CODE
LOW⚡computer-use-demo/tests/tools/bash_test.py57async def test_bash_tool_non_zero_exit(bash_tool):CODE
LOW…s/assistant-ui/lib/managed-agents/runtime-provider.tsx133export function ManagedAgentsRuntimeProvider({ children }: { children: React.ReactNode }) {CODE
LOWmanaged-agents/linear/src/managed-agents-webhook.ts31export async function handleManagedAgentsWebhook(req: Request): Promise<Response> {CODE
LOWmanaged-agents/slack/src/managed-agents-webhook.ts24export async function handleManagedAgentsWebhook(req: Request): Promise<Response> {CODE
LOW⚡computer-use-best-practices/tests/test_zoom.py5def test_zoom_in_computer_schema() -> None:CODE
LOW⚡computer-use-best-practices/tests/test_zoom.py12def test_zoom_in_browser_schema() -> None:CODE
LOW⚡computer-use-best-practices/tests/test_zoom.py18def test_computer_zoom_validation() -> None:CODE
LOWcomputer-use-best-practices/tests/test_result.py4def test_errored_result_replaces_image_with_placeholder():CODE
LOWcomputer-use-best-practices/tests/test_result.py13def test_ok_result_emits_image():CODE
LOW⚡computer-use-best-practices/tests/test_build_tools.py19def test_default_includes_both_sets(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡computer-use-best-practices/tests/test_build_tools.py26def test_disable_computer_only(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡computer-use-best-practices/tests/test_build_tools.py36def test_disable_browser_only(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡computer-use-best-practices/tests/test_build_tools.py44def test_both_disabled_raises(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡computer-use-best-practices/tests/test_computer.py42def test_type_text_uses_unicode_not_keycodes(captured):CODE
LOW⚡computer-use-best-practices/tests/test_computer.py52def test_type_text_sends_real_keys_for_control_chars(captured):CODE
171 more matches not shown…
Cross-Language Confusion15 hits · 88 pts
SeverityFileLineSnippetContext
HIGHautonomous-coding/test_security.py52 ("npm install && npm run build", ["npm", "npm"]),CODE
HIGHautonomous-coding/test_security.py56 ("git status || git init", ["git", "git"]),CODE
HIGHautonomous-coding/test_security.py253 "npm install && npm run build",CODE
HIGHautonomous-coding/agent.py202 print(" npm install && npm run dev")CODE
HIGH⚡browser-toolset/python/cdp_browser.py270 const name = (el) => (el.getAttribute('aria-label') || el.innerText || el.value || el.placeholder || '')CODE
HIGH⚡browser-toolset/python/cdp_browser.py276 if (rect.width === 0 && rect.height === 0) continue; // not renderedCODE
HIGH⚡browser-toolset/python/cdp_browser.py280 lines.push(`- ${role} "${name(el)}" [${ref}]`);CODE
HIGH⚡browser-toolset/python/cdp_browser.py287 const el = window.__cdpBrowserRefs && window.__cdpBrowserRefs.byRef.get(ref);CODE
HIGH⚡browser-toolset/python/cdp_browser.py288 if (!el || !el.isConnected) return null;CODE
HIGH…naged-agents/self-hosted-sandboxes/archil/sandboxes.py23apt-get update -qq && apt-get install -y -qq --no-install-recommends ca-certificates curl git ripgrep unzip sqlite3 >/deCODE
HIGHmanaged-agents/self-hosted-sandboxes/archil/on-work.py58 f"mkdir -p /mnt/edgar && archil -q mount {disk} /mnt/edgar --region {region} --shared >/dev/null"CODE
HIGHmanaged-agents/self-hosted-sandboxes/archil/seed.py83 rm -rf $1 && mkdir -p $1 && unzip -q /tmp/q.zip -d $1 && rm /tmp/q.zipCODE
HIGHmanaged-agents/self-hosted-sandboxes/archil/seed.py84 find $1 -mindepth 2 -type f -exec mv -t $1 {{}} + 2>/dev/null; find $1 -mindepth 1 -type d -deleteCODE
HIGHmanaged-agents/self-hosted-sandboxes/archil/seed.py95 curl -fsS -A "$SEC_USER_AGENT" -o $name.zip https://www.sec.gov/Archives/edgar/daily-index/$( [ $name = companyfacts ]CODE
HIGHmanaged-agents/self-hosted-sandboxes/archil/seed.py96 mkdir -p $name && unzip -q $name.zip -d $name && rm $name.zipCODE
Excessive Try-Catch Wrapping60 hits · 65 pts
SeverityFileLineSnippetContext
MEDIUMautonomous-coding/autonomous_agent_demo.py81 print("Error: ANTHROPIC_API_KEY environment variable not set")CODE
LOWautonomous-coding/autonomous_agent_demo.py110 except Exception as e:CODE
LOWautonomous-coding/agent.py92 except Exception as e:CODE
MEDIUMautonomous-coding/agent.py93 print(f"Error during agent session: {e}")CODE
LOWbrowser-toolset/python/cdp_browser.py137 except Exception:CODE
LOWbrowser-toolset/python/cdp_browser.py258 except Exception:CODE
LOWagents/test_message_params.py50 except Exception as e:CODE
LOWagents/test_message_params.py191 except Exception as e:CODE
MEDIUMagents/test_message_params.py253 print("Error: Please set ANTHROPIC_API_KEY environment variable")CODE
LOWagents/tools/calculator_mcp.py50 except Exception as e:CODE
LOWagents/tools/file_tools.py101 except Exception as e:STRING
LOWagents/tools/file_tools.py134 except Exception as e:CODE
LOWagents/tools/file_tools.py229 except Exception as e:CODE
LOWagents/tools/file_tools.py276 except Exception as e:CODE
LOWagents/tools/mcp_tool.py38 except Exception as e:CODE
LOWagents/utils/history_util.py39 except Exception:CODE
LOWagents/utils/tool_util.py20 except Exception as e:CODE
LOWagents/utils/connections.py43 except Exception as e:CODE
MEDIUMagents/utils/connections.py44 print(f"Error during cleanup: {e}")CODE
LOWagents/utils/connections.py144 except Exception as e:CODE
MEDIUMagents/utils/connections.py145 print(f"Error setting up MCP server {config}: {e}")CODE
LOWcomputer-use-demo/computer_use_demo/streamlit.py534 except Exception as e:CODE
LOWcomputer-use-demo/computer_use_demo/streamlit.py547 except Exception as e:CODE
LOWcomputer-use-demo/computer_use_demo/tools/edit.py251 except Exception as e:CODE
LOWcomputer-use-demo/computer_use_demo/tools/edit.py258 except Exception as e:CODE
LOW…gents/self-hosted-sandboxes/daytona/daytona_webhook.py246 except Exception as e: # noqa: BLE001 - one bad item must not stop the drainCODE
LOW…s/self-hosted-sandboxes/modal/modal_sandbox_webhook.py312 except Exception as e: # noqa: BLE001 - one bad item must not stop the drainCODE
LOWmanaged-agents/knowledge-wiki/utilities.py103 except Exception as e: # transient network/API blip: retryCODE
LOWcomputer-use-best-practices/computer_use/loop.py109 except Exception as e:CODE
LOWcomputer-use-best-practices/computer_use/preflight.py57 except Exception:CODE
LOWcomputer-use-best-practices/computer_use/preflight.py101 except Exception:CODE
LOWcomputer-use-best-practices/computer_use/tools/batch.py75 except Exception as e:CODE
LOW…puter-use-best-practices/computer_use/tools/browser.py154 except Exception as e:CODE
LOWcomputer-use-best-practices/computer_use/tools/base.py126 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/message_handler.py119 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/streamlit.py137 except Exception as e:CODE
MEDIUMbrowser-use-demo/browser_use_demo/streamlit.py138 print(f"Error adding image to ZIP: {e}")CODE
LOWbrowser-use-demo/browser_use_demo/streamlit.py520 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/loop.py141 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py394 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py413 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py555 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py566 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py613 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py663 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py690 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py715 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py731 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py747 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py811 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py854 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py900 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py1024 except Exception:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py1043 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py1064 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py1075 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py1101 except Exception as e:CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py371 except Exception as e:STRING
MEDIUMbrowser-use-demo/tests/test_streamlit_helpers.py279def run_setup():CODE
LOW⚡browser-use-demo/tests/test_streamlit_helpers.py283 except Exception as e:CODE
Over-Commented Block59 hits · 58 pts
SeverityFileLineSnippetContext
LOWcomputer-use-demo/computer_use_demo/loop.py41# The tool_result content a toolset member call receives when an earlierCOMMENT
LOWmanaged-agents/assistant-ui/app/assistant.tsx1"use client";COMMENT
LOW…nts/assistant-ui/app/api/sessions/[id]/stream/route.ts1import { client } from "@/lib/anthropic";COMMENT
LOW…ts/assistant-ui/app/api/sessions/[id]/confirm/route.ts1import type { BetaManagedAgentsUserToolConfirmationEventParams } from "@anthropic-ai/sdk/resources/beta/sessions/events"COMMENT
LOW…aged-agents/assistant-ui/agents/spreadsheet-analyst.md1---COMMENT
LOW…/assistant-ui/lib/managed-agents/session-controller.ts1"use client";COMMENT
LOW…/assistant-ui/lib/managed-agents/session-controller.ts41 private listeners = new Set<Listener>();COMMENT
LOW…aged-agents/assistant-ui/lib/managed-agents/reducer.ts1// The one place that turns a Managed Agents event log into an assistant-uiCOMMENT
LOW…aged-agents/assistant-ui/lib/managed-agents/reducer.ts361 };COMMENT
LOW…ssistant-ui/lib/managed-agents/session-list-adapter.ts1"use client";COMMENT
LOW…s/assistant-ui/lib/managed-agents/runtime-provider.tsx1"use client";COMMENT
LOW…s/assistant-ui/lib/managed-agents/runtime-provider.tsx61// ------------------------------------------------------- per-thread runtimeCOMMENT
LOWmanaged-agents/self-hosted-sandboxes/archil/start.sh1#!/usr/bin/env bashCOMMENT
LOW…-hosted-sandboxes/archil/environments/self-hosted.yaml1# The environment, sent by `ant apply` as the Environments API request body.COMMENT
LOWmanaged-agents/self-hosted-sandboxes/docker/on-work.sh1#!/usr/bin/env bashCOMMENT
LOWmanaged-agents/self-hosted-sandboxes/docker/start.sh1#!/usr/bin/env bashCOMMENT
LOW…/self-hosted-sandboxes/cloudflare-worker/wrangler.toml21# sessions until this is a real id.COMMENT
LOW…s/self-hosted-sandboxes/cloudflare-worker/src/index.ts21COMMENT
LOW…-agents/self-hosted-sandboxes/docker-memory/on-work.sh1#!/usr/bin/env bashCOMMENT
LOW…ed-agents/self-hosted-sandboxes/docker-memory/start.sh1#!/usr/bin/env bashCOMMENT
LOW…oxes/docker-memory/memory_stores/user-preferences.yaml1# The memory store, sent by `ant apply` as the Memory Stores API request body.COMMENT
LOW…f-hosted-sandboxes/cloudflare-containers/wrangler.toml21tag = "v1"COMMENT
LOW…ged-agents/self-hosted-sandboxes/openshell/policy.yaml41 port: 443COMMENT
LOW…aged-agents/self-hosted-sandboxes/openshell/on-work.sh1#!/usr/bin/env bashCOMMENT
LOW…aged-agents/self-hosted-sandboxes/openshell/on-work.sh161# startup. So the token is never in a file, on a command line, in theCOMMENT
LOWmanaged-agents/self-hosted-sandboxes/openshell/start.sh1#!/usr/bin/env bashCOMMENT
LOW…lf-hosted-sandboxes/openshell/agents/openshell-demo.md1---COMMENT
LOW…-sandboxes/webhook-demo/environments/webhook-demo.yaml1# The environment, sent by `ant apply` as the Environments API request body.COMMENT
LOW…f-hosted-sandboxes/webhook-demo/agents/webhook-demo.md1---COMMENT
LOWmanaged-agents/linear/src/route-signature.ts1import { createHmac, timingSafeEqual } from "crypto";COMMENT
LOW…naged-agents/daily-brief/agents/daily-brief/vault.yaml1# The vault: a named container for credentials that Anthropic holds for you andCOMMENT
LOWmanaged-agents/roadtrip-planner/agents/setup.sh1#!/usr/bin/env bashCOMMENT
LOW…ged-agents/roadtrip-planner/agents/roadtrip-planner.md1---COMMENT
LOW…d-agents/roadtrip-planner/vaults/roadtrip-planner.yaml1# The vault. Credentials live here, not in the environment and not in theCOMMENT
LOWmanaged-agents/mcp-server-typescript/environment.yaml1# The one Managed Agents resource this quickstart needs: the sandbox templateCOMMENT
LOWmanaged-agents/slack/src/route-signature.ts1import { createHmac, timingSafeEqual } from "crypto";COMMENT
LOW…agents/copilot-kit-ag-ui/agents/financial-assistant.md1---COMMENT
LOWmanaged-agents/sentry/agents/sentry-triage.md1---COMMENT
LOWmanaged-agents/chat-sdk/web/app.tsx1// Browser chat client. The sidebar lists Managed Agents sessions -- the onlyCOMMENT
LOWmanaged-agents/chat-sdk/src/app.ts1// The platform-neutral core: the four /api routes as one fetch-native HonoCOMMENT
LOWmanaged-agents/chat-sdk/src/bot.ts1// Chat SDK wiring: the web adapter turns each browser POST into a DM on aCOMMENT
LOWmanaged-agents/chat-sdk/src/bot.ts61 // Don't use the SDK's per-thread lock for serialization: its TTL (30s) isCOMMENT
LOWmanaged-agents/chat-sdk/src/managed-agents.ts261 text: string,COMMENT
LOWcomputer-use-best-practices/config.example.toml1# Override any constants.Config field. Point CU_CONFIG at this file (in yourCOMMENT
LOWcomputer-use-best-practices/config.example.toml21# api_retry_max_attempts = 5COMMENT
LOWcomputer-use-best-practices/requirements.txt1# This file was autogenerated by uv via the following command:COMMENT
LOWcomputer-use-best-practices/requirements.txt21 # via streamlitCOMMENT
LOWcomputer-use-best-practices/requirements.txt41gitdb==4.0.12 ; sys_platform == 'darwin'COMMENT
LOWcomputer-use-best-practices/requirements.txt61 # viaCOMMENT
LOWcomputer-use-best-practices/requirements.txt81packaging==26.0 ; sys_platform == 'darwin'COMMENT
LOWcomputer-use-best-practices/requirements.txt101 # viaCOMMENT
LOWcomputer-use-best-practices/requirements.txt141 # jsonschemaCOMMENT
LOWcomputer-use-best-practices/requirements.txt161tenacity==9.1.4 ; sys_platform == 'darwin'COMMENT
LOWcomputer-use-best-practices/requirements.txt181 # viaCOMMENT
LOWcomputer-use-best-practices/constants.py61# Hosted (Anthropic-defined) computer-use tool, used whenCOMMENT
LOWcomputer-use-best-practices/constants.py101 # (including prompt-injection detection on screenshots); the explicit-schemaCOMMENT
LOWcomputer-use-best-practices/constants.py121 # Vision-encoder tiling parameters. The API resizes any image whose longCOMMENT
LOWcomputer-use-best-practices/constants.py161 # Include the browser / browser_batch tools.COMMENT
LOWbrowser-use-demo/browser_use_demo/tools/browser.py221 # The browser should persist across conversation turnsCOMMENT
Deep Nesting37 hits · 35 pts
SeverityFileLineSnippetContext
LOWautonomous-coding/security.py297CODE
LOWautonomous-coding/agent.py23CODE
LOWagents/agent.py92CODE
LOWagents/tools/calculator_mcp.py13CODE
LOWagents/tools/file_tools.py74CODE
LOWagents/tools/file_tools.py232CODE
LOWagents/tools/file_tools.py89CODE
LOWagents/tools/mcp_tool.py24CODE
LOWcomputer-use-demo/computer_use_demo/streamlit.py244CODE
LOWcomputer-use-demo/computer_use_demo/streamlit.py615CODE
LOWcomputer-use-demo/computer_use_demo/loop.py88CODE
LOWcomputer-use-demo/computer_use_demo/loop.py244CODE
LOWcomputer-use-demo/computer_use_demo/loop.py293CODE
LOWcomputer-use-demo/computer_use_demo/loop.py316CODE
LOWcomputer-use-demo/computer_use_demo/tools/edit.py44CODE
LOWcomputer-use-demo/computer_use_demo/tools/computer.py128CODE
LOWmanaged-agents/knowledge-wiki/build_manifest.py52CODE
LOWmanaged-agents/knowledge-wiki/utilities.py67CODE
LOWmanaged-agents/sentry/managed_agents.py84CODE
LOWcomputer-use-best-practices/tests/test_formatters.py26CODE
LOWcomputer-use-best-practices/computer_use/formatters.py23CODE
LOWcomputer-use-best-practices/computer_use/loop.py243CODE
LOWcomputer-use-best-practices/computer_use/loop.py380CODE
LOWbrowser-use-demo/browser_use_demo/message_renderer.py134CODE
LOWbrowser-use-demo/browser_use_demo/streamlit.py113CODE
LOWbrowser-use-demo/browser_use_demo/streamlit.py238CODE
LOWbrowser-use-demo/browser_use_demo/streamlit.py336CODE
LOWbrowser-use-demo/browser_use_demo/streamlit.py531CODE
LOWbrowser-use-demo/browser_use_demo/streamlit.py213CODE
LOWbrowser-use-demo/browser_use_demo/streamlit.py254CODE
LOWbrowser-use-demo/browser_use_demo/loop.py66CODE
LOWbrowser-use-demo/browser_use_demo/loop.py176CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py457CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py616CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py903CODE
LOWbrowser-use-demo/browser_use_demo/tools/browser.py1104CODE
LOWbrowser-use-demo/tests/conftest.py17CODE
Redundant / Tautological Comments21 hits · 35 pts
SeverityFileLineSnippetContext
LOWautonomous-coding/agent.py78 # Check if command was blocked by security hookCOMMENT
LOWautonomous-coding/agent.py124 # Check if this is a fresh start or continuationCOMMENT
LOW⚡computer-use-demo/computer_use_demo/tools/edit.py91 # Check if its an absolute pathCOMMENT
LOW⚡computer-use-demo/computer_use_demo/tools/edit.py97 # Check if path existsCOMMENT
LOW⚡computer-use-demo/computer_use_demo/tools/edit.py106 # Check if the path points to a directoryCOMMENT
LOWcomputer-use-demo/computer_use_demo/tools/edit.py162 # Read the file contentCOMMENT
LOWcomputer-use-demo/computer_use_demo/tools/edit.py167 # Check if old_str is unique in the fileCOMMENT
LOWcomputer-use-demo/image/xvfb_startup.sh30# Check if Xvfb is already runningCOMMENT
LOWbrowser-use-demo/browser_use_demo/message_renderer.py141 # Check if this is a text extraction result with special markersCOMMENT
LOWbrowser-use-demo/browser_use_demo/tools/browser.py389 # Read the file and encode to base64COMMENT
LOWbrowser-use-demo/browser_use_demo/tools/browser.py366 # Read the file and encode to base64STRING
LOW…-use-demo/browser_use_demo/tools/coordinate_scaling.py135 # Check if coordinates appear to be in Claude's resolutionCOMMENT
LOW⚡browser-use-demo/tests/test_streamlit_helpers.py64 # Set provider to valid enum value so lambda can access itCOMMENT
LOW⚡browser-use-demo/tests/test_streamlit_helpers.py275 # Set provider to valid enum value so lambda can access itCOMMENT
LOWbrowser-use-demo/tests/test_streamlit_helpers.py23 # Set provider to valid enum value so lambda can access itCOMMENT
LOWbrowser-use-demo/tests/test_streamlit_helpers.py48 # Set provider to valid enum value so lambda can access itCOMMENT
LOWbrowser-use-demo/tests/test_streamlit_helpers.py95 # Set provider to valid enum value so lambda can access itCOMMENT
LOWbrowser-use-demo/tests/test_integration.py240 # Set provider to valid enum value so lambda can access itCOMMENT
LOWbrowser-use-demo/tests/test_integration.py279 # Set provider to valid enum value so lambda can access itCOMMENT
LOW⚡browser-use-demo/tests/test_message_renderer.py297 # Set markdown to raise an exceptionCOMMENT
LOWbrowser-use-demo/image/xvfb_startup.sh30# Check if Xvfb is already runningCOMMENT
Unused Imports33 hits · 33 pts
SeverityFileLineSnippetContext
LOWcomputer-toolset/python/vnc_computer.py17CODE
LOWcomputer-toolset/python/run.py20CODE
LOWcomputer-toolset/python/exercise.py19CODE
LOWbrowser-toolset/python/run.py21CODE
LOWbrowser-toolset/python/exercise.py20CODE
LOWbrowser-toolset/python/cdp_browser.py17CODE
LOWagents/__init__.py3CODE
LOWagents/__init__.py3CODE
LOWagents/__init__.py4CODE
LOWagents/tools/__init__.py3CODE
LOWagents/tools/__init__.py4CODE
LOWagents/tools/__init__.py5CODE
LOWagents/tools/__init__.py5CODE
LOWagents/tools/__init__.py6CODE
LOWagents/tools/__init__.py7CODE
LOWagents/tools/mcp_tool.py8CODE
LOWagents/utils/__init__.py3CODE
LOWagents/utils/__init__.py4CODE
LOW…gents/self-hosted-sandboxes/daytona/daytona_webhook.py21CODE
LOW…s/self-hosted-sandboxes/modal/modal_sandbox_webhook.py36CODE
LOWmanaged-agents/sentry/oauth_setup.py12CODE
LOW…uter-use-best-practices/computer_use/tools/__init__.py1CODE
LOW…uter-use-best-practices/computer_use/tools/__init__.py1CODE
LOW…uter-use-best-practices/computer_use/tools/__init__.py2CODE
LOWbrowser-use-demo/validate_env.py6CODE
LOWbrowser-use-demo/browser_use_demo/streamlit.py10CODE
LOWbrowser-use-demo/browser_use_demo/loop.py5CODE
LOWbrowser-use-demo/browser_use_demo/tools/__init__.py1CODE
LOWbrowser-use-demo/browser_use_demo/tools/__init__.py1CODE
LOWbrowser-use-demo/browser_use_demo/tools/__init__.py1CODE
LOWbrowser-use-demo/browser_use_demo/tools/__init__.py2CODE
LOWbrowser-use-demo/browser_use_demo/tools/__init__.py3CODE
LOWbrowser-use-demo/browser_use_demo/tools/collection.py1CODE
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHbrowser-toolset/python/cdp_browser.py137except Exception:CODE
HIGHcomputer-use-demo/computer_use_demo/tools/run.py38except ProcessLookupError:CODE
HIGHcomputer-use-best-practices/computer_use/preflight.py101except Exception:CODE
HIGHbrowser-use-demo/browser_use_demo/tools/browser.py1024except Exception:CODE
HIGHbrowser-use-demo/tests/test_message_renderer.py182except KeyError:CODE
Magic Placeholder Names4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHautonomous-coding/autonomous_agent_demo.py84 print(" export ANTHROPIC_API_KEY='your-api-key-here'")CODE
HIGHautonomous-coding/README.md25export ANTHROPIC_API_KEY='your-api-key-here'CODE
HIGHcomputer-use-demo/README.md50export ANTHROPIC_API_KEY=%your_api_key%CODE
HIGHcomputer-use-demo/README.md180export ANTHROPIC_API_KEY=%your_api_key%CODE
Self-Referential Comments5 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMcomputer-use-demo/computer_use_demo/tools/edit.py193 # Create a snippet of the edited sectionCOMMENT
MEDIUMbrowser-use-demo/browser_use_demo/streamlit.py123 # Create an in-memory ZIP fileCOMMENT
MEDIUMbrowser-use-demo/browser_use_demo/tools/browser.py845 # Create a summary for UI displayCOMMENT
MEDIUMbrowser-use-demo/browser_use_demo/tools/browser.py889 # Create a summary for UI displayCOMMENT
MEDIUM⚡browser-use-demo/tests/test_message_renderer.py282 # Create a mock that doesn't have expected attributesCOMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…d-agents/self-hosted-sandboxes/docker-memory/worker.py0extract the sessions token from a work item's secret payload, or none.STRING
HIGH…agents/self-hosted-sandboxes/daytona/sandbox_runner.py0extract the sessions token from a work item's secret payload, or none.STRING
HIGH…d-agents/self-hosted-sandboxes/modal/sandbox_runner.py0extract the sessions token from a work item's secret payload, or none.STRING
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…-use-demo/browser_use_demo/tools/coordinate_scaling.py37 Get the documented size for the given viewport's aspect ratio. Args: viewport_width: ActuaSTRING
HIGH…-use-demo/browser_use_demo/tools/coordinate_scaling.py77 Calculate scale factors for converting Claude coordinates to viewport coordinates. Args: vSTRING
Modern AI Meta-Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMcustomer-support-agent/README.md69## Amazon Bedrock RAG IntegrationCOMMENT
MEDIUMmanaged-agents/knowledge-wiki/README.md1# A knowledge wiki for cheap, correct agentic retrievalCOMMENT
MEDIUMmanaged-agents/roadtrip-planner/skill.md48Open <http://localhost:3000>. The page creates one session per browser on load (cookie `roadtrip_planner_session_id`), sCODE
AI Slop Vocabulary3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMautonomous-coding/client.py64 # Create comprehensive security settingsCOMMENT
MEDIUMmanaged-agents/copilot-kit-ag-ui/package-lock.json17005 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMbrowser-use-demo/tests/test_message_renderer.py1"""Tests for MessageRenderer class with comprehensive edge case coverage."""STRING
Modern Structural Boilerplate6 hits · 6 pts
SeverityFileLineSnippetContext
LOWagents/__init__.py6__all__ = ["Agent", "ModelConfig", "Tool"]CODE
LOWagents/tools/__init__.py9__all__ = [CODE
LOWagents/utils/__init__.py6__all__ = ["MessageHistory", "execute_tools"]CODE
LOWcomputer-use-best-practices/computer_use/loop.py68def _set_trailing_cache_control(messages: list[MessageParam]) -> None:CODE
LOW…uter-use-best-practices/computer_use/tools/__init__.py4__all__ = ["Tool", "ToolCollection", "ToolResult"]CODE
LOWbrowser-use-demo/browser_use_demo/tools/__init__.py5__all__ = [CODE
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…wser_use_demo/browser_tool_utils/browser_dom_script.js89 var placeholder = element.getAttribute("placeholder");CODE
LOW…wser_use_demo/browser_tool_utils/browser_dom_script.js392 if (element.getAttribute("placeholder"))CODE
LOW…wser_use_demo/browser_tool_utils/browser_dom_script.js394 ' placeholder="' + element.getAttribute("placeholder") + '"';CODE
AI Structural Patterns1 hit · 0 pts
SeverityFileLineSnippetContext
LOWbrowser-use-demo/browser_use_demo/tools/browser.py1104CODE