AI Slop Code Risk Monitor

nicholas-fedor/watchtower

SlopCodeMonitor badge for nicholas-fedor/watchtower Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Automate Docker container image updates

4.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nicholas-fedor/watchtower, a Go project with 4,760 GitHub stars. SynthScan examined 191,876 lines of code across 713 source files, recording 664 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 4.0 (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.

4.0
Adjusted Signal
4.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.8K
Stars
Go
Language
191.9K
Lines of Code
713
Files
664
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 15.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 3.6/100 · LOW

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

PR Review Velocity Impact 17.8/100 · LOW

Which changes need focused human review? 664 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 43LOW 621

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 664 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.

Over-Commented Block607 hits · 603 pts
SeverityFileLineSnippetContext
LOWmain.go1// @title Watchtower HTTP APICOMMENT
LOWmain.go21// @tag.name healthCOMMENT
LOWcmd/notify-upgrade.go41 Short: "Upgrade legacy notification configuration to shoutrrr URLs",COMMENT
LOWcmd/notify-upgrade.go81// Parameters:COMMENT
LOWcmd/notify-upgrade.go221 }COMMENT
LOWcmd/doc.go1// Package cmd defines Watchtower's command-line interface.COMMENT
LOWcmd/root.go41 //COMMENT
LOWcmd/root.go61var (COMMENT
LOWcmd/root.go81 // notifier is the notification system instance responsible for sending update status messages to configured channels.COMMENT
LOWcmd/root.go101 // restart policy, validating restarts, and cleaning up excess instances.COMMENT
LOWcmd/root.go121COMMENT
LOWcmd/root.go181// Returns:COMMENT
LOWcmd/root.go201// PreRunE and RunE are wired in Execute with a logger-capturing process instance so theCOMMENT
LOWcmd/root.go221// Parameters:COMMENT
LOWcmd/root.go261 os.Exit(exitErr.code)COMMENT
LOWcmd/root.go381 currentWatchtowerContainerID, detectErr = containerClient.GetCurrentContainerID(p.log, ctx, processFs, client)COMMENT
LOWcmd/root.go601// - cfg: The RunConfig struct containing filter, API, and mode parameters for this execution.COMMENT
LOWtools/tplprev/internal/preview/render.go41//COMMENT
LOWtools/tplprev/internal/report/id.go21// ShortID returns the 12-character short version of a container ID.COMMENT
LOWtools/tplprev/internal/metadata/metadata.go1// Package metadata holds compile-time build information for tplprev.COMMENT
LOWinternal/settings/flags_test.go21COMMENT
LOWinternal/settings/config.go21// Each field is a domain group aligned with internal/settings/flags/<domain> registration.COMMENT
LOWinternal/settings/precedence_test.go41 require.NoError(t, err)COMMENT
LOWinternal/settings/load_test.go21)COMMENT
LOWinternal/settings/flags.go41 // errNotSliceValue indicates a flag does not support slice values for appending.COMMENT
LOWinternal/settings/flags.go161// - error: Non-nil if set fails, nil otherwise.COMMENT
LOWinternal/settings/flags.go281 Str("flag", secret).COMMENT
LOWinternal/settings/flags.go381 return !errors.Is(err, os.ErrNotExist)COMMENT
LOWinternal/settings/doc.go1// Package settings declares Watchtower's command-line flags and resolves themCOMMENT
LOWinternal/settings/viper_get.go21// durationValue reads a duration from Viper with bare-second env support.COMMENT
LOWinternal/settings/viper_get.go81 return checkNonNegative(name, d)COMMENT
LOWinternal/settings/viper_get.go101 return 0, fmt.Errorf("%s %w, got %s", name, errNegativeDurationSetting, d)COMMENT
LOWinternal/settings/viper_get.go121 return 0, fmt.Errorf("parse bare seconds: %w", err)COMMENT
LOWinternal/settings/bind.go21)COMMENT
LOWinternal/settings/load.go61// GetSecretsFromFiles before Load. Load does not re-parse CLI arguments.COMMENT
LOWinternal/settings/load.go221 EphemeralSelfUpdate: vCfg.GetBool("ephemeral-self-update"),COMMENT
LOWinternal/settings/run_config.go21type RunConfigInput struct {COMMENT
LOWinternal/settings/flags/spec/register.go41// - flagSet: Target flag set that receives the registered flags.COMMENT
LOWinternal/settings/flags/spec/spec.go41// Default must be the static default (not env-baked). EnvKeys lists explicitCOMMENT
LOWinternal/settings/flags/spec/doc.go1// Package spec defines the flag metadata shared by the domain flag packages.COMMENT
LOWinternal/settings/flags/utils/listparse.go41func SplitCommaOrSpace(value string) []string {COMMENT
LOWinternal/settings/config/notify/notify.go1package notifyCOMMENT
LOWinternal/settings/config/notify/notify.go21 TemplateFile stringCOMMENT
LOWinternal/settings/config/notify/notify.go41 // (--notification-title-tag / WATCHTOWER_NOTIFICATION_TITLE_TAG).COMMENT
LOWinternal/settings/config/update/update.go1package updateCOMMENT
LOWinternal/settings/config/update/update.go21 // MonitorOnly monitors for new images without updating containersCOMMENT
LOWinternal/settings/config/api/endpoints.go61// Empty reports whether or not the map of enabled endpoints is empty.COMMENT
LOWinternal/settings/config/api/endpoints.go121}COMMENT
LOWinternal/settings/config/api/endpoints.go181 parts = append(parts, name)COMMENT
LOWinternal/settings/config/api/endpoints.go201// - legacyUpdate: Legacy http-api-update.COMMENT
LOWinternal/settings/config/client/client.go1package clientCOMMENT
LOWinternal/settings/config/git/git.go61 ComposeProjects map[string]stringCOMMENT
LOWinternal/settings/config/git/git.go161COMMENT
LOWinternal/settings/units/duration.go21 errInvalidUnit = errors.New("invalid unit in duration string")COMMENT
LOWinternal/settings/units/duration.go101COMMENT
LOWinternal/settings/units/duration.go201 return trueCOMMENT
LOWinternal/settings/units/doc.go1// Package units parses and formats the duration and disk-space values thatCOMMENT
LOWinternal/settings/units/diskspace.go61 "tib": tebibyteMultiplier,COMMENT
LOWinternal/settings/units/diskspace.go101 return 0, fmt.Errorf("invalid disk space %q: %w", size, err)COMMENT
LOWinternal/settings/units/diskspace.go161// point.COMMENT
547 more matches not shown…
Decorative Section Separators40 hits · 139 pts
SeverityFileLineSnippetContext
MEDIUMcliff.toml9# ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcliff.toml12# ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcliff.toml23# ──────────────────────────────────────────────────────────────STRING
MEDIUMcliff.toml28# ──────────────────────────────────────────────────────────────STRING
MEDIUMcliff.toml64# ──────────────────────────────────────────────────────────────STRING
MEDIUMcliff.toml68# ──────────────────────────────────────────────────────────────STRING
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh6# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh8# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh15# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh17# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh23# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh25# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh30# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh32# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh38# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh40# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh70# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh72# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh76# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh78# ------------------------------------------------------------------COMMENT
MEDIUMexamples/lifecycle-hooks/synology-stop/synology-stop.sh95# ------------------------------------------------------------------COMMENT
MEDIUMexamples/lifecycle-hooks/synology-stop/synology-stop.sh97# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh115# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh117# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh123# ------------------------------------------------------------------COMMENT
MEDIUM⚡examples/lifecycle-hooks/synology-stop/synology-stop.sh125# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh7# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh9# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh44# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh46# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh70# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh72# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh116# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh118# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh148# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh150# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh180# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh182# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh221# ------------------------------------------------------------------COMMENT
MEDIUM…lifecycle-hooks/synology-stop/test_synology_parsing.sh223# ------------------------------------------------------------------COMMENT
Structural Annotation Overuse7 hits · 12 pts
SeverityFileLineSnippetContext
LOWinternal/settings/flags_test.go1187 // Step 1: env bridge sets pflag to the file pathCOMMENT
LOW⚡internal/settings/flags_test.go1199 // Step 2: secret expansion replaces content and marks Changed=trueCOMMENT
LOW⚡internal/settings/flags_test.go1208 // Step 3: re-running ApplyEnvToFlags must not overwrite the expanded valueCOMMENT
LOWdocs/http-api/configuration/tls/index.md27### Step 1: Obtain a Certificate and Private KeyCOMMENT
LOWdocs/http-api/configuration/tls/index.md59### Step 2: Prepare Files for the ContainerCOMMENT
LOWdocs/http-api/configuration/tls/index.md70### Step 3: Mount and Configure WatchtowerCOMMENT
LOWdocs/http-api/configuration/tls/index.md110### Step 4: Connect Using HTTPSCOMMENT
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOWinternal/settings/flags_test.go1187 // Step 1: env bridge sets pflag to the file pathCOMMENT
LOW⚡internal/settings/flags_test.go1199 // Step 2: secret expansion replaces content and marks Changed=trueCOMMENT
LOW⚡internal/settings/flags_test.go1208 // Step 3: re-running ApplyEnvToFlags must not overwrite the expanded valueCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpkg/notifications/shoutrrr_fuzz_test.go16// FuzzGetShoutrrrTemplate fuzzes the getShoutrrrTemplate function to ensure robust parsing of template strings.COMMENT
MEDIUMpkg/notifications/shoutrrr_fuzz_test.go34// FuzzSanitizeURLForLogging fuzzes the sanitizeURLForLogging function to ensure robust URL parsing.COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/scripts/test_tls_integration.sh52# Check if certs existCOMMENT
LOW.github/workflows/release-nightly.yaml69 # Check if there are any changes in the watched paths since last successful nightly runCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMscripts/docker-util.sh2# This file is meant to be sourced into other scripts and contain some utility functions for docker e2e testingCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWcmd/notify_upgrade_test.go123 "--notification-email-to", "admin@example.com",CODE
LOWpkg/notifications/email_test.go35 To: "admin@example.com",CODE