AI Slop Code Risk Monitor

komari-monitor/komari

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

A simple server monitor tool.

1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for komari-monitor/komari, a Go project with 6,758 GitHub stars. SynthScan examined 80,752 lines of code across 419 source files, recording 81 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.3 (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.3
Adjusted Signal
1.3
Raw Pattern Score
100%
Time Factor
2026-10-26
Last Push
6.8K
Stars
Go
Language
80.8K
Lines of Code
419
Files
81
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.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 73 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 1.8/100 · LOW

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

PR Review Velocity Impact 6.0/100 · LOW

Which changes need focused human review? 81 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 9LOW 72

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 81 distinct pattern matches across 5 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 Block68 hits · 68 pts
SeverityFileLineSnippetContext
LOWdatabase/dbcore/dbcore.go441 if err := migrations.Run(migrations.Context{DB: instance}); err != nil {COMMENT
LOWweb/connection/safe_conn.go41COMMENT
LOWweb/api/admin/theme.go361COMMENT
LOWweb/api/admin/theme.go461 // 不保存下载链接,更新后由主题覆盖COMMENT
LOWweb/api/admin/theme.go581 // updatedConfigData, err := json.MarshalIndent(updatedThemeInfo, "", " ")COMMENT
LOWinternal/plugin/server.go41// makes unmatched paths fall back toCOMMENT
LOWinternal/plugin/server.go61// carrying code/message/dataCOMMENT
LOWinternal/plugin/plugin.go1// Package plugin manages Komari plugins: ZIP packages with aCOMMENT
LOWinternal/metricstore/store_migration.go21//COMMENT
LOWpkg/jsruntime/runtime.go61 // is confined to BaseDir, or the current directory when BaseDir is empty.COMMENT
LOWpkg/jsruntime/runtime.go81 AllowExec boolCOMMENT
LOWpkg/rpc/principal.go21// Principal 调用主体,携带身份信息和能力。COMMENT
LOWpkg/metric/config.go21 //COMMENT
LOWpkg/metric/config.go41 //COMMENT
LOWpkg/metric/config.go61 // RollupPolicy configures downsampling tiers and tiered retention. Exact rawCOMMENT
LOWpkg/metric/config.go81 //COMMENT
LOWpkg/metric/config.go101 JournalSizeLimitBytes int64COMMENT
LOWpkg/metric/config.go121const (COMMENT
LOWpkg/metric/config.go241 // SQLite serializes writes, so a single connection is the safe default andCOMMENT
LOWpkg/metric/config.go401COMMENT
LOWpkg/metric/aggregate.go201 return percentile(points, frac), nilCOMMENT
LOWpkg/metric/rollup.go1package metricCOMMENT
LOWpkg/metric/rollup.go21//COMMENT
LOWpkg/metric/rollup.go41 // RawRetention is retained for configuration compatibility. Exact samplesCOMMENT
LOWpkg/metric/rollup.go141}COMMENT
LOWpkg/metric/rollup.go161 sum float64COMMENT
LOWpkg/metric/rollup.go181 firstTS int64COMMENT
LOWpkg/metric/store.go21//COMMENT
LOWpkg/metric/store.go41 //COMMENT
LOWpkg/metric/store.go61 // with respect to other writers.COMMENT
LOWpkg/metric/store.go81 coarse map[coarseRollupKey]*coarseRollupCOMMENT
LOWpkg/metric/store.go981 if retentionDays > 0 {COMMENT
LOWpkg/metric/store.go1521// isTimeSorted reports whether points are already time sorted.COMMENT
LOWpkg/metric/types.go21 //COMMENT
LOWpkg/metric/types.go41 //COMMENT
LOWpkg/metric/types.go61 //COMMENT
LOWpkg/metric/types.go81 //COMMENT
LOWpkg/metric/types.go101 //COMMENT
LOWpkg/metric/types.go121 //COMMENT
LOWpkg/metric/types.go141 Type MetricType `json:"type"`COMMENT
LOWpkg/metric/types.go201 // MetricName names the metric this sample belongs to.COMMENT
LOWpkg/metric/types.go261//COMMENT
LOWpkg/metric/types.go281 //COMMENT
LOWpkg/metric/types.go461//COMMENT
LOWpkg/metric/types.go481 // 默认值保留历史 rollup 行为:把匹配到的序列合并进同一个输出桶。COMMENT
LOWpkg/metric/types.go521 }COMMENT
LOWpkg/metric/types.go541 EntityID string `json:"entity_id,omitempty"`COMMENT
LOWpkg/metric/types.go561//COMMENT
LOWpkg/metric/types.go581 //COMMENT
LOWpkg/metric/types.go601 //COMMENT
LOWpkg/metric/rollup_boundary_test.go1package metricCOMMENT
LOWpkg/metric/rollup_boundary_test.go101// TestSeriesHybridMergesStraddlingBucket verifies a query output bucket thatCOMMENT
LOWpkg/metric/dialect.go1package metricCOMMENT
LOWpkg/metric/dialect.go21 jsonPlaceholder(n int) stringCOMMENT
LOWpkg/metric/dialect.go41COMMENT
LOWpkg/metric/dialect.go81// sqliteDialect implements SQL rendering for SQLite.COMMENT
LOWpkg/metric/dialect.go121COMMENT
LOWpkg/metric/dialect.go161}COMMENT
LOWpkg/metric/dialect.go241// sqlJSONPathQuoted builds a quoted JSON path member access ($."key") for theCOMMENT
LOWpkg/metric/tdigest.go21// is flat) while centroids in the tails stay small (high resolution whereCOMMENT
8 more matches not shown…
Decorative Section Separators8 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMinstall-komari.sh74# ==========================================================COMMENT
MEDIUMinstall-komari.sh76# ==========================================================COMMENT
MEDIUMinstall-komari.sh557# ==========================================================COMMENT
MEDIUMinstall-komari.sh559# ==========================================================COMMENT
MEDIUM⚡install-komari.sh851# ==========================================================COMMENT
MEDIUM⚡install-komari.sh853# ==========================================================COMMENT
MEDIUMinstall-komari.sh1095# ==========================================================COMMENT
MEDIUMinstall-komari.sh1097# ==========================================================COMMENT
Redundant / Tautological Comments2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡install-komari.sh855# Check if running as rootCOMMENT
LOWinstall-komari.sh898# Check if Komari is already installedCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release.yml140 # Define the binary name for uploadCOMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/generate-release-notes.yml254 function appendCommitsToGeneratedNotes(generatedNotes, baseRef, tag, comparison) {CODE
LOW.github/workflows/generate-release-notes.yml459 async function buildReleaseSummarySection({ tag, release, comparisonBase, whatsChangedSection, comparison, wCODE