A toolkit for developing high-performance HTTP reverse proxy applications.
This report summarizes scanner evidence for dotnet/yarp, a C# project with 9,646 GitHub stars. SynthScan examined 83,726 lines of code across 926 source files, recording 214 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 3.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? 205 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 11 finding(s).
Which changes need focused human review? 214 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 214 distinct pattern matches across 12 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 | eng/common/SetupNugetSources.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | eng/common/vmr-sync.sh | 1 | #!/bin/bash | COMMENT |
| LOW | eng/common/vmr-sync.sh | 21 | ### | COMMENT |
| LOW | eng/common/native/init-distro-rid.sh | 1 | #!/bin/sh | COMMENT |
| LOW | eng/common/native/init-distro-rid.sh | 61 | COMMENT | |
| LOW | …common/templates-official/variables/pool-providers.yml | 1 | # Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool | COMMENT |
| LOW | eng/common/templates/vmr-build-pr.yml | 1 | # This pipeline is used for running the VMR verification of the PR changes in repo-level PRs. | COMMENT |
| LOW | eng/common/templates/variables/pool-providers.yml | 1 | # Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool | COMMENT |
| LOW | eng/common/core-templates/stages/renovate.yml | 1 | # -------------------------------------------------------------------------------------- | COMMENT |
| LOW | …g/common/core-templates/steps/get-github-app-token.yml | 1 | # Mints a short-lived GitHub App installation access token by signing a JWT | COMMENT |
| LOW | eng/common/core-templates/steps/install-microbuild.yml | 1 | parameters: | COMMENT |
| LOW | eng/common/core-templates/job/renovate.yml | 1 | # -------------------------------------------------------------------------------------- | COMMENT |
| LOW | eng/common/core-templates/job/source-build.yml | 1 | parameters: | COMMENT |
| LOW | eng/common/core-templates/job/source-build.yml | 21 | # published by source-build. | COMMENT |
| LOW | test/Tests.Common/TestTimeProvider.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | samples/ReverseProxy.Direct.Sample/Program.cs | 81 | { | COMMENT |
| LOW | src/Kubernetes.Controller/NamespacedName.cs | 41 | COMMENT | |
| LOW | src/Kubernetes.Controller/NamespacedName.cs | 61 | { | COMMENT |
| LOW | src/Kubernetes.Controller/Rate/Limit.cs | 21 | /// <summary> | COMMENT |
| LOW | src/Kubernetes.Controller/Rate/Limit.cs | 61 | /// https://github.com/golang/time/blob/master/rate/rate.go#L396. | COMMENT |
| LOW | src/Kubernetes.Controller/Rate/Limiter.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/Kubernetes.Controller/Rate/Limiter.cs | 21 | /// The zero value is a valid Limiter, but it will reject all events. | COMMENT |
| LOW | src/Kubernetes.Controller/Rate/Limiter.cs | 81 | COMMENT | |
| LOW | src/Kubernetes.Controller/Rate/Limiter.cs | 101 | } | COMMENT |
| LOW | …ment/KubernetesReverseProxyWebHostBuilderExtensions.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …t/KubernetesReverseProxyServiceCollectionExtensions.cs | 21 | COMMENT | |
| LOW | src/Kubernetes.Controller/Converters/YarpParser.cs | 301 | if (annotations.TryGetValue("yarp.ingress.kubernetes.io/route-methods", out var routeMethods)) | COMMENT |
| LOW | ….Controller/Certificates/IServerCertificateSelector.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | ….Controller/Certificates/IServerCertificateSelector.cs | 21 | COMMENT | |
| LOW | …bernetes.Controller/Hosting/BackgroundHostedService.cs | 121 | } | COMMENT |
| LOW | …ing/ServiceCollectionHostedServiceAdapterExtensions.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/Kubernetes.Controller/Queues/IWorkQueue.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/Kubernetes.Controller/Queues/IWorkQueue.cs | 21 | /// Adds the specified item. | COMMENT |
| LOW | src/Kubernetes.Controller/Queues/IWorkQueue.cs | 41 | /// processing is complete. | COMMENT |
| LOW | src/Kubernetes.Controller/Client/IResourceInformer.cs | 21 | /// <summary> | COMMENT |
| LOW | src/Kubernetes.Controller/Client/IResourceInformer.cs | 41 | IResourceInformerRegistration Register(ResourceInformerCallback<TResource> callback); | COMMENT |
| LOW | src/Kubernetes.Controller/Client/IResourceInformer.cs | 61 | /// Registers a callback for change notification. To ensure no events are missed the registration | COMMENT |
| LOW | …tes.Controller/Client/IResourceInformerRegistration.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/ReverseProxy/Configuration/ClusterConfig.cs | 21 | COMMENT | |
| LOW | src/ReverseProxy/Configuration/SessionAffinityConfig.cs | 21 | /// </summary> | COMMENT |
| LOW | …/ReverseProxy/Configuration/ActiveHealthCheckConfig.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …/ReverseProxy/Configuration/ActiveHealthCheckConfig.cs | 21 | public TimeSpan? Interval { get; init; } | COMMENT |
| LOW | src/ReverseProxy/Configuration/RouteQueryParameter.cs | 21 | /// <summary> | COMMENT |
| LOW | src/ReverseProxy/Configuration/IProxyConfigProvider.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/ReverseProxy/Configuration/WebProxyConfig.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/ReverseProxy/Configuration/RouteMatch.cs | 21 | /// Only match requests with the given Host header. | COMMENT |
| LOW | src/ReverseProxy/Configuration/HttpClientConfig.cs | 21 | /// <summary> | COMMENT |
| LOW | src/ReverseProxy/Configuration/HttpClientConfig.cs | 41 | COMMENT | |
| LOW | src/ReverseProxy/Configuration/HttpClientConfig.cs | 61 | /// <remarks> | COMMENT |
| LOW | src/ReverseProxy/Configuration/IConfigChangeListener.cs | 21 | /// <summary> | COMMENT |
| LOW | …erseProxy/Configuration/SessionAffinityCookieConfig.cs | 21 | /// <summary> | COMMENT |
| LOW | …erseProxy/Configuration/SessionAffinityCookieConfig.cs | 41 | /// <remarks>Defaults to <see cref="SameSiteMode.Unspecified"/>.</remarks> | COMMENT |
| LOW | src/ReverseProxy/Configuration/RouteHeader.cs | 21 | /// <summary> | COMMENT |
| LOW | …/ReverseProxy/Configuration/QueryParameterMatchMode.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …/ReverseProxy/Configuration/QueryParameterMatchMode.cs | 21 | /// Only single query parameter name supported. If there are multiple query parameters with the same name then the m | COMMENT |
| LOW | src/ReverseProxy/Configuration/IProxyConfigFilter.cs | 21 | /// <summary> | COMMENT |
| LOW | src/ReverseProxy/Configuration/HealthCheckConfig.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/ReverseProxy/Configuration/RouteConfig.cs | 21 | /// </summary> | COMMENT |
| LOW | src/ReverseProxy/Configuration/RouteConfig.cs | 41 | /// <summary> | COMMENT |
| LOW | src/ReverseProxy/Configuration/RouteConfig.cs | 61 | public string? OutputCachePolicy { get; init; } | COMMENT |
| 113 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | eng/common/core-templates/stages/renovate.yml | 1 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/stages/renovate.yml | 3 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/stages/renovate.yml | 9 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/job/renovate.yml | 1 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/job/renovate.yml | 3 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | eng/common/core-templates/job/renovate.yml | 17 | # -------------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/tools.sh | 333 | # Check if the script is older than 30 days using timestamp file | COMMENT |
| LOW | eng/common/tools.sh | 442 | # Check if the toolset has already been extracted | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 66 | # Check if disabledPackageSources section exists | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 72 | # Check if this source name is disabled | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 92 | # Check if source already exists | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 122 | # Check if disabledPackageSources section exists | COMMENT |
| LOW | eng/common/SetupNugetSources.sh | 192 | # Check if there is no existing credential for this FeedName | COMMENT |
| LOW | eng/common/core-templates/steps/source-build.yml | 31 | # Check if AzDO substitutes in a build config from a variable, and use it if so. | COMMENT |
| LOW | eng/common/core-templates/steps/install-microbuild.yml | 64 | # Check if ESRP is disabled while SignType is real | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/ReverseProxy/Management/ProxyConfigManager.cs | 844 | // Step 1 - capture old token | COMMENT |
| LOW⚡ | src/ReverseProxy/Management/ProxyConfigManager.cs | 847 | // Step 2 - update endpoints | COMMENT |
| LOW⚡ | src/ReverseProxy/Management/ProxyConfigManager.cs | 850 | // Step 3 - create new change token | COMMENT |
| LOW⚡ | src/ReverseProxy/Management/ProxyConfigManager.cs | 854 | // Step 4 - trigger old token | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/native/install-dependencies.sh | 7 | # Usage: | COMMENT |
| LOW | …common/templates-official/variables/pool-providers.yml | 12 | # How to use: | COMMENT |
| LOW | eng/common/templates/variables/pool-providers.yml | 12 | # How to use: | COMMENT |
| LOW⚡ | eng/common/core-templates/job/renovate.yml | 11 | # Usage: | COMMENT |
| LOW | src/Kubernetes.Controller/Rate/Limiter.cs | 107 | /// Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/cross/install-debs.py | 20 | CODE | |
| LOW | eng/common/cross/install-debs.py | 198 | CODE | |
| LOW | eng/common/cross/install-debs.py | 223 | CODE | |
| LOW | eng/common/cross/install-debs.py | 261 | CODE | |
| LOW | eng/common/cross/install-debs.py | 295 | CODE | |
| LOW | eng/common/cross/install-debs.py | 350 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | eng/common/cross/build-rootfs.sh | 693 | # Create the symlink in the same directory | COMMENT |
| MEDIUM | eng/common/core-templates/job/helix-job-monitor.yml | 214 | # Create a minimal NuGet.config that only references the local nupkg directory. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | eng/common/cross/install-debs.py | 128 | # keyboxd, which makes it robust on hosts running GnuPG 2.4+ (e.g. Azure | COMMENT |
| LOW | …ommon/core-templates/steps/enable-internal-sources.yml | 34 | # If running on dnceng (internal project), just use the default behavior for NuGetAuthenticate. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | eng/common/cross/install-debs.py | 44 | print(f"Error downloading {url}: {type(e).__name__} - {e}. Retrying...") | CODE |
| MEDIUM | eng/common/cross/install-debs.py | 208 | print(f"Error: Package '{current}' was not found in the available packages.") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/cross/install-debs.py | 51 | async def download_deb_files_parallel(mirror, packages, tmp_dir): | CODE |
| LOW | eng/common/cross/install-debs.py | 67 | async def download_package_index_parallel(mirror, arch, suites, check_sig, keyring): | CODE |
| LOW | eng/common/cross/install-debs.py | 339 | def _rootfs_extraction_filter(member, dest_path): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | samples/ReverseProxy.Code.Sample/Program.cs | 35 | // Don't forget to include these two middleware when you make a custom proxy pipeline (if you need them). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/cross/install-debs.py | 18 | CODE |