AI Slop Code RIsk Monitor

fluxcd/flux2

Open and extensible continuous delivery solution for Kubernetes. Powered by GitOps Toolkit.

4.7 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for fluxcd/flux2, a Go project with 8,443 GitHub stars. SynthScan examined 59,973 lines of code across 621 source files, recording 85 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 4.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.

4.7
Adjusted Signal
4.7
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
8.4K
Stars
Go
Language
60.0K
Lines of Code
621
Files
85
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 20.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 18.1/100 · LOW

Which changes need focused human review? 85 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 0MEDIUM 73LOW 11

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 85 distinct pattern matches across 4 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.

Self-Referential Comments73 hits · 262 pts
SeverityFileLineSnippetContext
MEDIUMcmd/flux/create_secret_notation.go40 Example: ` # Create a Notation configuration secret on disk and encrypt it with Mozilla SOPSCODE
MEDIUMcmd/flux/create_secret_receiver.go40 Example: ` # Create a receiver secret for a GitHub webhookCODE
MEDIUMcmd/flux/create_secret_receiver.go47 # Create a receiver secret for GCR with email claimCOMMENT
MEDIUMcmd/flux/create_source_bucket.go45 Example: ` # Create a source for a Bucket using static authenticationCODE
MEDIUMcmd/flux/create_source_bucket.go54 # Create a source for an Amazon S3 Bucket using IAM authenticationCOMMENT
MEDIUMcmd/flux/create_receiver.go41 Example: ` # Create a ReceiverCODE
MEDIUMcmd/flux/bootstrap_github.go47 Example: ` # Create a GitHub personal access token and export it as an env varCODE
MEDIUM⚡cmd/flux/create_source_oci.go42 Example: ` # Create an OCIRepository for a public container imageCODE
MEDIUM⚡cmd/flux/create_source_oci.go48 # Create an OCIRepository with OIDC signature verificationCOMMENT
MEDIUM⚡cmd/flux/create_source_oci.go57 # Create an OCIRepository for a Helm chart layerCOMMENT
MEDIUM⚡cmd/flux/create_kustomization.go45 Example: ` # Create a Kustomization resource from a source at a given pathCODE
MEDIUM⚡cmd/flux/create_kustomization.go54 # Create a Kustomization resource that depends on the previous oneCOMMENT
MEDIUM⚡cmd/flux/create_kustomization.go62 # Create a Kustomization using a source from a different namespaceCOMMENT
MEDIUM⚡cmd/flux/create_kustomization.go70 # Create a Kustomization resource that references an OCIRepositoryCOMMENT
MEDIUM⚡cmd/flux/create_kustomization.go77 # Create a Kustomization resource that references a BucketCOMMENT
MEDIUMcmd/flux/create_secret_tls.go36 Example: ` # Create a TLS secret on disk and encrypt it with SOPS.CODE
MEDIUM⚡cmd/flux/create_helmrelease.go50 Example: ` # Create a HelmRelease with a chart from a HelmRepository sourceCODE
MEDIUM⚡cmd/flux/create_helmrelease.go57 # Create a HelmRelease with a chart from a GitRepository sourceCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go63 # Create a HelmRelease with a chart from a Bucket sourceCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go69 # Create a HelmRelease with values from local YAML filesCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go76 # Create a HelmRelease with values from a Kubernetes secretCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go84 # Create a HelmRelease with a custom release nameCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go90 # Create a HelmRelease targeting another namespace than the resourceCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go97 # Create a HelmRelease with custom storage namespace for hub-and-spoke modelCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go104 # Create a HelmRelease using a source from a different namespaceCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go110 # Create a HelmRelease definition on disk without applying it on the clusterCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go117 # Create a HelmRelease using a chart from a HelmChart resourceCOMMENT
MEDIUM⚡cmd/flux/create_helmrelease.go122 # Create a HelmRelease using a chart from an OCIRepository resourceCOMMENT
MEDIUMcmd/flux/create_secret_helm.go36 Example: ` # Create a Helm authentication secret on disk and encrypt it with Mozilla SOPSCODE
MEDIUM⚡cmd/flux/create_source_git.go75 Example: ` # Create a source from a public Git repository master branchCODE
MEDIUM⚡cmd/flux/create_source_git.go80 # Create a source for a Git repository pinned to specific git tagCOMMENT
MEDIUM⚡cmd/flux/create_source_git.go85 # Create a source from a public Git repository tag that matches a semver rangeCOMMENT
MEDIUM⚡cmd/flux/create_source_git.go90 # Create a source for a Git repository using SSH authenticationCOMMENT
MEDIUM⚡cmd/flux/create_source_git.go95 # Create a source for a Git repository using SSH authentication and anCOMMENT
MEDIUM⚡cmd/flux/create_source_git.go103 # Create a source for a Git repository using SSH authentication and aCOMMENT
MEDIUM⚡cmd/flux/create_source_git.go111 # Create a source for a Git repository using SSH authentication and aCOMMENT
MEDIUM⚡cmd/flux/create_source_git.go120 # Create a source for a Git repository using basic authenticationCOMMENT
MEDIUM⚡cmd/flux/create_source_git.go127 # Create a source for a Git repository using AWS CodeCommit with IAM credentialsCOMMENT
MEDIUM⚡cmd/flux/create_source_git.go133 # Create a source for a Git repository using azure providerCOMMENT
MEDIUMcmd/flux/create_alertprovider.go40 Example: ` # Create a Provider for a Slack channelCODE
MEDIUMcmd/flux/create_alertprovider.go47 # Create a Provider for a Github repositoryCOMMENT
MEDIUM⚡cmd/flux/create_source_chart.go41 Example: ` # Create a source for a chart residing in a HelmRepositoryCODE
MEDIUM⚡cmd/flux/create_source_chart.go47 # Create a source for a chart residing in a Git repositoryCOMMENT
MEDIUM⚡cmd/flux/create_source_chart.go52 # Create a source for a chart residing in a S3 BucketCOMMENT
MEDIUM⚡cmd/flux/create_source_chart.go57 # Create a source for a chart from OCI and verify its signatureCOMMENT
MEDIUMcmd/flux/bootstrap_bitbucket_server.go48 Example: ` # Create a Bitbucket Server API token and export it as an env varCODE
MEDIUMcmd/flux/bootstrap_gitlab.go51 Example: ` # Create a GitLab API token and export it as an env varCODE
MEDIUMcmd/flux/create_alert.go41 Example: ` # Create an Alert for kustomization eventsCODE
MEDIUM⚡cmd/flux/create_secret_git.go43 Example: ` # Create a Git SSH authentication secret using an ECDSA P-521 curve public keyCODE
MEDIUM⚡cmd/flux/create_secret_git.go50 # Create a Git SSH authentication secret with a passwordless private key from fileCOMMENT
MEDIUM⚡cmd/flux/create_secret_git.go56 # Create a Git SSH authentication secret with a passworded private key from fileCOMMENT
MEDIUM⚡cmd/flux/create_secret_git.go63 # Create a secret for a Git repository using basic authenticationCOMMENT
MEDIUM⚡cmd/flux/create_secret_git.go69 # Create a Git SSH secret on diskCOMMENT
MEDIUM⚡cmd/flux/create_source_helm.go46 Example: ` # Create a source for an HTTPS public Helm repositoryCODE
MEDIUM⚡cmd/flux/create_source_helm.go51 # Create a source for an HTTPS Helm repository using basic authenticationCOMMENT
MEDIUM⚡cmd/flux/create_source_helm.go57 # Create a source for an HTTPS Helm repository using TLS authenticationCOMMENT
MEDIUM⚡cmd/flux/create_source_helm.go64 # Create a source for an OCI Helm repositoryCOMMENT
MEDIUM⚡cmd/flux/create_source_helm.go70 # Create a source for an OCI Helm repository using an existing secret with basic auth or dockerconfig credentialsCOMMENT
MEDIUMcmd/flux/bootstrap_gitea.go47 Example: ` # Create a Gitea personal access token and export it as an env varCODE
MEDIUMcmd/flux/create_tenant.go43 Example: ` # Create a tenant with access to a namespaceCODE
13 more matches not shown…
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALcmd/flux/get_image_repository.go83 lastScan = item.Status.LastScanResult.ScanTime.Time.Format(time.RFC3339)CODE
Over-Commented Block10 hits · 10 pts
SeverityFileLineSnippetContext
LOWcmd/flux/cluster_info.go41// fluxClusterInfo contains information about an existing flux installation on a cluster.COMMENT
LOWcmd/flux/readiness.go61COMMENT
LOWrfcs/0012-external-artifact/README.md81status:COMMENT
LOWrfcs/0010-multi-tenant-workload-identity/README.md841 // the environment of the controller pod, e.g. files mounted in the pod,COMMENT
LOWrfcs/0010-multi-tenant-workload-identity/README.md861 serviceAccount corev1.ServiceAccount, opts ...Option) (Token, error)COMMENT
LOWrfcs/0010-multi-tenant-workload-identity/README.md961}COMMENT
LOW.github/runners/runner-setup.sh1#!/usr/bin/env bashCOMMENT
LOW.github/runners/prereq.sh1#!/usr/bin/env bashCOMMENT
LOWmanifests/scripts/bundle.sh1#!/usr/bin/env bashCOMMENT
LOWpkg/bootstrap/bootstrap.go61 ReconcileComponents(ctx context.Context, manifestsBase string, options install.Options, secretOpts sourcesecret.OptionsCOMMENT
Redundant / Tautological Comments1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcmd/flux/diff_artifact.go36 Example: `# Check if local files differ from remoteCODE