Automated Nginx Reverse Proxy for Docker
This report summarizes scanner evidence for nginx-proxy/nginx-proxy, a Python project with 19,923 GitHub stars. SynthScan examined 9,638 lines of code across 234 source files, recording 147 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 18.8 (Elevated 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.
Can maintainers explain intent, assumptions, and trade-offs? 141 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 142 finding(s).
Which changes need focused human review? 147 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 147 distinct pattern matches across 7 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 | 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 |
| 77 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/test_events/test_events.py | 30 | except NotFound: | CODE |
| HIGH | test/test_events/test_events.py | 55 | except NotFound: | CODE |
| HIGH | test/test_virtual-path/test_virtual-paths.py | 48 | except NotFound: | CODE |
| 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 |