AI Slop Code Risk Monitor

kubeedge/kubeedge

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

Kubernetes Native Edge Computing Framework (project under CNCF)

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for kubeedge/kubeedge, a Go project with 7,622 GitHub stars. SynthScan examined 233,445 lines of code across 1415 source files, recording 331 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.5 (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.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
7.6K
Stars
Go
Language
233.4K
Lines of Code
1.4K
Files
331
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 6.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 7.6/100 · LOW

Which changes need focused human review? 331 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 18LOW 313

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 331 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 Block307 hits · 290 pts
SeverityFileLineSnippetContext
LOW…beedge/mapper-framework/hack/update-vendor-licenses.sh1#!/usr/bin/env bashCOMMENT
LOW…beedge/mapper-framework/hack/update-vendor-licenses.sh21#COMMENT
LOW…ub.com/kubeedge/mapper-framework/hack/update-vendor.sh1#!/usr/bin/env bashCOMMENT
LOW…ub.com/kubeedge/mapper-framework/hack/verify-vendor.sh1#!/usr/bin/env bashCOMMENT
LOW…beedge/mapper-framework/hack/verify-vendor-licenses.sh1#!/usr/bin/env bashCOMMENT
LOW…ub.com/kubeedge/mapper-framework/hack/verify-golang.sh1#!/usr/bin/env bashCOMMENT
LOW…m/kubeedge/mapper-framework/hack/make-rules/version.sh1#!/usr/bin/env bashCOMMENT
LOW…om/kubeedge/mapper-framework/hack/make-rules/mapper.sh1#!/usr/bin/env bashCOMMENT
LOW…ubeedge/mapper-framework/hack/make-rules/crossbuild.sh1#!/usr/bin/env bashCOMMENT
LOW…/github.com/kubeedge/mapper-framework/hack/lib/init.sh1#!/usr/bin/env bashCOMMENT
LOW…thub.com/kubeedge/mapper-framework/hack/lib/install.sh1#!/usr/bin/env bashCOMMENT
LOW…/github.com/kubeedge/mapper-framework/hack/lib/lint.sh1#!/usr/bin/env bashCOMMENT
LOW…/github.com/kubeedge/mapper-framework/hack/lib/util.sh1#!/usr/bin/env bashCOMMENT
LOW…ing/src/github.com/kubeedge/beehive/pkg/core/module.go41 // ErrorHandler if the Retries is set and reaches the maximum, this method is used to customize error handling.COMMENT
LOW…dge/api/apis/operations/v1alpha2/types_configupdate.go61COMMENT
LOW…edge/api/apis/operations/v1alpha2/types_nodeupgrade.go61COMMENT
LOW…edge/api/apis/operations/v1alpha2/types_nodeupgrade.go81 // +optionalCOMMENT
LOW…edge/api/apis/operations/v1alpha2/types_nodeupgrade.go101 // As a transition, it is not required at first, and the image digest is checked when this field is set.COMMENT
LOW…edge/api/apis/operations/v1alpha2/types_nodeupgrade.go121 // RequireConfirmation specifies whether you need to confirm the upgrade.COMMENT
LOW…edge/api/apis/operations/v1alpha2/types_nodeupgrade.go161COMMENT
LOW…edge/api/apis/operations/v1alpha2/types_nodeupgrade.go181COMMENT
LOW…edge/api/apis/operations/v1alpha2/types_nodeupgrade.go221COMMENT
LOW…dge/api/apis/operations/v1alpha2/types_imageprepull.go81 // Please note that sets of NodeNames and LabelSelector are ORed.COMMENT
LOW…dge/api/apis/operations/v1alpha2/types_imageprepull.go101COMMENT
LOW…dge/api/apis/operations/v1alpha2/types_imageprepull.go141COMMENT
LOW…thub.com/kubeedge/api/apis/operations/v1alpha1/type.go61 // +Required: Version is the EdgeCore version to upgrade.COMMENT
LOW…thub.com/kubeedge/api/apis/operations/v1alpha1/type.go81 // +optionalCOMMENT
LOW…thub.com/kubeedge/api/apis/operations/v1alpha1/type.go161COMMENT
LOW…dge/api/apis/operations/v1alpha1/imageprepull_types.go61type ImagePrePullJobSpec struct {COMMENT
LOW…dge/api/apis/operations/v1alpha1/imageprepull_types.go81 // +optionalCOMMENT
LOW…dge/api/apis/operations/v1alpha1/imageprepull_types.go101 // If set to 0, we'll use the default value 300.COMMENT
LOW…m/kubeedge/api/apis/reliablesyncs/v1alpha1/register.go1// Copyright 2020 The KubeEdge AuthorsCOMMENT
LOW…aging/src/github.com/kubeedge/api/apis/rules/v1/doc.go1// +k8s:openapi-gen=trueCOMMENT
LOW…aging/src/github.com/kubeedge/api/apis/dmi/services.go21)COMMENT
LOW…aging/src/github.com/kubeedge/api/apis/dmi/services.go41// DeviceMapperService defines the public APIS for remote device management.COMMENT
LOW…aging/src/github.com/kubeedge/api/apis/dmi/services.go61 // Device manager updates the information of a device used by the mapperCOMMENT
LOW…aging/src/github.com/kubeedge/api/apis/dmi/services.go81 // Device manager sends the name of device model to the mapperCOMMENT
LOW…ithub.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go1//COMMENT
LOW…ithub.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go41 DeviceManagerService_ReportDeviceStates_FullMethodName = "/v1beta1.DeviceManagerService/ReportDeviceStates"COMMENT
LOW…ithub.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go101 }COMMENT
LOW…ithub.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go241)COMMENT
LOW…ithub.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go261 // Device manager unregisters a device instance with the name of deviceCOMMENT
LOW…ithub.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go281 // through the interface of RemoveDeviceModel.COMMENT
LOW…ithub.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go381// DeviceMapperService defines the public APIS for remote device management.COMMENT
LOW…ithub.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go401 // Device manager updates the information of a device used by the mapperCOMMENT
LOW…rc/github.com/kubeedge/api/apis/dmi/v1alpha1/api.pb.go4801 Metadata: "api.proto",COMMENT
LOW…rc/github.com/kubeedge/api/apis/dmi/v1alpha1/api.pb.go4821 // Device manager updates the information of a device used by the mapperCOMMENT
LOW…rc/github.com/kubeedge/api/apis/dmi/v1alpha1/api.pb.go4841 // through the interface of UpdateDeviceModel.COMMENT
LOW…rc/github.com/kubeedge/api/apis/dmi/v1alpha1/api.pb.go4941type DeviceMapperServiceServer interface {COMMENT
LOW…rc/github.com/kubeedge/api/apis/dmi/v1alpha1/api.pb.go4961 // CreateDeviceModel creates a device model to the device mapper.COMMENT
LOW…com/kubeedge/api/apis/apps/v1alpha1/nodegroup_types.go41type NodeGroupStatus struct {COMMENT
LOW…com/kubeedge/api/apis/apps/v1alpha1/nodegroup_types.go81 // SucceededSelection represents that this node has been selected as a member of this NodeGroup.COMMENT
LOW…beedge/api/apis/apps/v1alpha1/edgeapplication_types.go81 ImageOverriders []ImageOverrider `json:"imageOverriders,omitempty"`COMMENT
LOW…beedge/api/apis/apps/v1alpha1/edgeapplication_types.go101COMMENT
LOW…beedge/api/apis/apps/v1alpha1/edgeapplication_types.go121 // Operator represents the operator which will apply on the env.COMMENT
LOW…beedge/api/apis/apps/v1alpha1/edgeapplication_types.go141 // Value to be applied to resources.COMMENT
LOW…beedge/api/apis/apps/v1alpha1/edgeapplication_types.go161 Predicate *ImagePredicate `json:"predicate,omitempty"`COMMENT
LOW…beedge/api/apis/apps/v1alpha1/edgeapplication_types.go241COMMENT
LOW…ge/api/apis/componentconfig/edgecore/v1alpha2/types.go61 // DriverName indicates database driver nameCOMMENT
LOW…ge/api/apis/componentconfig/edgecore/v1alpha2/types.go81 // +RequiredCOMMENT
247 more matches not shown…
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUM…beedge/mapper-framework/hack/update-vendor-licenses.sh29# -----------------------------------------------------------------------------COMMENT
MEDIUM…beedge/mapper-framework/hack/verify-vendor-licenses.sh22# -----------------------------------------------------------------------------COMMENT
MEDIUM…/github.com/kubeedge/mapper-framework/hack/lib/util.sh17# -----------------------------------------------------------------------------COMMENT
MEDIUMhack/update-vendor-licenses.sh29# -----------------------------------------------------------------------------COMMENT
MEDIUMhack/verify-vendor-licenses.sh22# -----------------------------------------------------------------------------COMMENT
MEDIUMhack/lib/golang.sh17# -----------------------------------------------------------------------------COMMENT
MEDIUMhack/lib/util.sh17# -----------------------------------------------------------------------------COMMENT
MEDIUMedge/pkg/devicetwin/dmiclient/client_test.go372// ── UpdateDevice ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpkg/upgrade/edge/upgrade_reporter_taskevent_test.go92 // ── Build a test CA ──────────────────────────────────────────────────────COMMENT
MEDIUMpkg/upgrade/edge/upgrade_reporter_taskevent_test.go130 // ── Table-driven cases ───────────────────────────────────────────────────COMMENT
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippetContext
LOWhack/lib/golang.sh492 # * We can't just set GOBIN because that does not work on cross-compiles.COMMENT
MEDIUM⚡keadm/cmd/keadm/app/cmd/edge/batch_genconfig.go57 cmdTplArgs: # <Optional> This parameter is the execution command template, which can be optionally conCODE
MEDIUM⚡keadm/cmd/keadm/app/cmd/edge/batch_genconfig.go58 cmd: "" # This is an example parameter, which can be used in conjunction with nodes[x].keadmCmd.CODE
MEDIUM⚡keadm/cmd/keadm/app/cmd/edge/batch_genconfig.go59 token: "" # This is an example parameter, which can be used in conjunction with nodes[x].keadmCmd.CODE
MEDIUM⚡keadm/cmd/keadm/app/cmd/edge/batch_genconfig.go63 keadmCmd: "" # <Required> The command to be executed on the node, can used in conjunction with keadm.cmCODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…/github.com/kubeedge/mapper-framework/hack/lib/util.sh58# Create a temp dir that'll be deleted at the end of this bash session.COMMENT
MEDIUMhack/lib/util.sh58# Create a temp dir that'll be deleted at the end of this bash session.COMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…ng/src/github.com/kubeedge/api/apis/util/flag/flags.go100 fmt.Println("# It's useful to users who are new to KubeEdge, and you can modify/create your own configs accordingly. "CODE
MEDIUMpkg/util/flag/flags.go100 fmt.Println("# It's useful to users who are new to KubeEdge, and you can modify/create your own configs accordingly. "CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…beedge/mapper-framework/hack/update-vendor-licenses.sh19# Usage:COMMENT
LOWhack/update-vendor-licenses.sh19# Usage:COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWcloud/pkg/cloudstream/tunnelserver_test.go310 fakeKey := []byte("fake-key-data")CODE
LOWpkg/upgrade/edge/upgrade_reporter_taskevent_test.go125 dummyKey, err := os.CreateTemp("", "dummy-key-*.key")CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhack/local-up-kubeedge.sh311# Check if all processes are still running. Prints a warning once each timeCOMMENT