AI Slop Code Risk Monitor

crowdsecurity/crowdsec

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

Open-source IDS/IPS, WAF and bot detection for Linux, Windows, Docker and Kubernetes, with a crowdsourced blocklist of malicious IPs.

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for crowdsecurity/crowdsec, a Go project with 15,404 GitHub stars. SynthScan examined 224,888 lines of code across 1407 source files, recording 186 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.1 (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.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
15.4K
Stars
Go
Language
224.9K
Lines of Code
1.4K
Files
186
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.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 5.4/100 · LOW

Which changes need focused human review? 186 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 5HIGH 0MEDIUM 9LOW 172

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 186 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 Block167 hits · 167 pts
SeverityFileLineSnippetContext
LOW.golangci.yml181 - switchCOMMENT
LOW.golangci.yml301 # Default: trueCOMMENT
LOW.golangci.yml321 # Optimizes into strings concatenation.COMMENT
LOW.golangci.yml481 # Mark all exported fields as used.COMMENT
LOW.golangci.yml501 # Suggest the use of time.Month in time.Date.COMMENT
LOWcmd/notification-email/email.yaml41COMMENT
LOWconfig/acquis.yaml1# TODO: explain this file, point to docs, recommend acquis.dCOMMENT
LOWconfig/acquis.yaml21# labels:COMMENT
LOWconfig/profiles.yaml21 - type: banCOMMENT
LOWconfig/detect.yaml1---COMMENT
LOWconfig/detect.yaml101 source: fileCOMMENT
LOWconfig/detect.yaml501 # anti-lockoutCOMMENT
LOWconfig/detect.yaml521# datasource:COMMENT
LOWconfig/detect.yaml541# # XXX this? or /var/log/syslog?COMMENT
LOWconfig/detect.yaml561## This only works on deb-based systems. On other distributions, theCOMMENT
LOWconfig/detect.yaml581 #COMMENT
LOWconfig/detect.yaml601# - Systemd.UnitLogsToJournal("gitea.service")COMMENT
LOWconfig/detect.yaml621# acquisition_spec:COMMENT
LOWconfig/detect.yaml641# datasource:COMMENT
LOWconfig/detect.yaml661# filenames:COMMENT
LOWconfig/detect.yaml681#pureftpd-file:COMMENT
LOWconfig/detect.yaml701# - Systemd.UnitLogsToJournal("vsftpd.service")COMMENT
LOWconfig/detect.yaml721# acquisition_spec:COMMENT
LOW.github/workflows/codeql-analysis.yml1# yamllint disable rule:commentsCOMMENT
LOW.github/workflows/codeql-analysis.yml61 uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1COMMENT
LOWpkg/cwhub/sync.go301// When the item is:COMMENT
LOWpkg/cwhub/doc.go1// Package cwhub is responsible for providing the state of the local hub to the security engine and cscli command.COMMENT
LOWpkg/cwhub/doc.go21// - /etc/crowdsec/hub/.index.jsonCOMMENT
LOWpkg/cwhub/doc.go41// - /var/lib/crowdsec/data/log4j2_cve_2021_44228.txtCOMMENT
LOWpkg/cwhub/doc.go61//COMMENT
LOWpkg/cwhub/doc.go81//COMMENT
LOWpkg/cwhub/doc.go101// if err != nil {COMMENT
LOWpkg/database/ent/machine_query.go301// var v []struct {COMMENT
LOWpkg/database/ent/machine_query.go321//COMMENT
LOWpkg/database/ent/bouncer_query.go261//COMMENT
LOWpkg/database/ent/bouncer_query.go281COMMENT
LOWpkg/database/ent/bouncer_create.go401 _node.AutoCreated = valueCOMMENT
LOWpkg/database/ent/bouncer_create.go1081 }COMMENT
LOWpkg/database/ent/allowlistitem_query.go301// var v []struct {COMMENT
LOWpkg/database/ent/allowlistitem_query.go321//COMMENT
LOWpkg/database/ent/machine_create.go441 for _, k := range nodes {COMMENT
LOWpkg/database/ent/machine_create.go1221// ExecX is like Exec, but panics if an error occurs.COMMENT
LOWpkg/database/ent/alert_create.go721// sql.ResolveWithNewValues(),COMMENT
LOWpkg/database/ent/alert_create.go1021 panic(err)COMMENT
LOWpkg/database/ent/metric_create.go161 return _node, _specCOMMENT
LOWpkg/database/ent/metric_create.go421// ExecX is like Exec, but panics if an error occurs.COMMENT
LOWpkg/database/ent/lock_create.go141// ).COMMENT
LOWpkg/database/ent/lock_create.go361// // Override some of the fields with customCOMMENT
LOWpkg/database/ent/configitem_create.go161 _node.Name = valueCOMMENT
LOWpkg/database/ent/configitem_create.go181// // update values.COMMENT
LOWpkg/database/ent/configitem_create.go441COMMENT
LOWpkg/database/ent/decision_query.go301// CreatedAt time.Time `json:"created_at,omitempty"`COMMENT
LOWpkg/database/ent/meta_query.go301// CreatedAt time.Time `json:"created_at,omitempty"`COMMENT
LOWpkg/database/ent/event_query.go301// CreatedAt time.Time `json:"created_at,omitempty"`COMMENT
LOWpkg/database/ent/configitem_query.go261//COMMENT
LOWpkg/database/ent/configitem_query.go281COMMENT
LOWpkg/database/ent/allowlist_create.go241// client.AllowList.Create().COMMENT
LOWpkg/database/ent/allowlist_create.go581// // the was proposed for insertion.COMMENT
LOWpkg/database/ent/allowlistitem_create.go321// // Update the row with the new valuesCOMMENT
LOWpkg/database/ent/allowlistitem_create.go621// client.AllowListItem.CreateBulk(builders...).COMMENT
107 more matches not shown…
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALpkg/appsec/challenge/fingerprint_mismatch.go39 innerWidth := f.Signals.Device.ScreenResolution.InnerWidth.Int()CODE
CRITICALpkg/appsec/challenge/fingerprint_proto_test.go67 assert.True(t, fp.Signals.Browser.Features.SumPrecise.Bool())CODE
CRITICALpkg/appsec/challenge/js/fpscanner/fpscanner.js48 }`,w=new Blob([h],{type:"application/javascript"});i=URL.createObjectURL(w),n=new Worker(i),o=window.setTimeCODE
CRITICALpkg/apiserver/controllers/controller.go126 jwtAuth.Use(authBodyLimit, c.HandlerV1.Middlewares.JWT.Middleware.MiddlewareFunc(), v1.PrometheusMachinesMiddleware)CODE
CRITICALpkg/apiserver/controllers/controller.go156 eitherAuth.Use(authBodyLimit, eitherAuthMiddleware(c.HandlerV1.Middlewares.JWT.Middleware.MiddlewareFunc(), c.HandlerV1CODE
Decorative Section Separators9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMcmd/notification-email/email.yaml12#-------------------------COMMENT
MEDIUMcmd/notification-splunk/splunk.yaml12#-------------------------COMMENT
MEDIUMcmd/notification-slack/slack.yaml12#-------------------------COMMENT
MEDIUMcmd/notification-sentinel/sentinel.yaml11#-------------------------COMMENT
MEDIUMcmd/notification-http/http.yaml12#-------------------------COMMENT
MEDIUMcmd/notification-dummy/dummy.yaml12#-------------------------COMMENT
MEDIUMconfig/detect.yaml507# ------------------------------------------------COMMENT
MEDIUMconfig/detect.yaml510# ------------------------------------------------COMMENT
MEDIUMpkg/csplugin/testdata/dummy.yaml12#-------------------------COMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOW.golangci.yml81 - godot # Check if comments end in a periodCODE
LOWtest/lib/setup_file.sh192# Check if there's something on stdin by consuming it. Only use this as a wayCOMMENT
LOWconfig/detect.yaml11 # Check if apache2 is installed (enabled or not) or the log files existCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpkg/acquisition/modules/kinesis/run.go357 // TODO: implement exponential backoffCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest/bin/mock-http.py10class RequestHandler(BaseHTTPRequestHandler):CODE