AI Slop Code Risk Monitor

chaitin/SafeLine

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

SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.

2.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for chaitin/SafeLine, a Go project with 23,126 GitHub stars. SynthScan examined 17,817 lines of code across 162 source files, recording 53 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.8
Adjusted Signal
2.8
Raw Pattern Score
100%
Time Factor
2026-10-22
Last Push
23.1K
Stars
Go
Language
17.8K
Lines of Code
162
Files
53
Pattern Hits
2026-10-31
Scan Date
0.01
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 8.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

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

Agent Over-Engineering Ratio 4.2/100 · LOW

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

PR Review Velocity Impact 16.4/100 · LOW

Which changes need focused human review? 53 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 1MEDIUM 3LOW 49

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

Excessive Try-Catch Wrapping24 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMscripts/manage.py584def get_url(url):CODE
MEDIUMscripts/manage.py673def exec_command(*args,shell=False):CODE
MEDIUMscripts/manage.py681def exec_command_with_loading(*args, cwd=None, env=None):CODE
LOWscripts/manage.py490 except Exception as e:CODE
LOW⚡scripts/manage.py701 except Exception as e:STRING
LOW⚡scripts/manage.py721 except Exception as e:STRING
LOW⚡scripts/manage.py881 except Exception as e:STRING
LOW⚡scripts/manage.py890 except Exception as e:STRING
LOW⚡scripts/manage.py899 except Exception as e:STRING
LOWscripts/manage.py589 except Exception as e:STRING
LOWscripts/manage.py645 except Exception as e:STRING
LOWscripts/manage.py665 except Exception as e:STRING
LOWscripts/manage.py678 except Exception as e:STRING
LOWscripts/manage.py936 except Exception:STRING
LOWscripts/manage.py947 except Exception as e:STRING
LOWscripts/manage.py1151 except Exception as e:STRING
LOWscripts/manage.py1158 except Exception as e:STRING
LOWscripts/manage.py1233 except Exception as e:STRING
LOWscripts/manage.py1279 except Exception as e:STRING
LOWscripts/manage.py1289 except Exception as e:STRING
LOWscripts/manage.py1387 except Exception as e:STRING
LOWscripts/manage.py1427 except Exception as e:STRING
LOWscripts/manage.py1494 except Exception as e:STRING
LOWscripts/manage.py1561 except Exception as e:STRING
Over-Commented Block13 hits · 13 pts
SeverityFileLineSnippetContext
LOWcompose.yaml41 - ${MGT_PORT:-9443}:1443COMMENT
LOWmanagement/webserver/cmd/gen_certs.go21 if err := genClientCACert(); err != nil {COMMENT
LOWmanagement/webserver/api/auth.go41// BootstrapWindowEnv names the environment variable that holds how long theCOMMENT
LOWmanagement/webserver/api/auth.go61COMMENT
LOWmanagement/webserver/api/auth.go201// checkBootstrapWindow returns an error when the window in which the accountCOMMENT
LOWmanagement/webserver/api/auth.go301 // in. It must not hand out a fresh secret on every call, and the secret itCOMMENT
LOWmanagement/webserver/api/common.go21const VersionInfoEntrypoint = "/release/latest/version.json"COMMENT
LOWmanagement/webserver/api/cert.go41)COMMENT
LOWmanagement/webserver/rpc/auth.go21 // tcontrollerd and this server.COMMENT
LOWmanagement/tcontrollerd/config.yml1# develop use only. For production, refer to `package/build/tengine/tcontrollerd/config.yml`COMMENT
LOWmanagement/tcontrollerd/utils/file.go61 return RenameCopyFromIO(bytes.NewReader(data), filename, perm)COMMENT
LOWmanagement/tcontrollerd/controller/validation.go21var (COMMENT
LOWmanagement/tcontrollerd/controller/validation.go41COMMENT
Structural Annotation Overuse6 hits · 9 pts
SeverityFileLineSnippetContext
LOWsdk/ingress-nginx/README.md42### Step 1: Install the pluginCOMMENT
LOWsdk/ingress-nginx/README.md73### Step 2: Configure the pluginCOMMENT
LOWsdk/ingress-nginx/README.md88### Step 3: Configure the ingress-controllerCOMMENT
LOWsdk/ingress-nginx/README.md109### Step 3: Enable the pluginCOMMENT
LOWsdk/ingress-nginx/README.md124### Step 4: Set externalTrafficPolicy to LocalCOMMENT
LOWsdk/ingress-nginx/README.md127### Step 5: Test the pluginCOMMENT
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/manage.py619CODE
LOWscripts/manage.py631CODE
LOWscripts/manage.py681CODE
LOWscripts/manage.py755CODE
LOWscripts/manage.py834CODE
LOWscripts/manage.py909CODE
LOWscripts/manage.py1000CODE
LOWscripts/manage.py1499CODE
Cross-Language Confusion1 hit · 4 pts
SeverityFileLineSnippetContext
HIGH⚡scripts/manage.py711 return exec_command('systemctl enable docker && systemctl daemon-reload && systemctl restart docker',shell=True)STRING
Hyper-Verbose Identifiers1 hit · 0 pts
SeverityFileLineSnippetContext
LOWscripts/manage.py681def exec_command_with_loading(*args, cwd=None, env=None):STRING