Open-source IDS/IPS, WAF and bot detection for Linux, Windows, Docker and Kubernetes, with a crowdsourced blocklist of malicious IPs.
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.
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? 172 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 10 finding(s).
Which changes need focused human review? 186 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .golangci.yml | 181 | - switch | COMMENT |
| LOW | .golangci.yml | 301 | # Default: true | COMMENT |
| LOW | .golangci.yml | 321 | # Optimizes into strings concatenation. | COMMENT |
| LOW | .golangci.yml | 481 | # Mark all exported fields as used. | COMMENT |
| LOW | .golangci.yml | 501 | # Suggest the use of time.Month in time.Date. | COMMENT |
| LOW | cmd/notification-email/email.yaml | 41 | COMMENT | |
| LOW | config/acquis.yaml | 1 | # TODO: explain this file, point to docs, recommend acquis.d | COMMENT |
| LOW | config/acquis.yaml | 21 | # labels: | COMMENT |
| LOW | config/profiles.yaml | 21 | - type: ban | COMMENT |
| LOW | config/detect.yaml | 1 | --- | COMMENT |
| LOW | config/detect.yaml | 101 | source: file | COMMENT |
| LOW | config/detect.yaml | 501 | # anti-lockout | COMMENT |
| LOW | config/detect.yaml | 521 | # datasource: | COMMENT |
| LOW | config/detect.yaml | 541 | # # XXX this? or /var/log/syslog? | COMMENT |
| LOW | config/detect.yaml | 561 | ## This only works on deb-based systems. On other distributions, the | COMMENT |
| LOW | config/detect.yaml | 581 | # | COMMENT |
| LOW | config/detect.yaml | 601 | # - Systemd.UnitLogsToJournal("gitea.service") | COMMENT |
| LOW | config/detect.yaml | 621 | # acquisition_spec: | COMMENT |
| LOW | config/detect.yaml | 641 | # datasource: | COMMENT |
| LOW | config/detect.yaml | 661 | # filenames: | COMMENT |
| LOW | config/detect.yaml | 681 | #pureftpd-file: | COMMENT |
| LOW | config/detect.yaml | 701 | # - Systemd.UnitLogsToJournal("vsftpd.service") | COMMENT |
| LOW | config/detect.yaml | 721 | # acquisition_spec: | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # yamllint disable rule:comments | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 61 | uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 | COMMENT |
| LOW | pkg/cwhub/sync.go | 301 | // When the item is: | COMMENT |
| LOW | pkg/cwhub/doc.go | 1 | // Package cwhub is responsible for providing the state of the local hub to the security engine and cscli command. | COMMENT |
| LOW | pkg/cwhub/doc.go | 21 | // - /etc/crowdsec/hub/.index.json | COMMENT |
| LOW | pkg/cwhub/doc.go | 41 | // - /var/lib/crowdsec/data/log4j2_cve_2021_44228.txt | COMMENT |
| LOW | pkg/cwhub/doc.go | 61 | // | COMMENT |
| LOW | pkg/cwhub/doc.go | 81 | // | COMMENT |
| LOW | pkg/cwhub/doc.go | 101 | // if err != nil { | COMMENT |
| LOW | pkg/database/ent/machine_query.go | 301 | // var v []struct { | COMMENT |
| LOW | pkg/database/ent/machine_query.go | 321 | // | COMMENT |
| LOW | pkg/database/ent/bouncer_query.go | 261 | // | COMMENT |
| LOW | pkg/database/ent/bouncer_query.go | 281 | COMMENT | |
| LOW | pkg/database/ent/bouncer_create.go | 401 | _node.AutoCreated = value | COMMENT |
| LOW | pkg/database/ent/bouncer_create.go | 1081 | } | COMMENT |
| LOW | pkg/database/ent/allowlistitem_query.go | 301 | // var v []struct { | COMMENT |
| LOW | pkg/database/ent/allowlistitem_query.go | 321 | // | COMMENT |
| LOW | pkg/database/ent/machine_create.go | 441 | for _, k := range nodes { | COMMENT |
| LOW | pkg/database/ent/machine_create.go | 1221 | // ExecX is like Exec, but panics if an error occurs. | COMMENT |
| LOW | pkg/database/ent/alert_create.go | 721 | // sql.ResolveWithNewValues(), | COMMENT |
| LOW | pkg/database/ent/alert_create.go | 1021 | panic(err) | COMMENT |
| LOW | pkg/database/ent/metric_create.go | 161 | return _node, _spec | COMMENT |
| LOW | pkg/database/ent/metric_create.go | 421 | // ExecX is like Exec, but panics if an error occurs. | COMMENT |
| LOW | pkg/database/ent/lock_create.go | 141 | // ). | COMMENT |
| LOW | pkg/database/ent/lock_create.go | 361 | // // Override some of the fields with custom | COMMENT |
| LOW | pkg/database/ent/configitem_create.go | 161 | _node.Name = value | COMMENT |
| LOW | pkg/database/ent/configitem_create.go | 181 | // // update values. | COMMENT |
| LOW | pkg/database/ent/configitem_create.go | 441 | COMMENT | |
| LOW | pkg/database/ent/decision_query.go | 301 | // CreatedAt time.Time `json:"created_at,omitempty"` | COMMENT |
| LOW | pkg/database/ent/meta_query.go | 301 | // CreatedAt time.Time `json:"created_at,omitempty"` | COMMENT |
| LOW | pkg/database/ent/event_query.go | 301 | // CreatedAt time.Time `json:"created_at,omitempty"` | COMMENT |
| LOW | pkg/database/ent/configitem_query.go | 261 | // | COMMENT |
| LOW | pkg/database/ent/configitem_query.go | 281 | COMMENT | |
| LOW | pkg/database/ent/allowlist_create.go | 241 | // client.AllowList.Create(). | COMMENT |
| LOW | pkg/database/ent/allowlist_create.go | 581 | // // the was proposed for insertion. | COMMENT |
| LOW | pkg/database/ent/allowlistitem_create.go | 321 | // // Update the row with the new values | COMMENT |
| LOW | pkg/database/ent/allowlistitem_create.go | 621 | // client.AllowListItem.CreateBulk(builders...). | COMMENT |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | pkg/appsec/challenge/fingerprint_mismatch.go | 39 | innerWidth := f.Signals.Device.ScreenResolution.InnerWidth.Int() | CODE |
| CRITICAL | pkg/appsec/challenge/fingerprint_proto_test.go | 67 | assert.True(t, fp.Signals.Browser.Features.SumPrecise.Bool()) | CODE |
| CRITICAL | pkg/appsec/challenge/js/fpscanner/fpscanner.js | 48 | }`,w=new Blob([h],{type:"application/javascript"});i=URL.createObjectURL(w),n=new Worker(i),o=window.setTime | CODE |
| CRITICAL | pkg/apiserver/controllers/controller.go | 126 | jwtAuth.Use(authBodyLimit, c.HandlerV1.Middlewares.JWT.Middleware.MiddlewareFunc(), v1.PrometheusMachinesMiddleware) | CODE |
| CRITICAL | pkg/apiserver/controllers/controller.go | 156 | eitherAuth.Use(authBodyLimit, eitherAuthMiddleware(c.HandlerV1.Middlewares.JWT.Middleware.MiddlewareFunc(), c.HandlerV1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/notification-email/email.yaml | 12 | #------------------------- | COMMENT |
| MEDIUM | cmd/notification-splunk/splunk.yaml | 12 | #------------------------- | COMMENT |
| MEDIUM | cmd/notification-slack/slack.yaml | 12 | #------------------------- | COMMENT |
| MEDIUM | cmd/notification-sentinel/sentinel.yaml | 11 | #------------------------- | COMMENT |
| MEDIUM | cmd/notification-http/http.yaml | 12 | #------------------------- | COMMENT |
| MEDIUM | cmd/notification-dummy/dummy.yaml | 12 | #------------------------- | COMMENT |
| MEDIUM | config/detect.yaml | 507 | # ------------------------------------------------ | COMMENT |
| MEDIUM | config/detect.yaml | 510 | # ------------------------------------------------ | COMMENT |
| MEDIUM | pkg/csplugin/testdata/dummy.yaml | 12 | #------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .golangci.yml | 81 | - godot # Check if comments end in a period | CODE |
| LOW | test/lib/setup_file.sh | 192 | # Check if there's something on stdin by consuming it. Only use this as a way | COMMENT |
| LOW | config/detect.yaml | 11 | # Check if apache2 is installed (enabled or not) or the log files exist | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/acquisition/modules/kinesis/run.go | 357 | // TODO: implement exponential backoff | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/bin/mock-http.py | 10 | class RequestHandler(BaseHTTPRequestHandler): | CODE |