AI Slop Code Risk Monitor

garethgeorge/backrest

SlopCodeMonitor badge for garethgeorge/backrest Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Backrest is a web UI and orchestrator for restic backup.

1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for garethgeorge/backrest, a TypeScript project with 7,791 GitHub stars. SynthScan examined 98,959 lines of code across 402 source files, recording 98 pattern matches distributed across 8 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.

1.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
2026-09-21
Last Push
7.8K
Stars
TypeScript
Language
99.0K
Lines of Code
402
Files
98
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 4.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 5.2/100 · LOW

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

PR Review Velocity Impact 8.1/100 · LOW

Which changes need focused human review? 98 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 0MEDIUM 35LOW 63

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 98 distinct pattern matches across 8 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.

Decorative Section Separators33 hits · 105 pts
SeverityFileLineSnippetContext
MEDIUM⚡install.sh508# =============================================================================COMMENT
MEDIUM⚡install.sh510# =============================================================================COMMENT
MEDIUM⚡install.sh569# =============================================================================COMMENT
MEDIUM⚡install.sh571# =============================================================================COMMENT
MEDIUMinstall.sh164# =============================================================================COMMENT
MEDIUMinstall.sh166# =============================================================================COMMENT
MEDIUMinstall.sh205# =============================================================================COMMENT
MEDIUMinstall.sh207# =============================================================================COMMENT
MEDIUMinstall.sh277# =============================================================================COMMENT
MEDIUMinstall.sh279# =============================================================================COMMENT
MEDIUMinstall.sh381# =============================================================================COMMENT
MEDIUMinstall.sh383# =============================================================================COMMENT
MEDIUMscripts/manage.sh5#=================================================COMMENT
MEDIUMscripts/manage.sh8#=================================================COMMENT
MEDIUMwebui/scripts/translate-gemini.ts17// ─── Config ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/scripts/translate-gemini.ts50// ─── Types ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/scripts/translate-gemini.ts73// ─── Schemas ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/scripts/translate-gemini.ts112// ─── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/scripts/translate-gemini.ts235// ─── GeminiClient ─────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/scripts/translate-gemini.ts316// ─── TranslationProject ───────────────────────────────────────────────────────COMMENT
MEDIUMwebui/scripts/translate-gemini.ts481// ─── UserReviewer ─────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/scripts/translate-gemini.ts517// ─── Main ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/HistoryStrip.tsx142// ─── Per-day hover tooltip ────────────────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx47// ─── helpers ────────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx192// ─── Progress bar (animated shimmer) ─────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx210// ─── Hero banner ──────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx303// ─── Live progress hook ───────────────────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx391// ─── Shared card building blocks ─────────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx450// ─── Plan card ────────────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx573// ─── Repo card (slimmed — no schedule/next-run) ───────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx633// ─── Recent activity timeline ─────────────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx778// ─── Root component ───────────────────────────────────────────────────────────COMMENT
MEDIUMwebui/src/features/dashboard/SummaryDashboard.tsx918// ─── Multihost ────────────────────────────────────────────────────────────────COMMENT
Over-Commented Block41 hits · 40 pts
SeverityFileLineSnippetContext
LOWinstall.sh181 elif [ -f /Library/LaunchAgents/com.backrest.plist ]; thenCOMMENT
LOWinternal/cryptoutil/transport.go41// TransportSession is the result of a successful handshake: a pair of one-wayCOMMENT
LOWinternal/api/downloadhandler_test.go61 }COMMENT
LOWinternal/api/syncapi/cmdstreamutil.go201// TransportProtocolVersion and tied to the wire format.COMMENT
LOWinternal/orchestrator/repo/repo.go461//COMMENT
LOWgen/go/v1/operations.pb.go201 // plan id e.g. a scheduled set of operations (or system) that created this operation.COMMENT
LOWgen/go/v1/service_grpc.pb.go361 // RunCommand executes a generic restic command on the repository.COMMENT
LOWgen/go/v1/config.pb.go21 // Verify that runtime/protoimpl is sufficiently up-to-date.COMMENT
LOWgen/go/v1/config.pb.go41 // the client (read-only view of host config).COMMENT
LOWgen/go/v1/v1connect/service.connect.go21// problem by either regenerating this code with an older version of connect or updating the connectCOMMENT
LOWgen/go/v1/v1connect/service.connect.go41 BackrestSetConfigProcedure = "/v1.Backrest/SetConfig"COMMENT
LOWgen/go/v1/v1connect/service.connect.go61 // BackrestBackupProcedure is the fully-qualified name of the Backrest's Backup RPC.COMMENT
LOWgen/go/v1/v1connect/authentication.connect.go21// version compiled into your binary.COMMENT
LOWgen/go/v1sync/syncservice.pb.go901 return nilCOMMENT
LOWgen/go/v1sync/syncservice.pb.go1201// "backrest-sync-handshake/v1\x00"COMMENT
LOWgen/go/v1sync/v1syncconnect/syncservice.connect.go21const _ = connect.IsAtLeastVersion1_13_0COMMENT
LOWgen/go/v1sync/v1syncconnect/syncservice.connect.go41 // BackrestSyncStateServiceGetPeerSyncStatesStreamProcedure is the fully-qualified name of theCOMMENT
LOWgen/go/google/api/http.pb.go1// Copyright 2023 Google LLCCOMMENT
LOWgen/go/google/api/http.pb.go101COMMENT
LOWgen/go/google/api/http.pb.go121// as each field is a non-repeated field with a primitive (non-message) type.COMMENT
LOWgen/go/google/api/http.pb.go141// This enables an HTTP REST to gRPC mapping as below:COMMENT
LOWgen/go/google/api/http.pb.go161// }COMMENT
LOWgen/go/google/api/http.pb.go181//COMMENT
LOWgen/go/google/api/http.pb.go201// protos JSON encoding:COMMENT
LOWgen/go/google/api/http.pb.go221// message Message {COMMENT
LOWgen/go/google/api/http.pb.go241//COMMENT
LOWgen/go/google/api/http.pb.go261// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`COMMENT
LOWgen/go/google/api/http.pb.go281// request body, allCOMMENT
LOWgen/go/google/api/http.pb.go301//COMMENT
LOWgen/go/google/api/http.pb.go321// `{+var}`.COMMENT
LOWgen/go/google/api/http.pb.go341// rules:COMMENT
LOWgen/go/google/api/http.pb.go361// because client libraries are not capable of handling such variable expansion.COMMENT
LOWgen/go/google/api/http.pb.go381 // used with any of the {get|put|post|delete|patch} methods. A custom methodCOMMENT
LOWgen/go/google/api/annotations.pb.go1// Copyright 2015 Google LLCCOMMENT
LOWscripts/testing/run-named.sh1#!/usr/bin/env bashCOMMENT
LOWwebui/gen/ts/google/api/http_pb.ts1// Copyright 2023 Google LLCCOMMENT
LOWwebui/gen/ts/google/api/annotations_pb.ts1// Copyright 2015 Google LLCCOMMENT
LOWwebui/e2e/specs/backup-progress.spec.ts101 await expect(backupLeaf).toBeVisible({ timeout: 30_000 });COMMENT
LOWwebui/src/components/common/FormModal.test.tsx1import { screen } from "@testing-library/react";COMMENT
LOWwebui/src/components/common/SpinButton.test.tsx1import { screen, waitFor } from "@testing-library/react";COMMENT
LOWwebui/src/api/streams/tabStream.ts1// One upstream server-stream per stream name, held by whichever Backrest tabCOMMENT
Structural Annotation Overuse14 hits · 25 pts
SeverityFileLineSnippetContext
LOW⚡install.sh579# Step 1: Detect previous installationCOMMENT
LOW⚡install.sh589# Step 2: Remove all existing artifactsCOMMENT
LOW⚡install.sh644# Step 4: InstallCOMMENT
LOW⚡install.sh654# Step 5: SummaryCOMMENT
LOWinstall.sh606# Step 3: Determine acquisition modeCOMMENT
LOWdocs/src/docs/multihost.md24## Step 1: Generate a Pairing Token (Server)COMMENT
LOWdocs/src/docs/multihost.md40## Step 2: Connect the ClientCOMMENT
LOW⚡docs/src/cookbooks/ssh-remote.md19### Step 1: Create a Local Directory for SSH ConfigCOMMENT
LOW⚡docs/src/cookbooks/ssh-remote.md27### Step 2: Generate an SSH KeyCOMMENT
LOW⚡docs/src/cookbooks/ssh-remote.md37### Step 3: Copy the Public Key to Your Remote ServerCOMMENT
LOW⚡docs/src/cookbooks/ssh-remote.md46### Step 4: Create the SSH Config and Known Hosts FilesCOMMENT
LOWdocs/src/cookbooks/ssh-remote.md71### Step 5: Set Secure PermissionsCOMMENT
LOWdocs/src/cookbooks/ssh-remote.md80### Step 6: Mount the SSH Directory in Docker ComposeCOMMENT
LOWdocs/src/cookbooks/ssh-remote.md107### Step 7: Add the Repository in BackrestCOMMENT
Verbosity Indicators5 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡install.sh579# Step 1: Detect previous installationCOMMENT
LOW⚡install.sh589# Step 2: Remove all existing artifactsCOMMENT
LOW⚡install.sh644# Step 4: InstallCOMMENT
LOW⚡install.sh654# Step 5: SummaryCOMMENT
LOWinstall.sh606# Step 3: Determine acquisition modeCOMMENT
Modern AI Meta-Vocabulary1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM⚡install.sh509# Install orchestrationCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/testing/ramdisk-mount.sh16# Check if MacOSCOMMENT
LOWscripts/testing/ramdisk-unmount.sh16# Check if MacOSCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/test.yml34 # Create an empty gzip file for testingCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwebui/e2e/specs/hooks.spec.ts29async function createPlanWithCommandHookViaUI(CODE