Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
This report presents the forensic synthetic code analysis of caddyserver/caddy, a Go project with 74,006 GitHub stars. SynthScan v2.0 examined 109,563 lines of code across 391 source files, recording 526 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 5.0 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 526 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | usagepool.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | usagepool.go | 21 | ) | COMMENT |
| LOW | usagepool.go | 41 | // their lifespan. This is helpful, for example, when | COMMENT |
| LOW | listeners.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | listeners.go | 41 | // NetworkAddress represents one or more network addresses. | COMMENT |
| LOW | listeners.go | 101 | } | COMMENT |
| LOW | listeners.go | 121 | // listeners, be sure to Close() them when you are done. | COMMENT |
| LOW | listeners.go | 701 | // ListenerFunc is a function that can return a listener given a network and address. | COMMENT |
| LOW | listeners.go | 721 | COMMENT | |
| LOW | logging.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | logging.go | 41 | // Logging facilitates logging within Caddy. The default log is | COMMENT |
| LOW | logging.go | 61 | // servers. | COMMENT |
| LOW | logging.go | 461 | COMMENT | |
| LOW | caddy_test.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | sigtrap.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | service_windows.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | replacer_fuzz.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | filesystem.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | admin_test.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | logging_test.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | listeners_fuzz.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | context_test.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | storage.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | storage.go | 101 | } | COMMENT |
| LOW | modules_test.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | filepath_windows.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | admin.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | admin.go | 61 | // The environment variable may be used by packagers to change | COMMENT |
| LOW | admin.go | 81 | // Default: the value of the `CADDY_ADMIN` environment variable, | COMMENT |
| LOW | admin.go | 101 | // set, the listener address will be the default value. If set but | COMMENT |
| LOW | admin.go | 121 | // EXPERIMENTAL: This feature is subject to change. | COMMENT |
| LOW | admin.go | 141 | COMMENT | |
| LOW | admin.go | 161 | Identifiers []string `json:"identifiers,omitempty"` | COMMENT |
| LOW | admin.go | 181 | type RemoteAdmin struct { | COMMENT |
| LOW | admin.go | 301 | uniqueOrigins := make(map[string]struct{}) | COMMENT |
| LOW | admin.go | 321 | // so, because: | COMMENT |
| LOW | admin.go | 361 | } | COMMENT |
| LOW | context.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | context.go | 141 | // pointer and returns the loaded module(s). The struct pointer and its field name as | COMMENT |
| LOW | context.go | 161 | // in the "http.handlers" namespace, you'd put: `namespace=http.handlers` in the | COMMENT |
| LOW | context.go | 461 | } | COMMENT |
| LOW | context.go | 561 | // Originally, this method's signature was `Logger(mod Module)`, | COMMENT |
| LOW | listen_unix.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | listen_reuseUnixSocket_windows.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | replacer.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | replacer_test.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | sigtrap_nonposix.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | caddy.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | caddy.go | 41 | COMMENT | |
| LOW | caddy.go | 61 | // have good, documented default values. If a parameter is required, the docs | COMMENT |
| LOW | caddy.go | 141 | return err | COMMENT |
| LOW | caddy.go | 401 | COMMENT | |
| LOW | caddy.go | 481 | // If `newCfg` is nil a new empty configuration will be created. | COMMENT |
| LOW | caddy.go | 941 | } | COMMENT |
| LOW | caddy.go | 961 | // of "caddy". | COMMENT |
| LOW | caddy.go | 981 | // | COMMENT |
| LOW | caddy.go | 1101 | COMMENT | |
| LOW | caddy.go | 1201 | } | COMMENT |
| LOW | duration_fuzz.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| LOW | listeners_test.go | 1 | // Copyright 2015 Matthew Holt and The Caddy Authors | COMMENT |
| 443 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | listeners.go | 395 | // port to take advantage of standard library's robust parser, then | COMMENT |
| MEDIUM | caddyconfig/httpcaddyfile/addresses.go | 192 | // Identical entries are deleted from the addrToServerBlocks map. Essentially, each pairing (each | COMMENT |
| MEDIUM | modules/caddyhttp/app.go | 41 | // App is a robust, production-ready HTTP server. | COMMENT |
| MEDIUM⚡ | …ddyhttp/encode/testdata/caddy_config_http_servers.json | 1 | {"status_code":200,"result":{"structure":{"type":"map","map_keys":{"type":"string"},"elems":{"type":"struct","type_name" | CODE |
| MEDIUM⚡ | …ddyhttp/encode/testdata/caddy_config_http_servers.json | 1 | {"status_code":200,"result":{"structure":{"type":"map","map_keys":{"type":"string"},"elems":{"type":"struct","type_name" | CODE |
| MEDIUM⚡ | …ddyhttp/encode/testdata/caddy_config_http_servers.json | 1 | {"status_code":200,"result":{"structure":{"type":"map","map_keys":{"type":"string"},"elems":{"type":"struct","type_name" | CODE |
| LOW⚡ | …ddyhttp/encode/testdata/caddy_config_http_servers.json | 1 | {"status_code":200,"result":{"structure":{"type":"map","map_keys":{"type":"string"},"elems":{"type":"struct","type_name" | CODE |
| MEDIUM⚡ | …ddyhttp/encode/testdata/caddy_config_http_servers.json | 1 | {"status_code":200,"result":{"structure":{"type":"map","map_keys":{"type":"string"},"elems":{"type":"struct","type_name" | CODE |
| LOW | modules/caddyhttp/headers/headers.go | 320 | // see issue #4330 for why we don't simply use hdr[fieldName] | COMMENT |
| MEDIUM | modules/caddytls/ech.go | 412 | // TODO: Potentially utilize the timestamp (map value) for recent-enough publication, instead of just checking for | COMMENT |
| MEDIUM | modules/caddytls/tls.go | 497 | // It's a bit nuanced: managed certs can sometimes be different enough that we have to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/caddyhttp/encode/testdata/caddy_home.html | 1311 | <div title="Don't forget to sign our guestbook!"><img alt="0" title="Hit counter" src="data:image/png;base64,iVBORw0K | CODE |
| MEDIUM⚡ | …ddyhttp/encode/testdata/caddy_config_http_servers.json | 1 | {"status_code":200,"result":{"structure":{"type":"map","map_keys":{"type":"string"},"elems":{"type":"struct","type_name" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/release.yml | 238 | # Check if commits match (if proposal had a target commit) | COMMENT |
| LOW | .github/workflows/release-proposal.yml | 61 | # Check if commit exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/release-proposal.yml | 135 | # Create a new branch for the release proposal | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/caddyhttp/reverseproxy/fastcgi/client.go | 132 | // keepAlive bool // TODO: implement | COMMENT |
| LOW | modules/caddypki/maintain.go | 71 | // TODO: implement root renewal (use same key) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/caddyhttp/templates/tplcontext.go | 516 | // NOTE: This function is EXPERIMENTAL and subject to change or removal. | COMMENT |
| LOW | modules/caddyhttp/templates/templates.go | 368 | // NOTE: This function is EXPERIMENTAL and subject to change or removal. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | replacer_test.go | 510 | name: "placeholder", | CODE |
| LOW | modules/caddyhttp/templates/tplcontext.go | 90 | "placeholder": c.funcPlaceholder, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/caddyhttp/rewrite/rewrite.go | 218 | // before continuing, we need to check if a query string | COMMENT |