AI Slop Code Risk Monitor

henrygd/beszel

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

Lightweight server monitoring with historical data, docker stats, and alerts.

0.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for henrygd/beszel, a Go project with 26,725 GitHub stars. SynthScan examined 111,935 lines of code across 528 source files, recording 67 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.8 (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.

0.8
Adjusted Signal
0.8
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
26.7K
Stars
Go
Language
111.9K
Lines of Code
528
Files
67
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 3.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 3.5/100 · LOW

Which changes need focused human review? 67 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 6LOW 61

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 67 distinct pattern matches across 6 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.

Over-Commented Block28 hits · 28 pts
SeverityFileLineSnippetContext
LOW.goreleaser.yml181 description: "Agent for Beszel, a lightweight server monitoring platform."COMMENT
LOWinternal/tests/api.go21COMMENT
LOWinternal/tests/api.go61COMMENT
LOWinternal/tests/api.go81 // map[string]int{ "*": 0 } // no hook events were firedCOMMENT
LOWinternal/tests/api.go101// Method: http.MethodGet,COMMENT
LOWinternal/tests/api.go121 })COMMENT
LOWinternal/alerts/alerts_cache_test.go181// defer hub.Cleanup()COMMENT
LOWinternal/alerts/alerts_cache_test.go201// assert.Len(t, cache.Get(system1.Id), 1)COMMENT
LOWinternal/alerts/alerts_container.go21 // containerLogFallbackLines is how many trailing raw log lines are used when noCOMMENT
LOWinternal/site/src/components/ui/chart.tsx21// config: ChartConfigCOMMENT
LOWinternal/site/src/components/ui/chart.tsx61 )COMMENT
LOW…src/components/systemd-table/systemd-table-columns.tsx41 },COMMENT
LOWinternal/hub/api_test.go1521 Method: http.MethodGet,COMMENT
LOWinternal/entities/monitor/monitor.go61//COMMENT
LOWinternal/entities/container/container.go21 // Type stringCOMMENT
LOWagent/disk.go741COMMENT
LOWagent/connection_manager_test.go281 require.NoError(t, agent.StopServer())COMMENT
LOWagent/fans.go41 }COMMENT
LOWagent/gpu.go801 if caps.hasIntelGpuTop && !caps.hasXe {COMMENT
LOWsupplemental/docker/agent/docker-compose.yml21 TOKEN: "<token>"COMMENT
LOWsupplemental/scripts/install-hub.sh21 cat <<'EOF'COMMENT
LOWsupplemental/scripts/install-agent.sh141# Add the following lines to /etc/rc.conf to configure Beszel Agent:COMMENT
LOWsupplemental/helm/beszel-hub/values.yaml81 # value: this-is-the-only-valueCOMMENT
LOWsupplemental/helm/beszel-hub/values.yaml121 # APP_URL: https://beszel.example.comCOMMENT
LOWsupplemental/helm/beszel-agent/values.yaml41COMMENT
LOWsupplemental/helm/beszel-agent/values.yaml101 # filters:COMMENT
LOWsupplemental/helm/beszel-agent/values.yaml141# Additional volumes on the output Deployment definition.COMMENT
LOWsupplemental/helm/beszel-agent/values.yaml161 # SSH public key for agent authentication - REQUIRED (unless using existingSecret)COMMENT
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMsupplemental/scripts/install-hub.sh302# Create a dedicated user for the service if it doesn't existCOMMENT
MEDIUMsupplemental/scripts/install-hub.sh314# Create the directory for the Beszel HubCOMMENT
MEDIUMsupplemental/scripts/install-hub.sh366 # Create the rc service fileCOMMENT
MEDIUMsupplemental/scripts/install-agent.sh853# Create a dedicated user for the service if it doesn't existCOMMENT
MEDIUMsupplemental/scripts/install-agent.sh907# Create the directory for the Beszel AgentCOMMENT
MEDIUMsupplemental/scripts/install-agent.sh1252 # Create the rc service file if it doesn't existCOMMENT
Redundant / Tautological Comments11 hits · 16 pts
SeverityFileLineSnippetContext
LOWsupplemental/scripts/install-hub.sh144# Check if running as root and re-execute with sudo if neededCOMMENT
LOWsupplemental/scripts/install-hub.sh380 # Check if service started successfullyCOMMENT
LOWsupplemental/scripts/install-hub.sh436 # Check if the service is runningCOMMENT
LOWsupplemental/scripts/install-agent-brew.sh50# Check if brew is installed, prompt to install if notCOMMENT
LOWsupplemental/scripts/install-agent.sh44 # Check if SELinux is enabled and in enforcing or permissive modeCOMMENT
LOWsupplemental/scripts/install-agent.sh561# Check if running as root and re-execute with sudo if neededCOMMENT
LOWsupplemental/scripts/install-agent.sh610 # Check if there's a value after the = signCOMMENT
LOWsupplemental/scripts/install-agent.sh633 # Check if there's a value after the = signCOMMENT
LOWsupplemental/scripts/install-agent.sh781# Check if a package is installedCOMMENT
LOWsupplemental/scripts/install-agent.sh1099 # Check if service started successfullyCOMMENT
LOWsupplemental/scripts/install-agent.sh1301 # Check if service started successfullyCOMMENT
Fake / Example Data13 hits · 13 pts
SeverityFileLineSnippetContext
LOWinternal/alerts/alerts_api_test.go440 adminUser, err := beszelTests.CreateUserWithRole(hub, "admin@example.com", "password123", "admin")CODE
LOWinternal/hub/api_settings_ownership_test.go72 create: map[string]any{"system": systems[0].Id, "token": "initial-dummy-token", "fingerprint": "dummy-fingerprint"}CODE
LOWinternal/hub/api_settings_ownership_test.go73 edit: map[string]any{"token": "rotated-dummy-token", "fingerprint": ""},CODE
LOWinternal/hub/api_test.go102 adminUser, err := beszelTests.CreateUserWithRole(hub, "admin@example.com", "password123", "admin")CODE
LOWinternal/hub/agent_connect_test.go89 "email": "test@test.com",CODE
LOWinternal/hub/config/config_test.go72 user, err := tests.CreateUser(testHub.App, "admin@example.com", "testtesttest")CODE
LOWinternal/hub/config/config_test.go92 - "admin@example.com"CODE
LOWinternal/hub/config/config_test.go119 - "admin@example.com"`,CODE
LOWinternal/hub/config/config_test.go197 user, err := tests.CreateUser(testHub.App, "admin@example.com", "testtesttest")CODE
LOWinternal/hub/config/config_test.go219 - "admin@example.com"`CODE
LOWinternal/hub/heartbeat/heartbeat_test.go220 user, err := beszeltests.CreateUser(app.App, "admin@example.com", "password123")CODE
LOWinternal/hub/systems/systems_test.go61 user, err := tests.CreateUser(hub, "test@test.com", "testtesttest")CODE
LOWinternal/hub/systems/systems_test.go226 _, err = tests.CreateUser(hub, "test@test.com", "testtesttest")CODE
Hyper-Verbose Identifiers8 hits · 8 pts
SeverityFileLineSnippetContext
LOWinternal/site/src/components/ui/chart.tsx390function getPayloadConfigFromPayload(config: ChartConfig, payload: unknown, key: string) {CODE
LOWinternal/site/src/components/ui/icons.tsx190export function SquareArrowRightEnterIcon(props: SVGProps<SVGSVGElement>) {CODE
LOW…ents/network-monitors-table/network-monitors-table.tsx650function NetworkMonitorSheetContent({CODE
LOW…src/components/systems-table/systems-table-columns.tsx94function getMeterStateByThresholds(value: number, warn = 65, crit = 90): MeterState {CODE
LOW…/site/src/components/routes/settings/notifications.tsx179function showTestNotificationError(msg: string) {CODE
LOW…rnal/site/src/components/routes/system/lazy-tables.tsx72function SystemNetworkMonitorsTable({ systemId }: { systemId: string }) {CODE
LOWinternal/site/src/lib/logs.ts5export function getLogTimestampDecorations(logs: string): DecorationItem[] {CODE
LOWinternal/site/src/lib/use-network-monitors.ts118 function flushPendingMonitorEvents() {CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsupplemental/scripts/install-agent.sh1282 # we just set. The service then refuses to start, and rc.subr's own error pointsCOMMENT