AI Slop Code Risk Monitor

linkerd/linkerd2

SlopCodeMonitor badge for linkerd/linkerd2 Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.

0.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for linkerd/linkerd2, a Go project with 11,523 GitHub stars. SynthScan examined 284,916 lines of code across 1170 source files, recording 222 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.8 (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.

0.8
Adjusted Signal
0.8
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
11.5K
Stars
Go
Language
284.9K
Lines of Code
1.2K
Files
222
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 3.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 214 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

Are imports declared and package/API names verified? 4 finding(s).

Agent Over-Engineering Ratio 0.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 4 finding(s).

PR Review Velocity Impact 4.4/100 · LOW

Which changes need focused human review? 222 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 1HIGH 4MEDIUM 4LOW 213

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 222 distinct pattern matches across 11 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.

Over-Commented Block202 hits · 185 pts
SeverityFileLineSnippetContext
LOWtest/integration/deep/opaqueports/assertions.go61COMMENT
LOWtest/integration/deep/appprotocol/assertions.go61COMMENT
LOWtest/integration/viz/stat/stat_test.go21 TestHelper = testutil.NewTestHelper()COMMENT
LOWtest/integration/external/stat/stat_test.go21 TestHelper = testutil.NewTestHelper()COMMENT
LOWpolicy-controller/k8s/api/src/duration.rs181}COMMENT
LOWpolicy-controller/k8s/api/src/duration.rs321 // Rust Durations can handle larger durations than Go'sCOMMENT
LOWpolicy-controller/k8s/api/src/lib.rs41 /// The `TLSRoute` API versions the policy controller knows how to watch,COMMENT
LOWpolicy-controller/k8s/api/src/lib.rs81 /// by Gateway API v1.5 and later. Clusters running v1.2--v1.4, as well asCOMMENT
LOWpolicy-controller/k8s/api/src/external_workload.rs21 /// Ports describes a set of ports exposed by the workloadCOMMENT
LOWpolicy-controller/k8s/api/src/external_workload.rs41/// PortSpec represents a network port in a single workload.COMMENT
LOW…-controller/k8s/api/src/policy/server_authorization.rs41COMMENT
LOWpolicy-controller/k8s/api/src/policy/httproute.rs41COMMENT
LOWpolicy-controller/k8s/api/src/policy/httproute.rs61 /// value: "/foo"COMMENT
LOWpolicy-controller/k8s/api/src/policy/httproute.rs81 ///COMMENT
LOWpolicy-controller/k8s/api/src/policy/httproute.rs101 /// the above criteria.COMMENT
LOWpolicy-controller/k8s/api/src/policy/httproute.rs121 /// Specifying a core filter multiple times has unspecified or customCOMMENT
LOWpolicy-controller/k8s/api/src/policy/httproute.rs141 /// requests that would have otherwise been routed to an invalid backend. IfCOMMENT
LOWpolicy-controller/k8s/api/src/policy/httproute.rs161/// HTTPRouteFilter defines processing steps that must be completed during theCOMMENT
LOWpolicy-controller/k8s/api/src/policy/httproute.rs181 ///COMMENT
LOWpolicy-controller/k8s/api/src/policy/httproute.rs201#[derive(COMMENT
LOWpolicy-controller/k8s/index/src/ports.rs1use anyhow::{bail, Context, Result};COMMENT
LOWpolicy-controller/k8s/index/src/lib.rs1//! The policy controller serves discovery requests from inbound proxies, indicating how the proxyCOMMENT
LOWpolicy-controller/k8s/index/src/inbound/index.rs101 /// may have its own `admin` port.COMMENT
LOWpolicy-controller/k8s/index/src/inbound/index.rs1481impl ExternalWorkload {COMMENT
LOWpolicy-controller/runtime/src/args.rs21COMMENT
LOWcharts/linkerd-control-plane/values.yaml1# Default values for linkerd.COMMENT
LOWcharts/linkerd-control-plane/values.yaml41# proxy (IPv6 routing only available as of proxy-init v2.3.0 and linkerd-cniCOMMENT
LOWcharts/linkerd-control-plane/values.yaml61# requires the linkerd-cni plugin to already be installedCOMMENT
LOWcharts/linkerd-control-plane/values.yaml121 timeoutSeconds: 1COMMENT
LOWcharts/linkerd-control-plane/values.yaml141 disableOutboundProtocolDetectTimeout: falseCOMMENT
LOWcharts/linkerd-control-plane/values.yaml181 # annotation. A cluster-level maximum may be configured here (and aCOMMENT
LOWcharts/linkerd-control-plane/values.yaml221 # -- (int) Optional customisation of the group id under which the proxy runs (the group ID will be omitted if lower thCOMMENT
LOWcharts/linkerd-control-plane/values.yaml241 # - PostgreSQL (5432) server-firstCOMMENT
LOWcharts/linkerd-control-plane/values.yaml321 # -- The interval at which PINGs are issued to local application HTTP/2 clients.COMMENT
LOWcharts/linkerd-control-plane/values.yaml341 kubeAPIServerPorts: "443,6443"COMMENT
LOWcharts/linkerd-control-plane/values.yaml501#identityResources:COMMENT
LOWcharts/linkerd-control-plane/values.yaml541 operator: DoesNotExistCOMMENT
LOWcharts/linkerd-control-plane/values.yaml581#`proxy.resources` for sub-fields)COMMENT
LOWcharts/linkerd-control-plane/values.yaml601 - disabledCOMMENT
LOWcharts/linkerd-control-plane/values.yaml621 # for more information.COMMENT
LOWcharts/linkerd-control-plane/values.yaml661 # See the cert-manager [CA Injector Docs](https://cert-manager.io/docs/concepts/ca-injector) for more information.COMMENT
LOWcharts/linkerd-crds/values.yaml1# -- Controls if Linkerd should install the Gateway API CRDs. This value actsCOMMENT
LOWcharts/linkerd2-cni/values.yaml21# -- User id under which the proxy shall be ranCOMMENT
LOWcharts/linkerd2-cni/values.yaml61COMMENT
LOWcharts/linkerd2-cni/values.yaml81#imagePullSecrets:COMMENT
LOWcli/cmd/install.go481// contains the subset of the values which have been changed from their defaults.COMMENT
LOWcontroller/cmd/heartbeat/main.go21COMMENT
LOWcontroller/gen/apis/externalworkload/v1beta1/types.go61// MeshTls describes TLS settings associated with an external workloadCOMMENT
LOWcontroller/gen/apis/externalworkload/v1beta1/types.go101COMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go61 // Hostnames defines a set of hostname that should match against the HTTPCOMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go81 // not match.COMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go101 // +kubebuilder:validation:MaxItems=16COMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go121 //COMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go141 //COMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go161 // * The Route appearing first in alphabetical order byCOMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go181 //COMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go201 // +kubebuilder:validation:MaxItems=16COMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go221 //COMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go241}COMMENT
LOWcontroller/gen/apis/policy/v1beta3/types.go261//COMMENT
142 more matches not shown…
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…ds/templates/gateway.networking.k8s.io_httproutes.yaml0') && (!has(p2.__namespace__) || p2.__namespace__ ==STRING
HIGH…rds/templates/gateway.networking.k8s.io_tcproutes.yaml0') && (!has(p2.__namespace__) || p2.__namespace__ ==STRING
HIGH…ds/templates/gateway.networking.k8s.io_grpcroutes.yaml0') && (!has(p2.__namespace__) || p2.__namespace__ ==STRING
HIGH…rds/templates/gateway.networking.k8s.io_tlsroutes.yaml0') && (!has(p2.__namespace__) || p2.__namespace__ ==STRING
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtest/integration/install/install_test.go331 "--set", "identity.issuer.crtExpiry=" + root.Cred.Crt.Certificate.NotAfter.Format(time.RFC3339),CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtest/integration/deep/norelay/norelay_test.go24// in an open relay, by trying to leverage the l5d-dst-override header in anCOMMENT
MEDIUMpkg/k8s/k8s.go185// Essentially the reverse of CanonicalResourceNameFromFriendlyNameCOMMENT
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
LOWcontroller/k8s/api.go77// metrics on each one; don't forget to call UnregisterGauges() on the returnedCOMMENT
LOWcontroller/k8s/api.go100// registering metrics on each one; don't forget to call UnregisterGauges() onCOMMENT
LOWcontroller/k8s/api.go162// registering metrics on each one; don't forget to call UnregisterGauges() onCOMMENT
LOWcontroller/k8s/api.go177// registering metrics on each one; don't forget to call UnregisterGauges() onCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMbin/update-codegen.sh32# Create a symlink so that the root of the repo is inside github.com/linkerd/linkerd2.COMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcharts/linkerd-control-plane/values-ha.yaml2# Usage:COMMENT
LOWviz/charts/linkerd-viz/values-ha.yaml2# Usage:COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcharts/linkerd2-cni/values.yaml85# which will further orchestrate the deployments.COMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWpkg/identity/service_test.go36 fakeData := "fake-data"CODE
LOWpkg/tls/ca_test.go14 ca, err := CreateRootCA("fake-name", key, Validity{ValidFrom: &validFrom, Lifetime: issuerCertLifetime})CODE
LOWpkg/tls/ca_test.go57 crt, err := ca.GenerateEndEntityCred("fake-name")CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ination/external-workload/endpoints_controller_test.go910// TODO: Add tests for labels changeCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWviz/charts/linkerd-viz/values.yaml86# Set this to the name of your jaeger instance, e.g. `jaeger.<namespace>.svc.<clusterDomain>:16686`.COMMENT