Class Variance Authority
This report summarizes scanner evidence for joe-bell/cva, a TypeScript project with 6,906 GitHub stars. SynthScan examined 69,013 lines of code across 374 source files, recording 94 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.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? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 42 finding(s).
Which changes need focused human review? 94 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 94 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⚡ | .agents/skills/find-skills/SKILL.md | 35 | ### Step 1: Understand What They Need | COMMENT |
| LOW⚡ | .agents/skills/find-skills/SKILL.md | 43 | ### Step 2: Check the Leaderboard First | COMMENT |
| LOW⚡ | .agents/skills/find-skills/SKILL.md | 51 | ### Step 3: Search for Skills | COMMENT |
| LOW | .agents/skills/find-skills/SKILL.md | 65 | ### Step 4: Verify Quality Before Recommending | COMMENT |
| LOW | .agents/skills/find-skills/SKILL.md | 73 | ### Step 5: Present Options to the User | COMMENT |
| LOW | .agents/skills/find-skills/SKILL.md | 95 | ### Step 6: Offer to Install | COMMENT |
| LOW | .agents/skills/pnpm/references/features-patches.md | 12 | ### Step 1: Initialize Patch | COMMENT |
| LOW | .agents/skills/pnpm/references/features-patches.md | 27 | ### Step 2: Edit Files | COMMENT |
| LOW | .agents/skills/pnpm/references/features-patches.md | 36 | ### Step 3: Commit Patch | COMMENT |
| LOW | skills/cva-migrate/SKILL.md | 14 | ## Step 1: identify the route | COMMENT |
| LOW | skills/cva-migrate/SKILL.md | 35 | ## Step 2: load the curated guide for that route | COMMENT |
| LOW | skills/cva-migrate/SKILL.md | 49 | ## Step 3: an uncurated route | COMMENT |
| LOW | …cva-migrate/references/class-variance-authority-0.x.md | 32 | ## Step 1: detect the package manager and workspace | COMMENT |
| LOW | …cva-migrate/references/class-variance-authority-0.x.md | 52 | ## Step 2: confirm the installed package | COMMENT |
| LOW | …cva-migrate/references/class-variance-authority-0.x.md | 69 | ## Step 3: discover every affected site | COMMENT |
| LOW | …cva-migrate/references/class-variance-authority-0.x.md | 91 | ## Step 4: swap the dependency | COMMENT |
| LOW | …cva-migrate/references/class-variance-authority-0.x.md | 121 | ## Step 5: apply the edits | COMMENT |
| LOW | …cva-migrate/references/class-variance-authority-0.x.md | 295 | ## Step 6: verify | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.11.md | 29 | ## Step 1: detect the package manager and the workspace | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.11.md | 50 | ## Step 2: read the installed version | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.11.md | 84 | ## Step 3: discover every affected site | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.11.md | 106 | ## Step 4: upgrade cva (and TypeScript, when they are coupled) | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.11.md | 140 | ## Step 5: apply the edits | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.11.md | 366 | ## Step 6: validate | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.12.md | 54 | ## Step 1: detect the package manager and workspace | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.12.md | 75 | ## Step 2: read the installed version | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.12.md | 112 | ## Step 3: discover every affected site | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.12.md | 149 | ## Step 4: upgrade cva and TypeScript when they are coupled | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.12.md | 183 | ## Step 5: apply the edits | COMMENT |
| LOW | skills/cva-migrate/references/beta/cva-1.0.0-beta.12.md | 430 | ## Step 6: validate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ts/skills/security-review/references/error-handling.md | 24 | except Exception as e: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 61 | except Exception: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 78 | except Exception: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 94 | except Exception: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 109 | except Exception as e: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 127 | except Exception as e: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 149 | except Exception: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 168 | except Exception as e: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 244 | except Exception as e: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 258 | except Exception as e: | CODE |
| LOW | …ts/skills/security-review/references/error-handling.md | 328 | except Exception as e: | CODE |
| MEDIUM | …ts/skills/security-review/references/error-handling.md | 21 | def get_user(id): | CODE |
| MEDIUM | …ts/skills/security-review/references/error-handling.md | 53 | def get_user(id): | CODE |
| MEDIUM | …ts/skills/security-review/references/error-handling.md | 74 | def authenticate(token): | CODE |
| MEDIUM | …ts/skills/security-review/references/error-handling.md | 82 | def check_permission(user, resource): | CODE |
| MEDIUM | …ts/skills/security-review/references/error-handling.md | 103 | def authenticate(token): | CODE |
| MEDIUM | …ts/skills/security-review/references/error-handling.md | 114 | def check_permission(user, resource): | CODE |
| MEDIUM | …ts/skills/security-review/references/error-handling.md | 241 | def get_data(): | CODE |
| MEDIUM | …ts/skills/security-review/references/error-handling.md | 255 | def get_data(): | CODE |
| MEDIUM | …ts/skills/security-review/references/error-handling.md | 324 | def search(): | CODE |
| LOW | …nts/skills/security-review/references/file-security.md | 202 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/worker-configuration.d.ts | 15061 | // PubSubMessage represents an incoming PubSub message. | COMMENT |
| LOW | docs/worker-configuration.d.ts | 15201 | } ? { | COMMENT |
| LOW | docs/worker-configuration.d.ts | 15241 | { | COMMENT |
| LOW | docs/worker-configuration.d.ts | 15261 | // | COMMENT |
| LOW | docs/worker-configuration.d.ts | 16601 | interface SpanContext { | COMMENT |
| LOW | docs/src/env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> | COMMENT |
| LOW | …mples/beta/react-with-tailwindcss-compound/src/app.tsx | 1 | import { cx } from "cva"; | COMMENT |
| LOW | …mples/beta/react-with-tailwindcss-compound/src/app.tsx | 21 | // | COMMENT |
| LOW | examples/beta/svelte/src/vite-env.d.ts | 1 | /// <reference types="svelte" /> | COMMENT |
| LOW | examples/beta/astro-with-tailwindcss/src/env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> | COMMENT |
| LOW | examples/latest/svelte/src/vite-env.d.ts | 1 | /// <reference types="svelte" /> | COMMENT |
| LOW | scripts/setup-cloud.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/setup-node.sh | 1 | #!/bin/sh | COMMENT |
| LOW | packages/cva/src/config.ts | 141 | // Right-biased merge (`B`'s keys win on conflicts) implemented as a mapped | COMMENT |
| LOW | packages/cva/src/config.ts | 221 | // i.e. `{ (props?: any): string; config: any }`. The required `config` | COMMENT |
| LOW | .github/workflows/pr.yml | 1 | name: pr | COMMENT |
| LOW | .github/workflows/pr.yml | 21 | # then validates it strictly and renders it to markdown yourself in | COMMENT |
| LOW | .github/workflows/claude.yml | 1 | name: claude | COMMENT |
| LOW | .github/workflows/claude.yml | 81 | # `actions/checkout`, and its `ref` input defaults to `""`, which checkout | COMMENT |
| LOW | .github/workflows/claude.yml | 101 | claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/bench/scripts/compare.ts | 382 | function formatBaselineColumnHeader(baseline: Implementation): string { | CODE |
| LOW | …s/skills/security-review/references/deserialization.md | 313 | def deserialize_with_verification(signed_data): | CODE |
| LOW | …ts/skills/security-review/references/authentication.md | 134 | def allow_password_reset_when_locked(self): | CODE |
| LOW | .agents/skills/security-review/references/ssrf.md | 171 | def safe_fetch_with_dns_pinning(url): | CODE |
| LOW | …nts/skills/security-review/references/file-security.md | 379 | def secure_directory_permissions(path): | CODE |
| LOW | …nts/skills/security-review/references/file-security.md | 383 | def sensitive_file_permissions(path): | CODE |
| LOW | docs/src/scripts/generate-bundle-sizes.ts | 198 | export async function invalidateBundleSizeArtifact( | CODE |
| LOW | docs/src/scripts/generate-bundle-sizes.ts | 205 | export async function writeBundleSizesAtomically( | CODE |
| LOW | docs/src/lib/html-to-markdown.ts | 76 | .use(function improveExpressiveCodeHandling() { | CODE |
| LOW | docs/src/lib/docs-routes.ts | 10 | export function markdownPathsFromRoutePath(pathname: string) { | CODE |
| LOW | .github/scripts/update-weekly-downloads.ts | 97 | export function parseWeeklyDownloadsSnapshot( | CODE |
| LOW | .github/scripts/update-weekly-downloads.ts | 137 | export function parseWeeklyDownloadsResponse( | CODE |
| LOW | .github/scripts/update-weekly-downloads.ts | 161 | export function assertPlausibleWeeklyDownloads( | CODE |
| LOW | .github/scripts/process-pr-comment.ts | 73 | export function assertPrBoundToWorkflowRun( | CODE |
| LOW | .github/scripts/process-pr-comment.ts | 118 | export async function processBenchmarkPrComment({ | CODE |
| LOW | .github/scripts/verify-cloudflare-build.ts | 610 | function requestTimeoutForDeadline( | CODE |
| LOW | .github/scripts/verify-cloudflare-build.ts | 662 | function parseAuthoritativeCheckRun( | CODE |
| LOW | .github/scripts/verify-cloudflare-build.ts | 713 | export function selectLatestCloudflareCheck(checkRuns: unknown, sha: unknown) { | CODE |
| LOW | .github/scripts/verify-cloudflare-build.test.ts | 814 | function changedVerificationFixture({ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/worker-configuration.d.ts | 11880 | // ── Error types ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/worker-configuration.d.ts | 11913 | // ── Binding ────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …kills/pnpm/references/features-global-virtual-store.md | 35 | ## Git worktrees for multi-agent development | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/setup-node.sh | 66 | # This file is sourced, so its scratch variables would otherwise persist in the | COMMENT |