AI Slop Code RIsk Monitor

kaitranntt/ccs

Switch between Claude accounts, Gemini, Copilot, OpenRouter (300+ models) via CLIProxyAPI OAuth proxy. Visual dashboard, remote proxy support, WebSearch fallback. Zero-config to production-ready.

5.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for kaitranntt/ccs, a TypeScript project with 2,886 GitHub stars. SynthScan examined 446,203 lines of code across 1966 source files, recording 1733 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 5.7 (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.

5.7
Adjusted Signal
5.7
Raw Pattern Score
100%
Time Factor
2026-10-01
Last Push
2.9K
Stars
TypeScript
Language
446.2K
Lines of Code
2.0K
Files
1.7K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 14.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.2/100 · LOW

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

Agent Over-Engineering Ratio 21.7/100 · LOW

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

PR Review Velocity Impact 23.5/100 · LOW

Which changes need focused human review? 1733 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 3MEDIUM 321LOW 1409

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 1733 distinct pattern matches across 12 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 Identifiers1153 hits · 1198 pts
SeverityFileLineSnippetContext
LOWui/vite.config.ts17function rewriteTrustedViteDevOrigin(proxyRequest: ClientRequest, request: IncomingMessage): void {CODE
LOWui/tests/unit/components/ui/searchable-select.test.tsx45function SearchableSelectWithCreateHarness() {CODE
LOWui/src/components/shared/code-editor.tsx305function buildSensitiveDecorations(CODE
LOWui/src/components/shared/quota-tooltip-content.tsx61function getClaudeWindowDisplayLabel(CODE
LOWui/src/components/shared/quota-tooltip-content.tsx124function formatGeminiRemainingAmount(CODE
LOWui/src/components/cliproxy/cliproxy-edit-dialog.tsx80function isDeniedAgyModelForProvider(provider: string, modelId: string | undefined): boolean {CODE
LOWui/src/components/cliproxy/cliproxy-edit-dialog.tsx84function isSingleVariantOnlyTargetChange(variant: Variant, data: SingleProviderFormData): boolean {CODE
LOWui/src/components/cliproxy/cliproxy-edit-dialog.tsx107function isCompositeVariantOnlyTargetChange(variant: Variant, data: CompositeFormData): boolean {CODE
LOW…src/components/cliproxy/categorized-model-selector.tsx124export function CategorizedModelSelectorCompact({CODE
LOW⚡ui/src/components/cliproxy/control-panel-embed.tsx42function seedLocalControlPanelSession(apiBase: string, managementKey: string): void {CODE
LOW⚡ui/src/components/cliproxy/control-panel-embed.tsx52function clearLocalControlPanelSession(): void {CODE
LOW⚡ui/src/components/cliproxy/control-panel-embed.tsx60function clearPersistedLocalControlPanelSecret(): void {CODE
LOWui/src/components/cliproxy/cliproxy-dialog.tsx83function isDeniedAgyModelForProvider(provider: string, modelId: string | undefined): boolean {CODE
LOW…ts/cliproxy/provider-editor/provider-editor-header.tsx28function formatSettingsPathBadgeLabel(pathValue: string): string {CODE
LOW…components/profiles/alibaba-coding-plan-promo-card.tsx14export function AlibabaCodingPlanPromoCard({ onCreateClick }: AlibabaCodingPlanPromoCardProps) {CODE
LOW…ents/profiles/editor/image-analysis-status-section.tsx156export function ImageAnalysisStatusSection({CODE
LOW…nents/account/antigravity-responsibility-checklist.tsx19export function AntigravityResponsibilityChecklist({CODE
LOW…onents/account/antigravity-responsibility-constants.ts19export function isAntigravityRiskChecklistComplete(value: AntigravityRiskChecklistValue): boolean {CODE
LOW…nents/account/edit-account-shared-resources-dialog.tsx30export function EditAccountSharedResourcesDialog({CODE
LOW…src/components/account/shared/account-surface-card.tsx66function getCompactAudienceBadgeLabel(audience: AccountAudience, t: (key: string) => string) {CODE
LOW…src/components/account/shared/account-surface-card.tsx73function getCompactDetailBadgeClass(audience: AccountAudience) {CODE
LOWui/src/components/account/flow-viz/account-card.tsx180function getVariantCompactDetailLabel(CODE
LOWui/src/components/account/flow-viz/account-card.tsx245function getGroupedVariantSummaryLabel(CODE
LOWui/src/components/monitoring/proxy-status-widget.tsx91function persistCollapsedPreference(collapsed: boolean): void {CODE
LOW…/compatible-cli/droid-byok-reasoning-controls-card.tsx36export function DroidByokReasoningControlsCard({CODE
LOW…/compatible-cli/droid-settings-quick-controls-card.tsx119export function DroidSettingsQuickControlsCard({CODE
LOW…nents/compatible-cli/codex-top-level-controls-card.tsx545export function CodexTopLevelControlsCard({CODE
LOWui/src/hooks/use-profiles.ts74export function useDiscoverProfileOrphans() {CODE
LOWui/src/hooks/use-profiles.ts80export function useRegisterProfileOrphans() {CODE
LOWui/src/hooks/use-droid.ts88function parseDroidRawSettingsText(rawText: string): {CODE
LOWui/src/hooks/use-openrouter-models.ts59export function useRefreshOpenRouterModels() {CODE
LOWui/src/hooks/use-cliproxy-stats.ts176async function fetchCliproxyErrorLogContent(name: string): Promise<string> {CODE
LOWui/src/hooks/use-cliproxy-stats.ts201export function useCliproxyErrorLogContent(name: string | null) {CODE
LOWui/src/hooks/use-cliproxy-stats.ts337function getAccountQuotaQueryOptions(provider: string, accountId: string, enabled = true) {CODE
LOWui/src/hooks/use-cliproxy-auth-flow.ts55function invalidateCliproxyRoutingData(queryClient: ReturnType<typeof useQueryClient>): void {CODE
LOWui/src/hooks/use-shared.ts63function isSharedItemContentPayload(payload: unknown): payload is SharedItemContentPayload {CODE
LOWui/src/hooks/use-accounts.ts156export function useConfirmLegacyAccountPolicies() {CODE
LOWui/src/hooks/use-accounts.ts211export function useUpdateAccountSharedResources() {CODE
LOWui/src/hooks/use-cliproxy.ts21function invalidateCliproxyRoutingQueries(queryClient: ReturnType<typeof useQueryClient>): void {CODE
LOWui/src/hooks/use-cliproxy.ts27function invalidateCliproxyAccountQueries(queryClient: ReturnType<typeof useQueryClient>): void {CODE
LOWui/src/hooks/use-cliproxy.ts56export function useCliproxyRoutingStrategy() {CODE
LOWui/src/hooks/use-cliproxy.ts63export function useUpdateCliproxyRoutingStrategy() {CODE
LOWui/src/hooks/use-cliproxy.ts81export function useCliproxySessionAffinity() {CODE
LOWui/src/hooks/use-cliproxy.ts88export function useUpdateCliproxySessionAffinity() {CODE
LOWui/src/hooks/use-cliproxy.ts118export function useUpdateCliproxyRetryConfig() {CODE
LOWui/src/hooks/use-claude-extension.ts102export function useClaudeExtensionOptions() {CODE
LOWui/src/hooks/use-claude-extension.ts123export function useClaudeExtensionBindings() {CODE
LOWui/src/hooks/use-claude-extension.ts131export function useClaudeExtensionBindingStatus(bindingId?: string) {CODE
LOWui/src/hooks/use-claude-extension.ts142export function useCreateClaudeExtensionBinding() {CODE
LOWui/src/hooks/use-claude-extension.ts160export function useUpdateClaudeExtensionBinding() {CODE
LOWui/src/hooks/use-claude-extension.ts184export function useDeleteClaudeExtensionBinding() {CODE
LOWui/src/hooks/use-claude-extension.ts201function useClaudeExtensionActionMutation(action: 'apply' | 'reset', successMessage: string) {CODE
LOWui/src/hooks/use-claude-extension.ts222export function useApplyClaudeExtensionBinding() {CODE
LOWui/src/hooks/use-claude-extension.ts227export function useResetClaudeExtensionBinding() {CODE
LOWui/src/hooks/use-cliproxy-ai-providers.ts18export function useCreateCliproxyAiProviderEntry() {CODE
LOWui/src/hooks/use-cliproxy-ai-providers.ts40export function useUpdateCliproxyAiProviderEntry() {CODE
LOWui/src/hooks/use-cliproxy-ai-providers.ts64export function useDeleteCliproxyAiProviderEntry() {CODE
LOWui/src/lib/support-updates-catalog.ts419export function getSupportEntriesForNotice(notice: SupportNotice): CliSupportEntry[] {CODE
LOWui/src/lib/account-continuity.ts36export function summarizeAuthAccountContinuity(accounts: Account[]): AuthAccountContinuitySummary {CODE
LOWui/src/lib/cliproxy-version-risk.ts39export function isCliproxyVersionExperimental(version: string, maxStableVersion: string): boolean {CODE
1093 more matches not shown…
Decorative Section Separators312 hits · 984 pts
SeverityFileLineSnippetContext
MEDIUM…components/compatible-cli/codex-auth-profiles-card.tsx30// ── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…components/compatible-cli/codex-auth-profiles-card.tsx69// ── Disabled action button with terminal-redirect tooltip ───────────────────COMMENT
MEDIUM…components/compatible-cli/codex-auth-profiles-card.tsx94// ── Profile table row ────────────────────────────────────────────────────────COMMENT
MEDIUM…components/compatible-cli/codex-auth-profiles-card.tsx143// ── Main card ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…components/compatible-cli/codex-auth-profiles-card.tsx216// ── Active profile highlight banner ─────────────────────────────────────────COMMENT
MEDIUM…components/compatible-cli/codex-auth-profiles-card.tsx256// ── Profile table ────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/bin/codex-runtime-router.test.ts99// ── Auth routing ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/bin/codex-runtime-router.test.ts135// ── Non-auth profile resolution ───────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/shell-detect.test.ts5// ── detectShell ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/shell-detect.test.ts74// ── formatExport ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/show-command.test.ts65// ── empty list ────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/show-command.test.ts77// ── list with default marker ──────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/show-command.test.ts91// ── JSON account metadata ───────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/show-command.test.ts133// ── active(missing) row at top (D14) ─────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/show-command.test.ts152// ── detail view ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/remove-command.test.ts57// ── non-default removes cleanly ───────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/remove-command.test.ts82// ── default with others → refuses without --force ────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/remove-command.test.ts173// ── only profile → allows removal ────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/remove-command.test.ts189// ── confirmation prompt ───────────────────────────────────────────────────────COMMENT
MEDIUM…nit/codex-auth/commands/import-default-command.test.ts158// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/use-command.test.ts78// ── stdout discipline (CRITICAL) ──────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/use-command.test.ts129// ── shell syntax variants ─────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/codex-auth/commands/use-command.test.ts218// ── missing profile → stderr only ────────────────────────────────────────────COMMENT
MEDIUMtests/docker/image-size-logic.test.sh34# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/image-size-logic.test.sh37# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/image-size-logic.test.sh78# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/image-size-logic.test.sh80# ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/image-size-logic.test.sh124# ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/image-size-logic.test.sh126# ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/image-size-logic.test.sh130# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/image-size-logic.test.sh257# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/image-size-logic.test.sh263# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/image-size-logic.test.sh310# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/image-size-logic.test.sh315# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/image-size-logic.test.sh373# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/image-size-logic.test.sh375# ------------------------------------------------------------------COMMENT
MEDIUMtests/docker/network-contract.sh25# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/docker/network-contract.sh27# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/network-contract.sh52# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/network-contract.sh54# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/network-contract.sh62# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/network-contract.sh64# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/network-contract.sh89# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/network-contract.sh91# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/network-contract.sh96# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/network-contract.sh98# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/docker/network-contract.sh117# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/docker/network-contract.sh119# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh64# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh66# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh75# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh77# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh86# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh96# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh100# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh102# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh166# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh168# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh176# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/docker/compose-parity.sh178# ---------------------------------------------------------------------------COMMENT
252 more matches not shown…
Fake / Example Data156 hits · 185 pts
SeverityFileLineSnippetContext
LOW⚡…omponents/account/shared/account-surface-card.test.tsx48 accountId="user@example.com"CODE
LOW⚡…omponents/account/shared/account-surface-card.test.tsx49 email="user@example.com"CODE
LOW⚡…omponents/account/shared/account-surface-card.test.tsx50 displayEmail="user@example.com"CODE
LOW…omponents/account/shared/account-surface-card.test.tsx66 email="user@example.com"CODE
LOW…omponents/account/shared/account-surface-card.test.tsx67 displayEmail="user@example.com"CODE
LOW…omponents/account/shared/account-surface-card.test.tsx84 email="user@example.com"CODE
LOW…omponents/account/shared/account-surface-card.test.tsx85 displayEmail="user@example.com"CODE
LOW⚡…omponents/account/shared/account-surface-card.test.tsx102 accountId="user@example.com"CODE
LOW⚡…omponents/account/shared/account-surface-card.test.tsx103 email="user@example.com"CODE
LOW⚡…omponents/account/shared/account-surface-card.test.tsx104 displayEmail="user@example.com"CODE
LOW⚡…omponents/account/shared/account-surface-card.test.tsx119 accountId="user@example.com"CODE
LOW⚡…omponents/account/shared/account-surface-card.test.tsx120 email="user@example.com"CODE
LOW⚡…omponents/account/shared/account-surface-card.test.tsx121 displayEmail="user@example.com"CODE
LOW…omponents/account/shared/account-surface-card.test.tsx137 email="user@example.com"CODE
LOW…omponents/account/shared/account-surface-card.test.tsx138 displayEmail="user@example.com"CODE
LOW⚡ui/tests/unit/ui/lib/account-identity.test.ts79 const presentation = getAccountIdentityPresentation('user@example.com', 'user@example.com');CODE
LOW⚡ui/tests/unit/ui/lib/account-identity.test.ts84 expect(formatAccountDisplayName('user@example.com', 'user@example.com')).toBe(CODE
LOW⚡ui/tests/unit/ui/lib/account-identity.test.ts85 'user@example.com'CODE
LOW…unit/components/account/flow-viz/account-card.test.tsx67 email: 'user@example.com',CODE
LOW…unit/components/account/flow-viz/account-card.test.tsx76 email: 'user@example.com',CODE
LOW…unit/components/account/flow-viz/account-card.test.tsx89 email: 'user@example.com',CODE
LOW…src/components/cliproxy/categorized-model-selector.tsx130}: Omit<CategorizedModelSelectorProps, 'placeholder' | 'className'>) {CODE
LOWtests/unit/targets/droid-config-manager.test.ts40 apiKey: 'dummy-key',CODE
LOWtests/unit/targets/droid-config-manager.test.ts59 apiKey: 'dummy-key',CODE
LOWtests/unit/targets/droid-config-manager.test.ts282 apiKey: 'dummy-key',CODE
LOWtests/unit/targets/droid-config-manager.test.ts334 apiKey: 'dummy-key',CODE
LOWtests/unit/targets/target-registry.test.ts233 apiKey: 'dummy-key',CODE
LOWtests/unit/targets/target-registry.test.ts255 apiKey: 'dummy-key',CODE
LOWtests/unit/targets/target-registry.test.ts281 apiKey: 'dummy-key',CODE
LOW⚡tests/unit/cursor/cursor-auth.test.ts93 // JWT: {"email":"user@example.com","sub":"12345","exp":1234567890}COMMENT
LOW⚡tests/unit/cursor/cursor-auth.test.ts95 JSON.stringify({ email: 'user@example.com', sub: '12345', exp: 1234567890 })CODE
LOW⚡tests/unit/cursor/cursor-auth.test.ts101 email: 'user@example.com',CODE
LOW⚡tests/unit/cursor/cursor-auth.test.ts135 // JWT: {"email":"user@example.com","user_id":"67890"}COMMENT
LOW⚡tests/unit/cursor/cursor-auth.test.ts137 JSON.stringify({ email: 'user@example.com', user_id: '67890' })CODE
LOW⚡tests/unit/cursor/cursor-auth.test.ts143 email: 'user@example.com',CODE
LOWtests/unit/codex-auth/decode-id-token.test.ts11// Payload (base64url): {"email":"user@example.com","https://api.openai.com/auth":{"chatgpt_plan_type":"pro","chatgpt_acCOMMENT
LOWtests/unit/codex-auth/decode-id-token.test.ts13 email: 'user@example.com',CODE
LOW⚡tests/unit/codex-auth/decode-id-token.test.ts37 email: 'user@example.com',CODE
LOW⚡tests/unit/codex-auth/decode-id-token.test.ts45 email: 'user@example.com',CODE
LOW⚡tests/unit/codex-auth/decode-id-token.test.ts53 email: 'user@example.com',CODE
LOWtests/unit/codex-auth/decode-id-token.test.ts72 expect(result.email).toBe('user@example.com');CODE
LOW⚡tests/unit/codex-auth/decode-id-token.test.ts103 expect(result.email).toBe('user@example.com');CODE
LOW⚡tests/unit/codex-auth/decode-id-token.test.ts110 expect(result.email).toBe('user@example.com');CODE
LOW⚡tests/unit/codex-auth/decode-id-token.test.ts117 expect(result.email).toBe('user@example.com');CODE
LOWtests/unit/web-server/bar-routes.test.ts383 mockAccounts = [makeAccountInfo({ id: 'user@example.com', provider: 'agy' })];CODE
LOWtests/unit/web-server/bar-routes.test.ts563 // but the cost map key is the canonical email "user@example.com"COMMENT
LOW…sts/unit/web-server/cliproxy-usage-transformer.test.ts188 source: 'user@example.com',CODE
LOWsrc/web-server/health/config-checks.ts129 if (validation.error?.includes('placeholder')) {CODE
LOWsrc/management/checks/config-check.ts167 } else if (validation.error && validation.error.includes('placeholder')) {CODE
LOWsrc/cliproxy/auth/__tests__/auth-utils.test.ts13 const result = sanitizeEmail('user@example.com');CODE
LOWsrc/cliproxy/auth/__tests__/auth-utils.test.ts19 const result = sanitizeEmail('user@example.com');CODE
LOW…/accounts/__tests__/account-registry-integrity.test.ts128 JSON.stringify({ type: 'codex', email: 'user@example.com' }),CODE
LOW…/accounts/__tests__/account-registry-integrity.test.ts139 expect(accounts[0]?.id).toBe('user@example.com');CODE
LOW…/accounts/__tests__/account-registry-integrity.test.ts141 expect(registry.providers.codex?.accounts['user@example.com']?.tokenFile).toBe(CODE
LOW⚡…/accounts/__tests__/account-registry-integrity.test.ts310 expect(Object.keys(providerAccounts?.accounts ?? {})).toEqual(['user@example.com']);CODE
LOW⚡…/accounts/__tests__/account-registry-integrity.test.ts311 expect(providerAccounts?.accounts['user@example.com']?.email).toBe('user@example.com');CODE
LOW⚡…/accounts/__tests__/account-registry-integrity.test.ts312 expect(providerAccounts?.accounts['user@example.com']?.tokenFile).toBe(testCase.tokenFile);CODE
LOW…/accounts/__tests__/account-registry-integrity.test.ts324 JSON.stringify({ type: 'codex', email: 'user@example.com' }),CODE
LOWsrc/cliproxy/accounts/__tests__/account-safety.test.ts122 expect(maskEmail('user@example.com')).toBe('use***@example.com');CODE
LOW⚡src/cliproxy/accounts/__tests__/account-safety.test.ts608 default: 'user@example.com',CODE
96 more matches not shown…
Over-Commented Block51 hits · 50 pts
SeverityFileLineSnippetContext
LOWui/src/components/config-layout/config-layout.tsx81 // toggling visibility via Tailwind `hidden lg:grid` would mount two copiesCOMMENT
LOWdocker/compose.yaml1# Canonical CCS docker-compose. Served at https://ccs.kaitran.ca/docker-compose.yaml.COMMENT
LOWtests/unit/web-server/native-quota-collector.test.ts1821 expect(deps.claudeFetchCount()).toBe(2);COMMENT
LOWtests/unit/cliproxy/quota-manager-tier-lock.test.ts61const HEALTHY_QUOTA = { success: true, models: [{ percentage: 80 }] };COMMENT
LOWtests/unit/commands/bar-command.test.ts1861 // 1. Is NOT in the default candidate list (3000, 3001, 3002, 8000, 8080) — otherwise aCOMMENT
LOWtests/unit/commands/bar-command.test.ts2081 // temporarily patching the candidate list via a wrapper that re-implementsCOMMENT
LOWtests/unit/commands/bar-command.test.ts3221// ---------------------------------------------------------------------------COMMENT
LOWtests/docker/network-contract.sh1#!/usr/bin/env bashCOMMENT
LOWtests/docker/compose-parity.sh1#!/usr/bin/env bashCOMMENT
LOWtests/docker/compose-parity.sh21fail=0COMMENT
LOWtests/docker/compose-parity.sh81 grep -E '^[[:space:]]+- [a-z_]+:/' "$file" \COMMENT
LOWtests/docker/image-size.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/run-test-bucket.js1#!/usr/bin/env nodeCOMMENT
LOWscripts/bump-version.sh1#!/usr/bin/env bashCOMMENT
LOW.github/workflows/bar-release.yml1name: Bar ReleaseCOMMENT
LOW.github/workflows/docker-release.yml441 # :latest / :<major> / :<minor> aliases STAY POINTED AT THE PRIOR STABLECOMMENT
LOW.github/workflows/breaking-change-guard.yml1name: Breaking Change Guard – Docker Compose ContractCOMMENT
LOW.github/workflows/ci.yml161 - name: Assert compose parity (compose.yaml vs docker-compose.integrated.yml)COMMENT
LOW.github/workflows/promote-release.yml1name: Promote Stable Release to Docker LatestCOMMENT
LOWmacos-bar/Scripts/package_app.sh1#!/usr/bin/env bashCOMMENT
LOWmacos-bar/Sources/CCSBarApp/Sparkline.swift1import SwiftUICOMMENT
LOWmacos-bar/Sources/CCSBarApp/BarAnalyticsView.swift1import SwiftUICOMMENT
LOW…s-bar/Sources/CCSBarApp/SettingsWindowController.swift1import SwiftUICOMMENT
LOW…s-bar/Sources/CCSBarApp/SettingsWindowController.swift81 func close() { window?.performClose(nil) }COMMENT
LOW…cos-bar/Sources/CCSBarApp/WindowAppearanceForcer.swift1import SwiftUICOMMENT
LOW…cos-bar/Sources/CCSBarApp/WindowAppearanceForcer.swift21///COMMENT
LOW…cos-bar/Sources/CCSBarApp/WindowAppearanceForcer.swift81 }COMMENT
LOWmacos-bar/Sources/CCSBarApp/BarMenuView.swift21COMMENT
LOWmacos-bar/Sources/CCSBarApp/BarMenuView.swift41 /// Multi-profile carousel: which provider page is currently visible. Resets toCOMMENT
LOWmacos-bar/Sources/CCSBarApp/BarMenuView.swift581 }COMMENT
LOWmacos-bar/Sources/CCSBarApp/BarMenuView.swift1001 .padding(.vertical, 1.5)COMMENT
LOWmacos-bar/Sources/CCSBarApp/BarNotifier.swift1import FoundationCOMMENT
LOWmacos-bar/Sources/CCSBarApp/BarServerLauncher.swift1import FoundationCOMMENT
LOWmacos-bar/Sources/CCSBarApp/BarViewModel.swift121 // MARK: - Update checkingCOMMENT
LOWmacos-bar/Sources/CCSBarApp/BarSubscriptionCard.swift1import SwiftUICOMMENT
LOWmacos-bar/Sources/CCSBarApp/ScrollerHider.swift1import SwiftUICOMMENT
LOWmacos-bar/Sources/CCSBarCore/BarSummary.swift61 /// ISO timestamp this account was last used, null if never/unknown.COMMENT
LOWmacos-bar/Sources/CCSBarCore/BarFormatting.swift61 /// "unsupported"/"error" rows are skipped so they can't show "--".COMMENT
LOWmacos-bar/Sources/CCSBarCore/BarFormatting.swift161 return "Last active \(fmt.string(from: date))"COMMENT
LOWmacos-bar/Sources/CCSBarCore/BarChartStyle.swift1import FoundationCOMMENT
LOWmacos-bar/Sources/CCSBarCore/BarVersionDisplay.swift1import FoundationCOMMENT
LOWmacos-bar/Sources/CCSBarCore/BarQuotaGauge.swift41 /// time is at/in the past. Returns nil for nil/unparseable timestamps.COMMENT
LOWmacos-bar/Sources/CCSBarCore/BarQuotaGauge.swift61 /// simplifies to `(100 - usedPercent) * elapsed / usedPercent`.COMMENT
LOWmacos-bar/Sources/CCSBarCore/BarQuotaGauge.swift141 // Only at-risk when we will exhaust BEFORE the window resets.COMMENT
LOWmacos-bar/Sources/CCSBarCore/BarTheme.swift1import SwiftUICOMMENT
LOWmacos-bar/Sources/CCSBarCore/BarServerProbe.swift41/// 2. 3000, 3001, 3002, 8000, 8080COMMENT
LOWmacos-bar/Sources/CCSBarCore/BarAnalytics.swift81 public let allTime: WindowCOMMENT
LOWsrc/cliproxy/config/generator.ts781 session-affinity-ttl: "${poolEnabled ? '1h' : sessionAffinityTtl}"`;COMMENT
LOWsrc/cliproxy/config/generator.ts801# WARNING: Logs can grow to several GB if enabled!COMMENT
LOW…roxy/executor/__tests__/index-characterization.test.ts221 // TODO: mock triggerOAuth to resolve trueCOMMENT
LOWsrc/cliproxy/routing/pool-opt-in-prompt.ts141 if (accountCountBefore !== 1) {COMMENT
Verbosity Indicators20 hits · 37 pts
SeverityFileLineSnippetContext
LOW⚡src/web-server/routes/persist-routes.ts237 // Step 1: Backup current settings for rollbackCOMMENT
LOW⚡src/web-server/routes/persist-routes.ts242 // Step 2: Write validated content to temp fileCOMMENT
LOW⚡src/web-server/routes/persist-routes.ts245 // Step 3: Atomic rename (replaces existing file)COMMENT
LOW⚡src/web-server/routes/persist-routes.ts248 // Step 4: Cleanup rollback backup on successCOMMENT
LOWsrc/cliproxy/proxy/tool-sanitization-proxy.ts420 // Step 1: Sanitize input_schema properties (remove non-standard JSON Schema properties)COMMENT
LOWsrc/cliproxy/proxy/tool-sanitization-proxy.ts481 // Step 2: Sanitize tool names (truncate to 64 chars for Gemini)COMMENT
LOW⚡…cliproxy/config/__tests__/claude-model-neutral.test.ts401 // Step 1: fresh ensureProviderSettings creates the file and the marker.COMMENT
LOW⚡…cliproxy/config/__tests__/claude-model-neutral.test.ts407 // Step 2: simulate 'ccs claude --config' pinning all four tier models.COMMENT
LOW…cliproxy/config/__tests__/claude-model-neutral.test.ts423 // Step 3: second ensureProviderSettings must NOT strip the user-written pinsCOMMENT
LOW…cliproxy/config/__tests__/claude-model-neutral.test.ts467 // Step 1: executor runs ensureProviderSettings BEFORE the --config write.COMMENT
LOW…cliproxy/config/__tests__/claude-model-neutral.test.ts479 // Step 2: configureProviderModel writes the user's deliberate pick — and theCOMMENT
LOW…cliproxy/config/__tests__/claude-model-neutral.test.ts496 // Step 3: next plain `ccs claude` launch must NOT strip the just-written pinCOMMENT
LOW⚡src/cliproxy/ai-providers/tool-name-sanitizer.ts136 // Step 1: Always try to remove duplicate segmentsCOMMENT
LOW⚡src/cliproxy/ai-providers/tool-name-sanitizer.ts140 // Step 2: Truncate if still too longCOMMENT
LOW⚡src/cliproxy/ai-providers/tool-name-sanitizer.ts145 // Step 3: If still invalid, fix characters and truncate if neededCOMMENT
LOWsrc/commands/setup-command.ts290 // Step 1: Local vs Remote modeCOMMENT
LOWsrc/commands/setup-command.ts371 // Step 2: Ask about API profilesCOMMENT
LOWsrc/commands/cliproxy/variant-subcommand.ts321 // Step 1: Profile nameCOMMENT
LOWsrc/commands/cliproxy/variant-subcommand.ts442 // Step 2: Provider selectionCOMMENT
LOWsrc/commands/cliproxy/variant-subcommand.ts536 // Step 3: Model selectionCOMMENT
Structural Annotation Overuse20 hits · 37 pts
SeverityFileLineSnippetContext
LOW⚡src/web-server/routes/persist-routes.ts237 // Step 1: Backup current settings for rollbackCOMMENT
LOW⚡src/web-server/routes/persist-routes.ts242 // Step 2: Write validated content to temp fileCOMMENT
LOW⚡src/web-server/routes/persist-routes.ts245 // Step 3: Atomic rename (replaces existing file)COMMENT
LOW⚡src/web-server/routes/persist-routes.ts248 // Step 4: Cleanup rollback backup on successCOMMENT
LOWsrc/cliproxy/proxy/tool-sanitization-proxy.ts420 // Step 1: Sanitize input_schema properties (remove non-standard JSON Schema properties)COMMENT
LOWsrc/cliproxy/proxy/tool-sanitization-proxy.ts481 // Step 2: Sanitize tool names (truncate to 64 chars for Gemini)COMMENT
LOW⚡…cliproxy/config/__tests__/claude-model-neutral.test.ts401 // Step 1: fresh ensureProviderSettings creates the file and the marker.COMMENT
LOW⚡…cliproxy/config/__tests__/claude-model-neutral.test.ts407 // Step 2: simulate 'ccs claude --config' pinning all four tier models.COMMENT
LOW…cliproxy/config/__tests__/claude-model-neutral.test.ts423 // Step 3: second ensureProviderSettings must NOT strip the user-written pinsCOMMENT
LOW…cliproxy/config/__tests__/claude-model-neutral.test.ts467 // Step 1: executor runs ensureProviderSettings BEFORE the --config write.COMMENT
LOW…cliproxy/config/__tests__/claude-model-neutral.test.ts479 // Step 2: configureProviderModel writes the user's deliberate pick — and theCOMMENT
LOW…cliproxy/config/__tests__/claude-model-neutral.test.ts496 // Step 3: next plain `ccs claude` launch must NOT strip the just-written pinCOMMENT
LOW⚡src/cliproxy/ai-providers/tool-name-sanitizer.ts136 // Step 1: Always try to remove duplicate segmentsCOMMENT
LOW⚡src/cliproxy/ai-providers/tool-name-sanitizer.ts140 // Step 2: Truncate if still too longCOMMENT
LOW⚡src/cliproxy/ai-providers/tool-name-sanitizer.ts145 // Step 3: If still invalid, fix characters and truncate if neededCOMMENT
LOWsrc/commands/setup-command.ts290 // Step 1: Local vs Remote modeCOMMENT
LOWsrc/commands/setup-command.ts371 // Step 2: Ask about API profilesCOMMENT
LOWsrc/commands/cliproxy/variant-subcommand.ts321 // Step 1: Profile nameCOMMENT
LOWsrc/commands/cliproxy/variant-subcommand.ts442 // Step 2: Provider selectionCOMMENT
LOWsrc/commands/cliproxy/variant-subcommand.ts536 // Step 3: Model selectionCOMMENT
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtests/integration/z-ai-streaming-test.js9if (!API_KEY || API_KEY === 'your-api-key-here') {CODE
HIGHsrc/utils/api-key-validator.ts24 'YOUR-API-KEY-HERE',CODE
HIGHsrc/utils/delegation-validator.ts91 'your-api-key-here',CODE
Redundant / Tautological Comments8 hits · 12 pts
SeverityFileLineSnippetContext
LOW⚡tests/native/unix/edge-cases.sh267 # Check if ccs is in PATHCOMMENT
LOWtests/integration/ux-integration-test.sh486 # Check if completion is registeredCOMMENT
LOWscripts/dev-install.sh46 # Check if installed via bunCOMMENT
LOWscripts/dev-install.sh51 # Check if installed via npmCOMMENT
LOWscripts/dev-symlink.sh39# Check if dist/ccs.js existsCOMMENT
LOWscripts/dev-symlink.sh86# Check if already symlinked to our dev versionCOMMENT
LOWscripts/dev-release.sh90 # Check if tag already exists (safety check)COMMENT
LOWlib/prompt.sh96# Check if running in non-interactive modeCOMMENT
Self-Referential Comments3 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/native/unix/uninstall.sh160 # Create a dummy skill directory firstCOMMENT
MEDIUMtests/native/unix/uninstall.sh149 # Create a dummy command file firstCOMMENT
MEDIUMscripts/dev-release.sh158# This file is read by send-discord-release.cjs for dev releasesCOMMENT
Modern AI Meta-Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMui/src/lib/openrouter-utils.ts62 isExacto: model.id.includes(':exacto'), // Exacto variants - optimized for agentic/tool useCODE
MEDIUMtests/unit/cliproxy/session-bridge-bg-keepalive.test.ts15 // No-op: feature scaffold removed per red-team finding on #1340.COMMENT
MEDIUMsrc/delegation/delegation-handler.ts335 // Parse --max-turns (limit agentic turns, max 100)COMMENT
MEDIUMsrc/delegation/executor/types.ts65 maxTurns?: number; // --max-turns: Limit agentic turns (prevents infinite loops)CODE
AI Slop Vocabulary2 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMsrc/cliproxy/proxy/proxy-detector.ts181 // Definitely not our proxy - port is blockedCOMMENT
MEDIUM⚡src/cliproxy/config/generator.ts842# This enables seamless multi-account rotation when rate limitedCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmacos-bar/Scripts/package_app.sh11# Usage:COMMENT