This report summarizes scanner evidence for anthropics/claude-code-action, a TypeScript project with 9,729 GitHub stars. SynthScan examined 41,869 lines of code across 206 source files, recording 78 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 2.9 (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? 71 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 40 finding(s).
Which changes need focused human review? 78 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 78 distinct pattern matches across 14 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 | agent-approval-check/agent_approval_check.py | 693 | def get_latest_review_per_user(reviews: list[dict]) -> dict[str, dict]: | CODE |
| LOW | agent-approval-check/agent_approval_check.py | 799 | def load_agent_config_from_env(repo: str) -> AgentConfig: | CODE |
| LOW | agent-approval-check/agent_approval_check.py | 979 | def collect_approval_reactions( | CODE |
| LOW | agent-approval-check/agent_approval_check.py | 1034 | def find_notification_comment(comments: list[dict]) -> dict | None: | CODE |
| LOW | agent-approval-check/agent_approval_check.py | 1041 | def find_stale_notification_for_commit( | CODE |
| LOW | agent-approval-check/agent_approval_check.py | 1052 | def find_old_stale_notifications(comments: list[dict], latest_sha: str) -> list[dict]: | CODE |
| LOW | agent-approval-check/agent_approval_check.py | 1062 | def generate_notification_comment( | CODE |
| LOW | agent-approval-check/agent_approval_check.py | 1144 | def generate_stale_notification(stale_approvals: list[dict], latest_sha: str) -> str: | CODE |
| LOW | agent-approval-check/agent_approval_check.py | 1545 | def format_status_description(message: str, head_sha: str) -> str: | CODE |
| LOW | test/restore-config.test.ts | 455 | function snapshotRegularFileContents(): string[] { | CODE |
| LOW | test/restore-config.test.ts | 522 | function countClaudePrExcludeEntries(): number { | CODE |
| LOW | base-action/src/workload-identity.ts | 43 | export function isWorkloadIdentityConfigured(): boolean { | CODE |
| LOW | base-action/src/parse-sdk-options.ts | 133 | function parseClaudeArgsToExtraArgs( | CODE |
| LOW | base-action/src/prepare-prompt.ts | 14 | async function validateAndPreparePrompt( | CODE |
| LOW | base-action/src/prepare-prompt.ts | 62 | async function createTemporaryPromptFile( | CODE |
| LOW | base-action/src/validate-env.ts | 5 | export function validateEnvironmentVariables() { | CODE |
| LOW | base-action/src/execution-file.ts | 34 | export function setExecutionFileOutputIfPresent(): string | undefined { | CODE |
| LOW | src/modes/detector.ts | 83 | function validateTrackProgressEvent(context: GitHubContext): void { | CODE |
| LOW | src/utils/branch-template.ts | 84 | function collapseEmptyPathSegments(branchName: string): string { | CODE |
| LOW | src/mcp/update-git-reference.ts | 30 | function shouldRetryGitReferenceUpdate(error: Error): boolean { | CODE |
| LOW | src/mcp/install-mcp-server.ts | 34 | async function checkActionsReadPermission( | CODE |
| LOW | src/mcp/github-file-ops-server.ts | 62 | async function getOrCreateBranchRef( | CODE |
| LOW | src/create-prompt/index.ts | 79 | export function buildDisallowedToolsString( | CODE |
| LOW | src/create-prompt/index.ts | 896 | function extractUserRequestFromContext( | CODE |
| LOW | src/github/context.ts | 279 | export function isPullRequestReviewCommentEvent( | CODE |
| LOW | src/github/token.ts | 28 | function getAppTokenExchangeErrorMessage( | CODE |
| LOW | src/github/token.ts | 34 | function isWorkflowValidationError( | CODE |
| LOW | src/github/token.ts | 75 | export function parseAdditionalPermissions(): | CODE |
| LOW | src/github/utils/actor-filter.ts | 64 | export function shouldIncludeCommentByActor( | CODE |
| LOW | src/github/utils/sanitizer.ts | 12 | export function stripMarkdownImageAltText(content: string): string { | CODE |
| LOW | src/github/utils/image-downloader.ts | 39 | function extractSignedUrlAssetGuid(signedUrl: string): string | undefined { | CODE |
| LOW | src/github/utils/image-downloader.ts | 340 | function detectImageExtensionFromBuffer(buffer: Buffer): string | undefined { | CODE |
| LOW | src/github/operations/restore-config.ts | 209 | function ensureClaudePrExcludedFromGit(): void { | CODE |
| LOW | src/github/operations/git-config.ts | 70 | export async function replaceCheckoutCredentials( | CODE |
| LOW | src/github/operations/branch-cleanup.ts | 6 | export async function checkAndCommitOrDeleteBranch( | CODE |
| LOW | src/github/data/formatter.ts | 153 | export function formatChangedFilesWithSHA( | CODE |
| LOW | src/github/validation/permissions.ts | 76 | async function checkActorWritePermissions( | CODE |
| LOW | src/entrypoints/collect-inputs.ts | 1 | export function collectActionInputsPresence(): string { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 31 | export ANTHROPIC_API_KEY="your-api-key-here" | CODE |
| HIGH | base-action/README.md | 298 | --mcp-config '{"mcpServers":{"server-name":{"command":"node","args":["./server.js"],"env":{"API_KEY":"your-api-key | CODE |
| HIGH | base-action/README.md | 312 | "API_KEY": "your-api-key" | CODE |
| HIGH | base-action/CONTRIBUTING.md | 31 | export ANTHROPIC_API_KEY="your-api-key-here" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/validate-branch-name.test.ts | 58 | it("should accept branch names containing + (generated by Claude Code EnterWorktree)", () => { | CODE |
| HIGH | base-action/README.md | 407 | body: "## Claude Code Review\n\n" + review + "\n\n*Generated by Claude Code*" | CODE |
| HIGH | src/github/operations/branch.ts | 67 | // + is valid per git-check-ref-format and generated by Claude Code's EnterWorktree tool when | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bunfig.toml | 1 | # Intentionally minimal. action.yml pins --config to this file so bun resolves | COMMENT |
| LOW | agent-approval-check/agent_approval_check.py | 1381 | logger.warning("PR has >100 changed files - cannot verify all file paths") | COMMENT |
| LOW | docs/usage.md | 21 | - uses: anthropics/claude-code-action@v1 | COMMENT |
| LOW | docs/usage.md | 41 | # trigger_phrase: "/claude" | COMMENT |
| LOW | examples/claude.yml | 41 | COMMENT | |
| LOW | examples/claude-wif.yml | 41 | uses: anthropics/claude-code-action@v1 | COMMENT |
| LOW | examples/ci-failure-auto-fix.yml | 1 | name: Auto Fix CI Failures | COMMENT |
| LOW | .github/egress-firewall.yaml | 1 | # Hosts that jobs on GitHub's egress-firewall runner (runs-on: ubuntu-24.04-firewall) | COMMENT |
| LOW | .github/workflows/release.yml | 121 | git tag -fa "$major_version" -m "Update $major_version tag to $next_version" | COMMENT |
| LOW | .github/workflows/release.yml | 141 | # next_version="${{ needs.create-release.outputs.next_version }}" | COMMENT |
| LOW | .github/workflows/release.yml | 161 | # gh release create "$next_version" \ | COMMENT |
| LOW | src/github/operations/restore-config.ts | 81 | } | COMMENT |
| LOW | src/github/operations/branch.ts | 61 | `Invalid branch name: "${branchName}". Branch names cannot contain control characters, spaces, or special git char | COMMENT |
| LOW | src/entrypoints/run.ts | 241 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | base-action/test-mcp-local.sh | 9 | # Check if ANTHROPIC_API_KEY is set | COMMENT |
| LOW | .github/workflows/test-mcp-servers.yml | 66 | # Check if mcp_servers field exists in the init event | COMMENT |
| LOW | .github/workflows/test-mcp-servers.yml | 163 | # Check if mcp_servers field exists in the init event | COMMENT |
| LOW | .github/workflows/test-settings.yml | 66 | # Check if the echo command worked | COMMENT |
| LOW | .github/workflows/test-settings.yml | 162 | # Check if the echo command worked | COMMENT |
| LOW | .github/workflows/sync-base-action.yml | 65 | # Check if there are any changes | COMMENT |
| LOW | .github/workflows/test-structured-output.yml | 323 | # Check if all passed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/release.yml | 146 | # # Create the version tag | COMMENT |
| MEDIUM | .github/workflows/release.yml | 160 | # # Create the release | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/pr-review-comprehensive.yml | 66 | # Tools for comprehensive PR review | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gh.sh | 7 | # Usage: | COMMENT |
| LOW | scripts/git-push.sh | 9 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agent-approval-check/agent_approval_check.py | 98 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent-approval-check/agent_approval_check.py | 376 | def update_comment(self, alias: str, node_id: str, body: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/create-prompt/index.ts | 864 | "I'm unable to [specific action] due to [reason]. You can find more information and potential workarounds in the [FAQ](h | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/entrypoints/prepare.ts | 40 | // Step 3: Check write permissions (entity contexts and workflow_run) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/entrypoints/prepare.ts | 40 | // Step 3: Check write permissions (entity contexts and workflow_run) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/create-prompt.test.ts | 42 | name: "John Doe", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/check_workflow_hardening.py | 231 | CODE |