Automated Nginx Reverse Proxy for Docker
This report presents the forensic synthetic code analysis of nginx-proxy/nginx-proxy, a Python project with 19,873 GitHub stars. SynthScan v2.0 examined 9,514 lines of code across 228 source files, recording 140 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 17.1 places this repository in the Moderate 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 140 distinct pattern matches across 6 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 | test/conftest.py | 103 | def get_nginx_proxy_container() -> Container: | CODE |
| LOW | test/conftest.py | 265 | def docker_container_dns_resolver(domain_name: str) -> Optional[str]: | CODE |
| LOW | test/conftest.py | 294 | def monkey_patch_urllib_dns_resolver(): | CODE |
| LOW | test/conftest.py | 337 | def restore_urllib_dns_resolver(getaddrinfo_func): | CODE |
| LOW | test/conftest.py | 341 | def get_nginx_conf_from_container(container: Container) -> bytes: | CODE |
| LOW | test/conftest.py | 356 | def __prepare_and_execute_compose_cmd(compose_files: List[str], project_name: str, cmd: str): | CODE |
| LOW | test/conftest.py | 392 | def wait_for_nginxproxy_to_be_ready(): | CODE |
| LOW | test/conftest.py | 676 | def pytest_runtest_makereport(item, call): | CODE |
| LOW | test/test_resolvers/test_resolvers.py | 17 | def test_user_provided_resolvers_is_honored(docker_compose): | CODE |
| LOW | test/test_resolvers/test_resolvers.py | 24 | def test_resolvers_are_autodetected_when_unset(docker_compose): | CODE |
| LOW | test/test_nominal/test_nominal.py | 7 | def test_unknown_virtual_host(docker_compose, nginxproxy): | CODE |
| LOW | test/test_nominal/test_nominal.py | 33 | def test_container_version_is_displayed(docker_compose, nginxproxy): | CODE |
| LOW | test/test_virtual-proto/test_virtual-proto.py | 5 | def test_upstream_with_https_virtual_proto(docker_compose, nginxproxy, subdomain): | CODE |
| LOW⚡ | …st_acme-http-challenge-location-accept-unknown-host.py | 1 | def test_redirect_acme_challenge_location_enabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …st_acme-http-challenge-location-accept-unknown-host.py | 8 | def test_redirect_acme_challenge_location_disabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …st_acme-http-challenge-location-accept-unknown-host.py | 15 | def test_noredirect_acme_challenge_location_enabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …st_acme-http-challenge-location-accept-unknown-host.py | 22 | def test_noredirect_acme_challenge_location_disabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …st_acme-http-challenge-location-accept-unknown-host.py | 29 | def test_unknown_domain_acme_challenge_location_default_enabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …location/test_acme-http-challenge-location-disabled.py | 1 | def test_redirect_acme_challenge_location_disabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …location/test_acme-http-challenge-location-disabled.py | 8 | def test_redirect_acme_challenge_location_enabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …location/test_acme-http-challenge-location-disabled.py | 15 | def test_noredirect_acme_challenge_location_disabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …location/test_acme-http-challenge-location-disabled.py | 22 | def test_noredirect_acme_challenge_location_enabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …location/test_acme-http-challenge-location-disabled.py | 29 | def test_unknown_domain_acme_challenge_location_disabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …est_acme-http-challenge-location-enabled-is-default.py | 1 | def test_redirect_acme_challenge_location_enabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …est_acme-http-challenge-location-enabled-is-default.py | 8 | def test_redirect_acme_challenge_location_disabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …est_acme-http-challenge-location-enabled-is-default.py | 15 | def test_noredirect_acme_challenge_location_enabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …est_acme-http-challenge-location-enabled-is-default.py | 22 | def test_noredirect_acme_challenge_location_disabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …est_acme-http-challenge-location-enabled-is-default.py | 29 | def test_unknown_domain_acme_challenge_location_default_enabled(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …e-location/test_acme-http-challenge-location-legacy.py | 1 | def test_redirect_acme_challenge_location_legacy(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …e-location/test_acme-http-challenge-location-legacy.py | 8 | def test_noredirect_acme_challenge_location_legacy(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW⚡ | …e-location/test_acme-http-challenge-location-legacy.py | 15 | def test_unknown_domain_acme_challenge_location_legacy(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW | test/test_ssl/test_nohttps.py | 16 | def test_http_acme_challenge_does_not_work(docker_compose, nginxproxy, acme_challenge_path): | CODE |
| LOW | test/test_ssl/test_cert-selection.py | 12 | def test_certificate_selection( | CODE |
| LOW | test/test_ssl/test_mtls-client-certificate.py | 46 | def test_mtls_client_certificates(docker_compose, nginxproxy, clientcerts, description, url, cert, expected_code, expect | CODE |
| LOW | test/test_ssl/test_virtual-path.py | 20 | def test_acme_challenge_does_not_work(docker_compose, nginxproxy, acme_challenge_path, port): | CODE |
| LOW | test/test_ssl/test_redirect_default.py | 15 | def test_default_redirect_by_method( | CODE |
| LOW | test/test_ssl/test_redirect_custom.py | 24 | def test_custom_redirect_by_method( | CODE |
| LOW | test/test_ssl/test_wildcard-cert-nohttps.py | 12 | def test_http_redirects_to_https(docker_compose, nginxproxy, subdomain, should_redirect_to_https): | CODE |
| LOW | test/test_ssl/test_wildcard-cert-nohttps.py | 28 | def test_https_request_to_nohttps_vhost_goes_to_fallback_server(docker_compose, nginxproxy): | CODE |
| LOW | test/test_ssl/test_wildcard-cert-nohttps.py | 43 | def test_acme_challenge_works( | CODE |
| LOW | test/test_ssl/test_dhparam.py | 92 | def can_negotiate_dhe_ciphersuite(sut_container, dh_bits=4096, additional_params=''): | CODE |
| LOW | test/test_ssl/test_dhparam.py | 104 | def cannot_negotiate_dhe_ciphersuite(sut_container): | CODE |
| LOW | test/test_ssl/test_dhparam.py | 128 | def can_verify_chain_of_trust(sut_container, ca_cert, fqdn): | CODE |
| LOW | test/test_ssl/test_dhparam.py | 135 | def should_be_equivalent_content(sut_container, expected, actual): | CODE |
| LOW | test/test_ssl/test_dhparam.py | 177 | def test_can_change_dhparam_group(docker_compose): | CODE |
| LOW | test/test_ssl/test_dhparam.py | 194 | def test_fail_if_dhparam_group_not_supported(docker_compose): | CODE |
| LOW | test/test_ssl/test_dhparam.py | 209 | def test_custom_dhparam_is_supported(docker_compose): | CODE |
| LOW | test/test_ssl/test_dhparam.py | 231 | def test_custom_dhparam_is_supported_per_site(docker_compose, ca_root_certificate): | CODE |
| LOW | test/test_ssl/test_dhparam.py | 272 | def test_can_skip_dhparam_backward_compatibility(docker_compose): | CODE |
| LOW⚡ | test/test_debug-endpoint/test_per-container.py | 6 | def test_debug_endpoint_is_disabled_globally(docker_compose, nginxproxy): | CODE |
| LOW⚡ | test/test_debug-endpoint/test_per-container.py | 13 | def test_debug_endpoint_is_enabled_per_container(docker_compose, nginxproxy): | CODE |
| LOW⚡ | test/test_debug-endpoint/test_per-container.py | 18 | def test_debug_endpoint_response_contains_expected_values(docker_compose, nginxproxy): | CODE |
| LOW | test/test_debug-endpoint/test_global.py | 6 | def test_debug_endpoint_is_enabled_globally(docker_compose, nginxproxy): | CODE |
| LOW | test/test_debug-endpoint/test_global.py | 13 | def test_debug_endpoint_response_contains_expected_values(docker_compose, nginxproxy): | CODE |
| LOW | test/test_debug-endpoint/test_global.py | 24 | def test_debug_endpoint_paths_stripped_if_response_too_long(docker_compose, nginxproxy): | CODE |
| LOW | test/test_debug-endpoint/test_global.py | 36 | def test_debug_endpoint_hostname_replaced_by_warning_if_regexp(docker_compose, nginxproxy): | CODE |
| LOW | test/test_debug-endpoint/test_global.py | 46 | def test_debug_endpoint_is_disabled_per_container(docker_compose, nginxproxy): | CODE |
| LOW | test/test_external-ports/test_multiports-priority.py | 1 | def test_multiports_external_port_takes_precedence_over_virtualhost_external_port(docker_compose, nginxproxy): | CODE |
| LOW | test/test_htpasswd/test_htpasswd-virtual-host.py | 1 | def test_htpasswd_virtual_host_is_restricted(docker_compose, nginxproxy): | CODE |
| LOW | test/test_htpasswd/test_htpasswd-virtual-host.py | 8 | def test_htpasswd_virtual_host_basic_auth(docker_compose, nginxproxy): | CODE |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/certs/create_server_certificate.sh | 24 | # Create a nginx container (which conveniently provides the `openssl` command) | COMMENT |
| MEDIUM | test/certs/create_server_certificate.sh | 138 | # Create a CA root certificate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …t_proxy_protocol/test_proxy-protocol-global-enabled.py | 10 | except Exception as e: | CODE |
| MEDIUM | …t_proxy_protocol/test_proxy-protocol-global-enabled.py | 4 | def test_proxy_protocol_global_enabled_normal_request_fails(docker_compose, ngin | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/pytest.sh | 1 | #!/bin/sh | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/test_ssl/test_mtls-client-certificate.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/requirements/web/webserver.py | 8 | CODE |