Lightweight server monitoring with historical data, docker stats, and alerts.
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.
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? 54 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 8 finding(s).
Which changes need focused human review? 67 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .goreleaser.yml | 181 | description: "Agent for Beszel, a lightweight server monitoring platform." | COMMENT |
| LOW | internal/tests/api.go | 21 | COMMENT | |
| LOW | internal/tests/api.go | 61 | COMMENT | |
| LOW | internal/tests/api.go | 81 | // map[string]int{ "*": 0 } // no hook events were fired | COMMENT |
| LOW | internal/tests/api.go | 101 | // Method: http.MethodGet, | COMMENT |
| LOW | internal/tests/api.go | 121 | }) | COMMENT |
| LOW | internal/alerts/alerts_cache_test.go | 181 | // defer hub.Cleanup() | COMMENT |
| LOW | internal/alerts/alerts_cache_test.go | 201 | // assert.Len(t, cache.Get(system1.Id), 1) | COMMENT |
| LOW | internal/alerts/alerts_container.go | 21 | // containerLogFallbackLines is how many trailing raw log lines are used when no | COMMENT |
| LOW | internal/site/src/components/ui/chart.tsx | 21 | // config: ChartConfig | COMMENT |
| LOW | internal/site/src/components/ui/chart.tsx | 61 | ) | COMMENT |
| LOW | …src/components/systemd-table/systemd-table-columns.tsx | 41 | }, | COMMENT |
| LOW | internal/hub/api_test.go | 1521 | Method: http.MethodGet, | COMMENT |
| LOW | internal/entities/monitor/monitor.go | 61 | // | COMMENT |
| LOW | internal/entities/container/container.go | 21 | // Type string | COMMENT |
| LOW | agent/disk.go | 741 | COMMENT | |
| LOW | agent/connection_manager_test.go | 281 | require.NoError(t, agent.StopServer()) | COMMENT |
| LOW | agent/fans.go | 41 | } | COMMENT |
| LOW | agent/gpu.go | 801 | if caps.hasIntelGpuTop && !caps.hasXe { | COMMENT |
| LOW | supplemental/docker/agent/docker-compose.yml | 21 | TOKEN: "<token>" | COMMENT |
| LOW | supplemental/scripts/install-hub.sh | 21 | cat <<'EOF' | COMMENT |
| LOW | supplemental/scripts/install-agent.sh | 141 | # Add the following lines to /etc/rc.conf to configure Beszel Agent: | COMMENT |
| LOW | supplemental/helm/beszel-hub/values.yaml | 81 | # value: this-is-the-only-value | COMMENT |
| LOW | supplemental/helm/beszel-hub/values.yaml | 121 | # APP_URL: https://beszel.example.com | COMMENT |
| LOW | supplemental/helm/beszel-agent/values.yaml | 41 | COMMENT | |
| LOW | supplemental/helm/beszel-agent/values.yaml | 101 | # filters: | COMMENT |
| LOW | supplemental/helm/beszel-agent/values.yaml | 141 | # Additional volumes on the output Deployment definition. | COMMENT |
| LOW | supplemental/helm/beszel-agent/values.yaml | 161 | # SSH public key for agent authentication - REQUIRED (unless using existingSecret) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | supplemental/scripts/install-hub.sh | 302 | # Create a dedicated user for the service if it doesn't exist | COMMENT |
| MEDIUM | supplemental/scripts/install-hub.sh | 314 | # Create the directory for the Beszel Hub | COMMENT |
| MEDIUM | supplemental/scripts/install-hub.sh | 366 | # Create the rc service file | COMMENT |
| MEDIUM | supplemental/scripts/install-agent.sh | 853 | # Create a dedicated user for the service if it doesn't exist | COMMENT |
| MEDIUM | supplemental/scripts/install-agent.sh | 907 | # Create the directory for the Beszel Agent | COMMENT |
| MEDIUM | supplemental/scripts/install-agent.sh | 1252 | # Create the rc service file if it doesn't exist | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | supplemental/scripts/install-hub.sh | 144 | # Check if running as root and re-execute with sudo if needed | COMMENT |
| LOW | supplemental/scripts/install-hub.sh | 380 | # Check if service started successfully | COMMENT |
| LOW | supplemental/scripts/install-hub.sh | 436 | # Check if the service is running | COMMENT |
| LOW | supplemental/scripts/install-agent-brew.sh | 50 | # Check if brew is installed, prompt to install if not | COMMENT |
| LOW | supplemental/scripts/install-agent.sh | 44 | # Check if SELinux is enabled and in enforcing or permissive mode | COMMENT |
| LOW | supplemental/scripts/install-agent.sh | 561 | # Check if running as root and re-execute with sudo if needed | COMMENT |
| LOW | supplemental/scripts/install-agent.sh | 610 | # Check if there's a value after the = sign | COMMENT |
| LOW | supplemental/scripts/install-agent.sh | 633 | # Check if there's a value after the = sign | COMMENT |
| LOW | supplemental/scripts/install-agent.sh | 781 | # Check if a package is installed | COMMENT |
| LOW | supplemental/scripts/install-agent.sh | 1099 | # Check if service started successfully | COMMENT |
| LOW | supplemental/scripts/install-agent.sh | 1301 | # Check if service started successfully | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/alerts/alerts_api_test.go | 440 | adminUser, err := beszelTests.CreateUserWithRole(hub, "admin@example.com", "password123", "admin") | CODE |
| LOW | internal/hub/api_settings_ownership_test.go | 72 | create: map[string]any{"system": systems[0].Id, "token": "initial-dummy-token", "fingerprint": "dummy-fingerprint"} | CODE |
| LOW | internal/hub/api_settings_ownership_test.go | 73 | edit: map[string]any{"token": "rotated-dummy-token", "fingerprint": ""}, | CODE |
| LOW | internal/hub/api_test.go | 102 | adminUser, err := beszelTests.CreateUserWithRole(hub, "admin@example.com", "password123", "admin") | CODE |
| LOW | internal/hub/agent_connect_test.go | 89 | "email": "test@test.com", | CODE |
| LOW | internal/hub/config/config_test.go | 72 | user, err := tests.CreateUser(testHub.App, "admin@example.com", "testtesttest") | CODE |
| LOW | internal/hub/config/config_test.go | 92 | - "admin@example.com" | CODE |
| LOW | internal/hub/config/config_test.go | 119 | - "admin@example.com"`, | CODE |
| LOW | internal/hub/config/config_test.go | 197 | user, err := tests.CreateUser(testHub.App, "admin@example.com", "testtesttest") | CODE |
| LOW | internal/hub/config/config_test.go | 219 | - "admin@example.com"` | CODE |
| LOW | internal/hub/heartbeat/heartbeat_test.go | 220 | user, err := beszeltests.CreateUser(app.App, "admin@example.com", "password123") | CODE |
| LOW | internal/hub/systems/systems_test.go | 61 | user, err := tests.CreateUser(hub, "test@test.com", "testtesttest") | CODE |
| LOW | internal/hub/systems/systems_test.go | 226 | _, err = tests.CreateUser(hub, "test@test.com", "testtesttest") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/site/src/components/ui/chart.tsx | 390 | function getPayloadConfigFromPayload(config: ChartConfig, payload: unknown, key: string) { | CODE |
| LOW | internal/site/src/components/ui/icons.tsx | 190 | export function SquareArrowRightEnterIcon(props: SVGProps<SVGSVGElement>) { | CODE |
| LOW | …ents/network-monitors-table/network-monitors-table.tsx | 650 | function NetworkMonitorSheetContent({ | CODE |
| LOW | …src/components/systems-table/systems-table-columns.tsx | 94 | function getMeterStateByThresholds(value: number, warn = 65, crit = 90): MeterState { | CODE |
| LOW | …/site/src/components/routes/settings/notifications.tsx | 179 | function showTestNotificationError(msg: string) { | CODE |
| LOW | …rnal/site/src/components/routes/system/lazy-tables.tsx | 72 | function SystemNetworkMonitorsTable({ systemId }: { systemId: string }) { | CODE |
| LOW | internal/site/src/lib/logs.ts | 5 | export function getLogTimestampDecorations(logs: string): DecorationItem[] { | CODE |
| LOW | internal/site/src/lib/use-network-monitors.ts | 118 | function flushPendingMonitorEvents() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | supplemental/scripts/install-agent.sh | 1282 | # we just set. The service then refuses to start, and rc.subr's own error points | COMMENT |