AI Slop Code Risk Monitor

kubernetes-sigs/kubespray

SlopCodeMonitor badge for kubernetes-sigs/kubespray Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Deploy a Production Ready Kubernetes Cluster

3.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for kubernetes-sigs/kubespray, a Jinja project with 18,806 GitHub stars. SynthScan examined 52,090 lines of code across 832 source files, recording 180 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 3.7 (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.

3.7
Adjusted Signal
3.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
18.8K
Stars
Jinja
Language
52.1K
Lines of Code
832
Files
180
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 16.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/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 16.7/100 · LOW

Which changes need focused human review? 180 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 0HIGH 0MEDIUM 5LOW 175

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 180 distinct pattern matches across 8 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 Block154 hits · 154 pts
SeverityFileLineSnippetContext
LOWtests/scripts/vagrant-install.sh1#!/bin/bashCOMMENT
LOWtests/scripts/vagrant-install.sh21# echo \COMMENT
LOWtests/scripts/vagrant-install.sh41PYTHONDONTWRITEBYTECODE=1COMMENT
LOWtests/files/custom_cni/cilium.yaml41 # nodes by setting how they are stored. The options are "crd", "kvstore" orCOMMENT
LOWtests/files/custom_cni/cilium.yaml81 # address.COMMENT
LOWtests/files/custom_cni/cilium.yaml101COMMENT
LOWtests/files/custom_cni/cilium.yaml121 bpf-lb-algorithm-annotation: "false"COMMENT
LOWtests/files/custom_cni/cilium.yaml141 #COMMENT
LOW…es/kubernetes-apps/csi_driver/cinder/defaults/main.yml21cinder_domain_id: "{{ lookup('env', 'OS_USER_DOMAIN_ID') }}"COMMENT
LOWroles/kubernetes-apps/ansible/defaults/main.yml41# localCOMMENT
LOWroles/kubernetes-apps/ansible/defaults/main.yml81# dns_autoscaler_extra_tolerations: [{effect: NoSchedule, operator: "Exists"}]COMMENT
LOWroles/network_plugin/flannel/defaults/main.yml1---COMMENT
LOWroles/network_plugin/cilium/defaults/main.yml41# Optional featuresCOMMENT
LOWroles/network_plugin/cilium/defaults/main.yml61# Auto direct nodes routes can be used to advertise pods routes in your clusterCOMMENT
LOWroles/network_plugin/cilium/defaults/main.yml161 includeFilters: []COMMENT
LOWroles/network_plugin/cilium/defaults/main.yml181COMMENT
LOWroles/network_plugin/cilium/defaults/main.yml241COMMENT
LOWroles/network_plugin/cilium/defaults/main.yml261cilium_bpf_map_dynamic_size_ratio: "0.0025"COMMENT
LOWroles/kubespray_defaults/vars/main/main.yml101#COMMENT
LOWroles/kubespray_defaults/defaults/main/download.yml1---COMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml221# Deploy cilium even if kube_network_plugin is not cilium.COMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml241# https://docs.cilium.io/en/stable/concepts/networking/ipam/COMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml261# - kube_pods_subnet: 10.233.64.0/18COMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml281# This is only used if ipv6_stack is set to trueCOMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml321kube_profiling: falseCOMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml401## A list of insecure docker registries (IP address or domain name), for exampleCOMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml481COMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml521COMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml541kube_apiserver_authentication_config_jwt: []COMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml561COMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml581# type: KubeConfigFileCOMMENT
LOWroles/kubespray_defaults/defaults/main/main.yml621# - { name: vm.swappiness, value: 10 }COMMENT
LOWroles/bootstrap_os/defaults/main.yml1---COMMENT
LOWroles/etcd_defaults/defaults/main.yml41COMMENT
LOWroles/etcd_defaults/defaults/main.yml81# Maximum number of snapshot files to retain (0 is unlimited)COMMENT
LOWroles/etcd_defaults/defaults/main.yml101# - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHACOMMENT
LOWroles/kubernetes/preinstall/defaults/main.yml41# Specify whether to filter interfacesCOMMENT
LOWroles/kubernetes/node/defaults/main.yml101# Uncomment if you need to enable deprecated runtimesCOMMENT
LOWroles/kubernetes/node/defaults/main.yml141COMMENT
LOWroles/kubernetes/node/defaults/main.yml161# - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256COMMENT
LOWroles/kubernetes/kubeadm_common/defaults/main.yml1---COMMENT
LOW…/kubernetes/control-plane/defaults/main/kube-proxy.yml61kube_proxy_min_sync_period: 0sCOMMENT
LOWroles/kubernetes/control-plane/defaults/main/main.yml61# Scale down coredns replicas to 0 if not using coredns dns_modeCOMMENT
LOWroles/kubernetes/control-plane/defaults/main/main.yml181## To use OpenID you have to deploy additional an OpenID Provider (e.g Dex, Keycloak, ...)COMMENT
LOWroles/kubernetes/control-plane/defaults/main/main.yml221COMMENT
LOWroles/kubernetes/control-plane/defaults/main/main.yml241# - TLS_ECDHE_RSA_WITH_RC4_128_SHACOMMENT
LOWroles/container-engine/containerd/defaults/main.yml81containerd_cfg_dir: /etc/containerdCOMMENT
LOWroles/container-engine/cri-o/defaults/main.yml21# mirrors:COMMENT
LOWdocs/calico_peer_example/new-york.yml1# ---COMMENT
LOWdocs/calico_peer_example/paris.yml1# ---COMMENT
LOWcontrib/terraform/terraform.py1#!/usr/bin/env python3COMMENT
LOWinventory/sample/inventory.ini1# This inventory describe a HA typology with stacked etcd (== same nodes as control plane)COMMENT
LOWinventory/sample/group_vars/kube_control_plane.yml1# Reservation for control plane kubernetes componentsCOMMENT
LOWinventory/sample/group_vars/all/azure.yml1## When azure is used, you need to also set the following variables.COMMENT
LOWinventory/sample/group_vars/all/azure.yml21## Azure Disk CSI credentials and parametersCOMMENT
LOWinventory/sample/group_vars/all/cri-o.yml1# Registries defined within cri-o.COMMENT
LOWinventory/sample/group_vars/all/hcloud.yml1## Values for the external Hcloud Cloud ControllerCOMMENT
LOWinventory/sample/group_vars/all/hcloud.yml21# load_balancers_enabled:COMMENT
LOWinventory/sample/group_vars/all/containerd.yml1---COMMENT
LOWinventory/sample/group_vars/all/containerd.yml21# options:COMMENT
94 more matches not shown…
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/terraform/aws/modules/nlb/main.tf1# Create a new AWS NLB for K8S APICOMMENT
MEDIUMcontrib/terraform/aws/modules/nlb/main.tf14# Create a new AWS NLB Instance Target GroupCOMMENT
MEDIUMcontrib/terraform/aws/modules/nlb/main.tf31# Create a new AWS NLB Listener listen to target groupCOMMENT
MEDIUM…b/terraform/upcloud/modules/kubernetes-cluster/main.tf2 # Create a list of all disks to createCOMMENT
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWroles/kubespray_defaults/defaults/main/main.yml9# Check if access_ip responds to ping. Set false if your firewall blocks ICMP.COMMENT
LOWcontrib/aws_inventory/kubespray-aws-inventory.py21 ##Check if VPC_VISIBILITY is set, if not default to privateCOMMENT
LOWinventory/sample/group_vars/all/all.yml93## Set true to download and cache containerCOMMENT
LOWinventory/sample/group_vars/all/all.yml111## Check if access_ip responds to ping. Set false if your firewall blocks ICMP.COMMENT
LOWinventory/sample/group_vars/all/etcd.yml15# Set this to docker if you are using container_manager: dockerCOMMENT
LOWscripts/gen_docs_sidebar.sh16 # Check if it is a directoryCOMMENT
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWplugins/modules/kube.py310CODE
LOWtests/scripts/md-table/main.py55CODE
LOWlibrary/kube.py310CODE
LOWcontrib/terraform/terraform.py41CODE
LOWcontrib/terraform/terraform.py62CODE
LOW…nent_hash_update/src/component_hash_update/download.py58CODE
LOWscripts/openstack-cleanup/main.py27CODE
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWplugins/modules/kube.py363CODE
LOWlibrary/kube.py363CODE
LOWcontrib/aws_inventory/kubespray-aws-inventory.py3CODE
LOWscripts/openstack-cleanup/main.py6CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/files/custom_cni/cilium.yaml52 # for seamless migrations from the kvstore mode to the crd mode. Consult theCOMMENT
Excessive Try-Catch Wrapping3 hits · 2 pts
SeverityFileLineSnippetContext
LOWplugins/modules/kube.py160 except Exception as exc:STRING
LOWlibrary/kube.py160 except Exception as exc:STRING
LOWscripts/openstack-cleanup/main.py50 except Exception as ex:CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…nent_hash_update/src/component_hash_update/download.py30logger = logging.getLogger(__name__)CODE