AI Slop Code Risk Monitor

harvester/harvester

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

Open source hyperconverged infrastructure (HCI) software

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for harvester/harvester, a Go project with 5,231 GitHub stars. SynthScan examined 234,836 lines of code across 994 source files, recording 129 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.

1.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.2K
Stars
Go
Language
234.8K
Lines of Code
994
Files
129
Pattern Hits
2026-10-31
Scan Date
0.01
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 2.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.6/100 · LOW

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

Agent Over-Engineering Ratio 0.8/100 · LOW

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

PR Review Velocity Impact 5.0/100 · LOW

Which changes need focused human review? 129 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 9HIGH 3MEDIUM 9LOW 108

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 129 distinct pattern matches across 15 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.

Hallucination Indicators9 hits · 110 pts
SeverityFileLineSnippetContext
CRITICALpkg/webhook/resources/virtualmachine/validator.go854 mem := vm.Spec.Template.Spec.Domain.Resources.Limits.Memory()CODE
CRITICALpkg/webhook/resources/virtualmachine/validator.go895 limitMem := vm.Spec.Template.Spec.Domain.Resources.Limits.Memory()CODE
CRITICALpkg/webhook/resources/virtualmachine/mutator.go662 if newVM.Spec.Template.Spec.Domain.Memory != nil && (newVM.Spec.Template.Spec.Domain.Memory.Guest.Value() != newVM.SpeCODE
CRITICAL⚡pkg/webhook/resources/virtualmachine/mutator_test.go2362 assertions.NotNil(patchedVMObj.Spec.Template.Spec.Domain.Resources.Limits.Cpu(), "expected CPU limit to be set for foCODE
CRITICAL⚡pkg/webhook/resources/virtualmachine/mutator_test.go2363 assertions.NotNil(patchedVMObj.Spec.Template.Spec.Domain.Resources.Limits.Memory(), "expected Memory limit to be set CODE
CRITICAL⚡pkg/webhook/resources/virtualmachine/mutator_test.go2364 assertions.True(patchedVMObj.Spec.Template.Spec.Domain.Resources.Limits.Cpu().Equal(cpuLimit), "expected CPU limit toCODE
CRITICAL⚡pkg/webhook/resources/virtualmachine/mutator_test.go2365 assertions.True(patchedVMObj.Spec.Template.Spec.Domain.Resources.Limits.Memory().Equal(*vm.Spec.Template.Spec.Domain.CODE
CRITICALpkg/controller/master/migration/vmim_controller.go193 if vmi.Spec.Domain.Resources.Limits.Memory().IsZero() && vmi.Spec.Domain.Resources.Limits.Cpu().IsZero() {CODE
CRITICALpkg/controller/master/migration/vmim_controller.go353 if vmi.Spec.Domain.Resources.Limits.Memory().IsZero() {CODE
Over-Commented Block64 hits · 64 pts
SeverityFileLineSnippetContext
LOWdeploy/charts/harvester/values.yaml1###########################################################################COMMENT
LOWdeploy/charts/harvester/values.yaml21 ## - RequireDualStackCOMMENT
LOWdeploy/charts/harvester/values.yaml81 repository: registry.suse.com/suse/sles/16.0/libguestfs-toolsCOMMENT
LOWdeploy/charts/harvester/values.yaml241 ## are appended dynamically by dependency_charts/cdi/templates/cdi.yaml,COMMENT
LOWdeploy/charts/harvester/values.yaml301 ## Specify the tag of image.COMMENT
LOWdeploy/charts/harvester/values.yaml341COMMENT
LOWdeploy/charts/harvester/values.yaml361 ##COMMENT
LOWdeploy/charts/harvester/values.yaml401 ## Specify the mode of vip,COMMENT
LOWdeploy/charts/harvester/values.yaml421 nodeSelector: {}COMMENT
LOWdeploy/charts/harvester/values.yaml441 ##COMMENT
LOW…harvester/dependency_charts/csi-snapshotter/Chart.yaml1apiVersion: v2COMMENT
LOW…dency_charts/csi-snapshotter/templates/deployment.yaml41 # Add a marker to the snapshot-controller manifests. This is needed to enable feature gates in CSI prow jobsCOMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml1###########################################################################COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml21 ##COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml41 # monitorAccount: "prometheus-k8s"COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml81 configuration:COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml101 ## Specify the default CPU model of VirtualMachineInstance, selects from https://github.com/libvirt/libvirt/tree/masCOMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml121 ## Specify the virtual machine image pull policy of `virt-launcher` Pod,COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml141 ## Specify the toleration in percent when PVs' available space is smaller than requested,COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml161 ## Specify if uses eumlation,COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml181COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml201COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml221 ## Specify to permit slirp interface,COMMENT
LOW…harts/harvester/dependency_charts/kubevirt/values.yaml241COMMENT
LOW…vester/dependency_charts/kubevirt-operator/values.yaml1###########################################################################COMMENT
LOW…vester/dependency_charts/kubevirt-operator/values.yaml121COMMENT
LOW…rts/harvester/dependency_charts/whereabouts/Chart.yaml1apiVersion: v2COMMENT
LOW…ackaging/hack/monitoring-logging-chart-images-list.txt1# This file tracks the images used by rancher-monitoring and rancher-logging charts.COMMENT
LOW…ackaging/hack/monitoring-logging-chart-images-list.txt41# Old version: 109.0.3+up80.9.1-rancher.14COMMENT
LOWtests/framework/cluster/kind.go21COMMENT
LOWtests/framework/cluster/kind.go41 Image stringCOMMENT
LOWscripts/collect-rancher-deps.sh1#!/bin/bash -eCOMMENT
LOW.github/workflows/build-prime.yml1name: Build PrimeCOMMENT
LOW.github/workflows/codeql-analysis.yml41COMMENT
LOW.github/workflows/upgrade-risk.lock.yml1# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"d4bcd7aca72fcdf8d8653446dc5097605970161c337b38d5ac98b7e95b0COMMENT
LOW.github/workflows/upgrade-risk.lock.yml21# gh aw compileCOMMENT
LOW.github/workflows/upgrade-risk.lock.yml41# - actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1COMMENT
LOW.github/actions/setup-prime-build/action.yml1name: Set up Prime buildCOMMENT
LOW.github/actions/setup-prime-build/action.yml21# "aws_access_key_id": "...",COMMENT
LOWenhancements/20240611-vm-schedule-backup.md41 // +kubebuilder:validation:RequiredCOMMENT
LOWpackage/upgrade/upgrade_node.sh41 echo " now: $(du -h $PASSIVE_IMG)"COMMENT
LOWpackage/upgrade/upgrade_node.sh561 /usr/local/bin/harvester-installer generate-network-config --config ${HOST_DIR}/oem/harvester.config --connection-pathCOMMENT
LOWpkg/webhook/types/admission.go21// JSON Patch operations to mutate input data. See https://jsonpatch.com/ for more information.COMMENT
LOWpkg/webhook/resources/setting/validator_test.go3221//COMMENT
LOWpkg/webhook/resources/virtualmachineinstance/mutator.go161COMMENT
LOWpkg/settings/settings_helper.go201 Enable bool `json:"enable"`COMMENT
LOWpkg/apis/harvesterhci.io/v1beta1/backup.go61COMMENT
LOWpkg/apis/harvesterhci.io/v1beta1/backup.go201type PersistentVolumeClaimSourceSpec struct {COMMENT
LOWpkg/apis/harvesterhci.io/v1beta1/imagedownloader.go41 // +kubebuilder:validation:Enum:=qcow2COMMENT
LOWpkg/apis/harvesterhci.io/v1beta1/image.go61 // +optionalCOMMENT
LOWpkg/apis/harvesterhci.io/v1beta1/image.go81COMMENT
LOWpkg/apis/harvesterhci.io/v1beta1/schedulebackup.go21 // +optionalCOMMENT
LOWpkg/containerd/registry.go1package containerdCOMMENT
LOWpkg/server/http/ctx.go1package httpCOMMENT
LOWpkg/controller/master/upgrade/common.go81 // (e.g., "rancher/harvester-abc:v0.5.0"), but nodes might pull from private, air-gapped,COMMENT
LOWpkg/controller/master/virtualmachine/vm_controller.go781 if err := h.deleteBackendStorageCloneJobs(vm); err != nil {COMMENT
LOWpkg/controller/master/node/node_down_controller.go361COMMENT
LOWpkg/controller/master/setting/nodeconfig.go41 }COMMENT
LOWpkg/backup/common/operator.go41COMMENT
LOWpkg/installer/config/config.go201 PersistentPartitionSize string `json:"persistentPartitionSize,omitempty"`COMMENT
4 more matches not shown…
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH.github/workflows/check-sprint-last-day.py0{ organization(login: "%s") { projectsv2(first: 20) { nodes { id title number } } } }STRING
HIGH…ub/workflows/migrate-zenhub-board-to-github-project.py0{ organization(login: "%s") { projectsv2(first: 20) { nodes { id title number } } } }STRING
HIGH.github/workflows/scan-and-notify-testing-items.py0{ organization(login: "%s") { projectsv2(first: 20) { nodes { id title number } } } }STRING
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…ackaging/hack/monitoring-logging-chart-images-list.txt17# ==========================================COMMENT
MEDIUM…ackaging/hack/monitoring-logging-chart-images-list.txt21# ==========================================COMMENT
MEDIUM…ackaging/hack/monitoring-logging-chart-images-list.txt39# ==========================================COMMENT
MEDIUM…ackaging/hack/monitoring-logging-chart-images-list.txt43# ==========================================COMMENT
Verbosity Indicators6 hits · 11 pts
SeverityFileLineSnippetContext
LOWpkg/volumeremotebackup/longhorn/restore.go149 // Step 1: Create VolumeSnapshotContentCOMMENT
LOWpkg/volumeremotebackup/longhorn/restore.go162 // Step 2: Create VolumeSnapshotCOMMENT
LOWpkg/volumeremotebackup/longhorn/restore.go178 // Step 3: Create PVC from VolumeSnapshotCOMMENT
LOW⚡pkg/volumeremotebackup/longhorn/restore.go466 // Step 1: Check VolumeSnapshotContentCOMMENT
LOW⚡pkg/volumeremotebackup/longhorn/restore.go475 // Step 2: Check VolumeSnapshotCOMMENT
LOW⚡pkg/volumeremotebackup/longhorn/restore.go484 // Step 3: Check PVCCOMMENT
Structural Annotation Overuse6 hits · 11 pts
SeverityFileLineSnippetContext
LOWpkg/volumeremotebackup/longhorn/restore.go149 // Step 1: Create VolumeSnapshotContentCOMMENT
LOWpkg/volumeremotebackup/longhorn/restore.go162 // Step 2: Create VolumeSnapshotCOMMENT
LOWpkg/volumeremotebackup/longhorn/restore.go178 // Step 3: Create PVC from VolumeSnapshotCOMMENT
LOW⚡pkg/volumeremotebackup/longhorn/restore.go466 // Step 1: Check VolumeSnapshotContentCOMMENT
LOW⚡pkg/volumeremotebackup/longhorn/restore.go475 // Step 2: Check VolumeSnapshotCOMMENT
LOW⚡pkg/volumeremotebackup/longhorn/restore.go484 // Step 3: Check PVCCOMMENT
Fake / Example Data6 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡pkg/installer/widgets/util_test.go75 content: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr",CODE
LOW⚡pkg/installer/widgets/util_test.go75 content: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr",CODE
LOW⚡pkg/installer/widgets/util_test.go84 content: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr",CODE
LOW⚡pkg/installer/widgets/util_test.go84 content: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr",CODE
LOW⚡pkg/installer/widgets/util_test.go93 content: "Lorem ipsum dolor sit amet, ",CODE
LOW⚡pkg/installer/widgets/util_test.go93 content: "Lorem ipsum dolor sit amet, ",CODE
Hyper-Verbose Identifiers11 hits · 8 pts
SeverityFileLineSnippetContext
LOW.github/workflows/check-sprint-last-day.py95def is_today_is_in_last_day_of_current_sprint(github_token, project_id):STRING
LOW…ub/workflows/migrate-zenhub-board-to-github-project.py96def get_github_project_status(github_token, github_org, github_repo, project_number):STRING
LOW…ub/workflows/migrate-zenhub-board-to-github-project.py104def get_github_project_estimate(github_token, github_org, github_repo, project_number):STRING
LOW…ub/workflows/migrate-zenhub-board-to-github-project.py268def check_zenhub_pipelins_github_project_status_match(board, status):STRING
LOW…ub/workflows/migrate-zenhub-board-to-github-project.py276def add_closed_issues_to_github_project(github_token, zenhub_token, github_org, github_repo, project_id, status, status_STRING
LOW…ub/workflows/migrate-zenhub-board-to-github-project.py309def add_zenhub_pipelines_to_github_project(github_token, github_org, github_repo, project_id, board, status, status_nodeSTRING
LOW.github/workflows/scan-and-notify-testing-items.py127def is_today_is_in_last_day_of_current_sprint(github_token, project_id):STRING
LOW.github/workflows/bot/issue_transfer.py19 def create_comment_if_not_exist(self):CODE
LOW.github/workflows/bot/github_graphql/manager.py70 def __get_orgnization_project(self, project_number):CODE
LOW.github/workflows/bot/label_action/create_e2e.py98 def _find_or_create_milestone(self, milestone_title, harvester_milestone):CODE
LOW.github/workflows/bot/label_action/create_backport.py103 def create_issue_if_not_exist(self):CODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOW.github/workflows/issue-management-add-to-projects.yml28 # Check if email or company contains 'suse' (case insensitive)COMMENT
LOW.github/workflows/issue-management-add-to-projects.yml122 # Check if email or company contains 'suse' (case insensitive)COMMENT
LOWpackage/upgrade/upgrade_manifests.sh1445 # Check if .spec.rkeConfig.registries is not null or empty.COMMENT
LOWpackage/upgrade/lib.sh285 # Check if images already existCOMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpackage/upgrade/upgrade_node.sh99# Create a systemd service on host to reboot the host if this running pod succeeds.COMMENT
MEDIUMpackage/harvester-os/files/usr/bin/setup-installer.sh2# Create a systemd drop-in unit to run installer on the first console tty. e.g.,COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpkg/util/constants.go86 // For any storageclass created & protected by controller, the controller can utilize this annotationCOMMENT
MEDIUMpkg/controller/master/nodedrain/nodedrain_controller.go461// FindNonMigratableVMS is called by action handler to leverage caches to find unhealthy VM's impacted by the migrationCOMMENT
Excessive Try-Catch Wrapping4 hits · 5 pts
SeverityFileLineSnippetContext
LOW.github/workflows/scan-and-notify-testing-items.py37 except Exception as e:CODE
MEDIUM.github/workflows/scan-and-notify-testing-items.py38 print(f"Error adding {emoji} reaction: {e}")CODE
LOW.github/workflows/bot/label_action/create_e2e.py134 except Exception as e:CODE
LOW.github/workflows/bot/label_action/create_backport.py52 except Exception as e:CODE
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ub/workflows/migrate-zenhub-board-to-github-project.py3CODE
LOW.github/workflows/bot/config.py5CODE
LOW.github/workflows/bot/__init__.py1CODE
LOW.github/workflows/bot/__init__.py2CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/workflows/scan-and-notify-testing-items.py11CODE
LOW.github/workflows/scan-and-notify-testing-items.py139CODE
LOW.github/workflows/scan-and-notify-testing-items.py243CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ependency_charts/whereabouts/templates/reconciler.yaml1# Don't forget to update doc/crds/reconciler-deployment.yaml as wellCOMMENT