Open and extensible continuous delivery solution for Kubernetes. Powered by GitOps Toolkit.
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 84 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 85 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/flux/create_secret_notation.go | 40 | Example: ` # Create a Notation configuration secret on disk and encrypt it with Mozilla SOPS | CODE |
| MEDIUM | cmd/flux/create_secret_receiver.go | 40 | Example: ` # Create a receiver secret for a GitHub webhook | CODE |
| MEDIUM | cmd/flux/create_secret_receiver.go | 47 | # Create a receiver secret for GCR with email claim | COMMENT |
| MEDIUM | cmd/flux/create_source_bucket.go | 45 | Example: ` # Create a source for a Bucket using static authentication | CODE |
| MEDIUM | cmd/flux/create_source_bucket.go | 54 | # Create a source for an Amazon S3 Bucket using IAM authentication | COMMENT |
| MEDIUM | cmd/flux/create_receiver.go | 41 | Example: ` # Create a Receiver | CODE |
| MEDIUM | cmd/flux/bootstrap_github.go | 47 | Example: ` # Create a GitHub personal access token and export it as an env var | CODE |
| MEDIUM⚡ | cmd/flux/create_source_oci.go | 42 | Example: ` # Create an OCIRepository for a public container image | CODE |
| MEDIUM⚡ | cmd/flux/create_source_oci.go | 48 | # Create an OCIRepository with OIDC signature verification | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_oci.go | 57 | # Create an OCIRepository for a Helm chart layer | COMMENT |
| MEDIUM⚡ | cmd/flux/create_kustomization.go | 45 | Example: ` # Create a Kustomization resource from a source at a given path | CODE |
| MEDIUM⚡ | cmd/flux/create_kustomization.go | 54 | # Create a Kustomization resource that depends on the previous one | COMMENT |
| MEDIUM⚡ | cmd/flux/create_kustomization.go | 62 | # Create a Kustomization using a source from a different namespace | COMMENT |
| MEDIUM⚡ | cmd/flux/create_kustomization.go | 70 | # Create a Kustomization resource that references an OCIRepository | COMMENT |
| MEDIUM⚡ | cmd/flux/create_kustomization.go | 77 | # Create a Kustomization resource that references a Bucket | COMMENT |
| MEDIUM | cmd/flux/create_secret_tls.go | 36 | Example: ` # Create a TLS secret on disk and encrypt it with SOPS. | CODE |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 50 | Example: ` # Create a HelmRelease with a chart from a HelmRepository source | CODE |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 57 | # Create a HelmRelease with a chart from a GitRepository source | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 63 | # Create a HelmRelease with a chart from a Bucket source | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 69 | # Create a HelmRelease with values from local YAML files | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 76 | # Create a HelmRelease with values from a Kubernetes secret | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 84 | # Create a HelmRelease with a custom release name | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 90 | # Create a HelmRelease targeting another namespace than the resource | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 97 | # Create a HelmRelease with custom storage namespace for hub-and-spoke model | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 104 | # Create a HelmRelease using a source from a different namespace | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 110 | # Create a HelmRelease definition on disk without applying it on the cluster | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 117 | # Create a HelmRelease using a chart from a HelmChart resource | COMMENT |
| MEDIUM⚡ | cmd/flux/create_helmrelease.go | 122 | # Create a HelmRelease using a chart from an OCIRepository resource | COMMENT |
| MEDIUM | cmd/flux/create_secret_helm.go | 36 | Example: ` # Create a Helm authentication secret on disk and encrypt it with Mozilla SOPS | CODE |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 75 | Example: ` # Create a source from a public Git repository master branch | CODE |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 80 | # Create a source for a Git repository pinned to specific git tag | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 85 | # Create a source from a public Git repository tag that matches a semver range | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 90 | # Create a source for a Git repository using SSH authentication | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 95 | # Create a source for a Git repository using SSH authentication and an | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 103 | # Create a source for a Git repository using SSH authentication and a | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 111 | # Create a source for a Git repository using SSH authentication and a | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 120 | # Create a source for a Git repository using basic authentication | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 127 | # Create a source for a Git repository using AWS CodeCommit with IAM credentials | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_git.go | 133 | # Create a source for a Git repository using azure provider | COMMENT |
| MEDIUM | cmd/flux/create_alertprovider.go | 40 | Example: ` # Create a Provider for a Slack channel | CODE |
| MEDIUM | cmd/flux/create_alertprovider.go | 47 | # Create a Provider for a Github repository | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_chart.go | 41 | Example: ` # Create a source for a chart residing in a HelmRepository | CODE |
| MEDIUM⚡ | cmd/flux/create_source_chart.go | 47 | # Create a source for a chart residing in a Git repository | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_chart.go | 52 | # Create a source for a chart residing in a S3 Bucket | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_chart.go | 57 | # Create a source for a chart from OCI and verify its signature | COMMENT |
| MEDIUM | cmd/flux/bootstrap_bitbucket_server.go | 48 | Example: ` # Create a Bitbucket Server API token and export it as an env var | CODE |
| MEDIUM | cmd/flux/bootstrap_gitlab.go | 51 | Example: ` # Create a GitLab API token and export it as an env var | CODE |
| MEDIUM | cmd/flux/create_alert.go | 41 | Example: ` # Create an Alert for kustomization events | CODE |
| MEDIUM⚡ | cmd/flux/create_secret_git.go | 43 | Example: ` # Create a Git SSH authentication secret using an ECDSA P-521 curve public key | CODE |
| MEDIUM⚡ | cmd/flux/create_secret_git.go | 50 | # Create a Git SSH authentication secret with a passwordless private key from file | COMMENT |
| MEDIUM⚡ | cmd/flux/create_secret_git.go | 56 | # Create a Git SSH authentication secret with a passworded private key from file | COMMENT |
| MEDIUM⚡ | cmd/flux/create_secret_git.go | 63 | # Create a secret for a Git repository using basic authentication | COMMENT |
| MEDIUM⚡ | cmd/flux/create_secret_git.go | 69 | # Create a Git SSH secret on disk | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_helm.go | 46 | Example: ` # Create a source for an HTTPS public Helm repository | CODE |
| MEDIUM⚡ | cmd/flux/create_source_helm.go | 51 | # Create a source for an HTTPS Helm repository using basic authentication | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_helm.go | 57 | # Create a source for an HTTPS Helm repository using TLS authentication | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_helm.go | 64 | # Create a source for an OCI Helm repository | COMMENT |
| MEDIUM⚡ | cmd/flux/create_source_helm.go | 70 | # Create a source for an OCI Helm repository using an existing secret with basic auth or dockerconfig credentials | COMMENT |
| MEDIUM | cmd/flux/bootstrap_gitea.go | 47 | Example: ` # Create a Gitea personal access token and export it as an env var | CODE |
| MEDIUM | cmd/flux/create_tenant.go | 43 | Example: ` # Create a tenant with access to a namespace | CODE |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | cmd/flux/get_image_repository.go | 83 | lastScan = item.Status.LastScanResult.ScanTime.Time.Format(time.RFC3339) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/flux/cluster_info.go | 41 | // fluxClusterInfo contains information about an existing flux installation on a cluster. | COMMENT |
| LOW | cmd/flux/readiness.go | 61 | COMMENT | |
| LOW | rfcs/0012-external-artifact/README.md | 81 | status: | COMMENT |
| LOW | rfcs/0010-multi-tenant-workload-identity/README.md | 841 | // the environment of the controller pod, e.g. files mounted in the pod, | COMMENT |
| LOW | rfcs/0010-multi-tenant-workload-identity/README.md | 861 | serviceAccount corev1.ServiceAccount, opts ...Option) (Token, error) | COMMENT |
| LOW | rfcs/0010-multi-tenant-workload-identity/README.md | 961 | } | COMMENT |
| LOW | .github/runners/runner-setup.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/runners/prereq.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | manifests/scripts/bundle.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | pkg/bootstrap/bootstrap.go | 61 | ReconcileComponents(ctx context.Context, manifestsBase string, options install.Options, secretOpts sourcesecret.Options | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/flux/diff_artifact.go | 36 | Example: `# Check if local files differ from remote | CODE |