Open and extensible continuous delivery solution for Kubernetes. Powered by GitOps Toolkit.
This report presents the forensic synthetic code analysis of fluxcd/flux2, a Go project with 8,273 GitHub stars. SynthScan v2.0 examined 58,639 lines of code across 612 source files, recording 84 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 4.8 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 84 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 |
| 12 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 |