vCluster creates tenant clusters: fully isolated environments delivered as managed Kubernetes, or as the foundation for Slurm, Ray, Run:ai and inference clusters. Each gets its own API server, CRDs and RBAC, and runs on an existing cluster or standalone on bare metal. CNCF Certified Kubernetes.
This report summarizes scanner evidence for loft-sh/vcluster, a Go project with 11,370 GitHub stars. SynthScan examined 181,481 lines of code across 982 source files, recording 96 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.8 (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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 67 finding(s).
Are imports declared and package/API names verified? 29 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 96 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 96 distinct pattern matches across 6 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 |
|---|---|---|---|---|
| CRITICAL | pkg/config/config.go | 124 | OverrideHostsContainerImage: v.Sync.ToHost.Pods.RewriteHosts.InitContainer.Image.String(), | CODE |
| CRITICAL | pkg/mappings/resources/gateways.go | 108 | return ctx.Config.Sync.FromHost.Gateways.Selector.Matches(obj) | CODE |
| CRITICAL | pkg/controllers/resources/gatewayclasses/syncer.go | 55 | matches, err := ctx.Config.Sync.FromHost.GatewayClasses.Selector.Matches(event.Host) | CODE |
| CRITICAL | pkg/controllers/resources/gatewayclasses/syncer.go | 80 | matches, err := ctx.Config.Sync.FromHost.GatewayClasses.Selector.Matches(event.Host) | CODE |
| CRITICAL | pkg/controllers/resources/runtimeclasses/syncer.go | 52 | matches, err := ctx.Config.Sync.FromHost.RuntimeClasses.Selector.Matches(event.Host) | CODE |
| CRITICAL | pkg/controllers/resources/runtimeclasses/syncer.go | 74 | matches, err := ctx.Config.Sync.FromHost.RuntimeClasses.Selector.Matches(event.Host) | CODE |
| CRITICAL | pkg/controllers/resources/priorityclasses/syncer.go | 82 | matches, err := ctx.Config.Sync.FromHost.PriorityClasses.Selector.Matches(event.Host) | CODE |
| CRITICAL | pkg/controllers/resources/priorityclasses/syncer.go | 122 | matches, err := ctx.Config.Sync.FromHost.PriorityClasses.Selector.Matches(event.Host) | CODE |
| CRITICAL | …controllers/resources/persistentvolumeclaims/syncer.go | 326 | if !ctx.Config.Sync.FromHost.StorageClasses.Enabled.Bool() || | CODE |
| CRITICAL | …controllers/resources/persistentvolumeclaims/syncer.go | 327 | ctx.Config.Sync.FromHost.StorageClasses.Selector.Empty() || | CODE |
| CRITICAL | …controllers/resources/persistentvolumeclaims/syncer.go | 349 | matches, err := ctx.Config.Sync.FromHost.StorageClasses.Selector.Matches(pStorageClass) | CODE |
| CRITICAL | pkg/controllers/resources/ingresses/syncer.go | 142 | ctx.Config.Sync.FromHost.IngressClasses.Selector.Empty() || | CODE |
| CRITICAL | pkg/controllers/resources/ingresses/syncer.go | 164 | matches, err := ctx.Config.Sync.FromHost.IngressClasses.Selector.Matches(pIngressClass) | CODE |
| CRITICAL | pkg/controllers/resources/pods/syncer.go | 612 | ctx.Config.Sync.FromHost.PriorityClasses.Selector.Empty() || | CODE |
| CRITICAL | pkg/controllers/resources/pods/syncer.go | 634 | matches, err := ctx.Config.Sync.FromHost.PriorityClasses.Selector.Matches(pPriorityClass) | CODE |
| CRITICAL | pkg/controllers/resources/pods/syncer.go | 667 | ctx.Config.Sync.FromHost.RuntimeClasses.Selector.Empty() || | CODE |
| CRITICAL | pkg/controllers/resources/pods/syncer.go | 689 | matches, err := ctx.Config.Sync.FromHost.RuntimeClasses.Selector.Matches(pRuntimeClass) | CODE |
| CRITICAL | pkg/controllers/resources/gateways/syncer.go | 342 | matches, err := ctx.Config.Sync.FromHost.Gateways.Selector.Matches(gateway) | CODE |
| CRITICAL | pkg/controllers/resources/persistentvolumes/syncer.go | 337 | if !ctx.Config.Sync.FromHost.StorageClasses.Enabled.Bool() || | CODE |
| CRITICAL | pkg/controllers/resources/persistentvolumes/syncer.go | 338 | ctx.Config.Sync.FromHost.StorageClasses.Selector.Empty() || | CODE |
| CRITICAL | pkg/controllers/resources/persistentvolumes/syncer.go | 358 | matches, err := ctx.Config.Sync.FromHost.StorageClasses.Selector.Matches(pStorageClass) | CODE |
| CRITICAL | pkg/controllers/resources/storageclasses/host_syncer.go | 56 | matches, err := ctx.Config.Sync.FromHost.StorageClasses.Selector.Matches(event.Host) | CODE |
| CRITICAL | pkg/controllers/resources/storageclasses/host_syncer.go | 78 | matches, err := ctx.Config.Sync.FromHost.StorageClasses.Selector.Matches(event.Host) | CODE |
| CRITICAL | pkg/controllers/resources/ingressclasses/syncer.go | 52 | matches, err := ctx.Config.Sync.FromHost.IngressClasses.Selector.Matches(event.Host) | CODE |
| CRITICAL | pkg/controllers/resources/ingressclasses/syncer.go | 74 | matches, err := ctx.Config.Sync.FromHost.IngressClasses.Selector.Matches(event.Host) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .goreleaser.yaml | 1 | version: 2 | COMMENT |
| LOW | .goreleaser.yaml | 141 | - "^test:" | COMMENT |
| LOW | test/framework/framework.go | 61 | // HostClient is the kubernetes client of the current | COMMENT |
| LOW | config/config.go | 261 | // Warning: this feature takes precedence over a Pod's terminationGracePeriodSeconds value, and bypasses any blocked PD | COMMENT |
| LOW | config/config.go | 301 | // Nodes dictates the maximum number of NodeClaims owned by this NodePool | COMMENT |
| LOW | config/config.go | 341 | // When set, drifted nodes will begin draining even if there are pods blocking eviction. Draining will respect PDBs and | COMMENT |
| LOW | config/config.go | 641 | type NodeRegistration struct { | COMMENT |
| LOW | config/config.go | 1441 | type EnableSwitchWithResourcesMappings struct { | COMMENT |
| LOW | config/config.go | 1461 | // 3. To match a specific object in the control plane namespace and sync it to the same namespace with a different name | COMMENT |
| LOW | config/config.go | 2301 | // Connector specifies a secret located in a connected vCluster Platform that contains database server connection infor | COMMENT |
| LOW | config/config.go | 3041 | } | COMMENT |
| LOW | config/config.go | 3061 | // +listType=atomic | COMMENT |
| LOW | config/config.go | 3081 | // destination). If this field is present and contains at least one item, this rule | COMMENT |
| LOW | config/config.go | 3101 | COMMENT | |
| LOW | config/config.go | 3121 | COMMENT | |
| LOW | config/config.go | 3141 | // CIDR defines the allowed workload public egress destination. | COMMENT |
| LOW | config/config.go | 3241 | // matchPolicy defines how the "rules" list is used to match incoming requests. | COMMENT |
| LOW | config/config.go | 3261 | // TimeoutSeconds specifies the timeout for this webhook. | COMMENT |
| LOW | config/config.go | 3301 | // Path is an optional URL path which will be sent in any request to | COMMENT |
| LOW | config/config.go | 3601 | Resources []string `protobuf:"bytes,3,rep,name=resources" json:"resources,omitempty"` | COMMENT |
| LOW | config/config.go | 3621 | // A list of DNS search domains for host-name lookup. | COMMENT |
| LOW | chart/values.yaml | 41 | hybridScheduling: | COMMENT |
| LOW | chart/values.yaml | 101 | # BackendTLSPolicies configures BackendTLSPolicy sync to the control plane cluster. | COMMENT |
| LOW | chart/values.yaml | 161 | # Enabled defines if this option should be enabled. | COMMENT |
| LOW | chart/values.yaml | 181 | # byName: | COMMENT |
| LOW | chart/values.yaml | 201 | # Enabled defines if this option should be enabled. | COMMENT |
| LOW | chart/values.yaml | 221 | # "foo/*": "foo-in-virtual/*" | COMMENT |
| LOW | chart/values.yaml | 261 | # Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes | COMMENT |
| LOW | chart/values.yaml | 281 | # byName: | COMMENT |
| LOW | chart/values.yaml | 361 | backingStore: | COMMENT |
| LOW | chart/values.yaml | 381 | # and non-privileged user. A kine endpoint should be created using the database and user on Platform registratio | COMMENT |
| LOW | chart/values.yaml | 841 | enabled: true | COMMENT |
| LOW | chart/values.yaml | 961 | # within the same namespace as this virtual cluster and vCluster annotates the nodes with the virtual machine | COMMENT |
| LOW | chart/values.yaml | 981 | # two default storage classes leave it to Kubernetes which provisioner a claim without a storage class ends up o | COMMENT |
| LOW | chart/values.yaml | 1321 | # ClusterRole to assign to the service account. | COMMENT |
| LOW | chart/values.yaml | 1401 | file: | COMMENT |
| LOW | hack/test-config.yaml | 1 | version: v1beta1 | COMMENT |
| LOW | .github/secret_scanning.yml | 1 | # vendor/ is generated by `go mod vendor` and contains upstream documentation | COMMENT |
| LOW | .github/actionlint.yaml | 21 | # Exclude some noisy rules | COMMENT |
| LOW | e2e/test_core/lifecycle/test_connect.go | 21 | // | COMMENT |
| LOW | e2e/test_security/webhook/test_webhook.go | 361 | // NOTE: The old test suite also had "should be able to deny attaching pod" | COMMENT |
| LOW | pkg/snapshot/controller.go | 61 | staleExpiry time.Time | COMMENT |
| LOW | pkg/pro/snapshot_credentials.go | 21 | // | COMMENT |
| LOW | pkg/util/websocketproxy/websocketproxy.go | 41 | // Backend returns the backend URL which the proxy uses to reverse proxy | COMMENT |
| LOW | pkg/util/osutil/interrupt_windows.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | pkg/util/osutil/interrupt_unix.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | pkg/util/log/log_sink.go | 61 | } | COMMENT |
| LOW | pkg/util/portforward/portforward.go | 481 | _ = dataStream.Reset() | COMMENT |
| LOW | pkg/patcher/patcher.go | 101 | COMMENT | |
| LOW | pkg/patcher/apply.go | 341 | // suitable for use as a json.RawMessage. | COMMENT |
| LOW | pkg/cli/create_docker.go | 141 | COMMENT | |
| LOW | pkg/cli/util/args.go | 41 | NamespaceNameOnlyUseLine, NamespaceNameOnlyValidator = NamedPositionalArgsValidator(true, true, "NAMESPACE_NAME") | COMMENT |
| LOW | pkg/syncer/translator/sanitising_event_recorder.go | 21 | // Two passes are applied: | COMMENT |
| LOW | pkg/controllers/resources/pods/translate/hostpath.go | 41 | } | COMMENT |
| LOW | pkg/controllers/resources/pods/translate/hostpath.go | 61 | // type: "" | COMMENT |
| LOW | pkg/helm/labels.go | 1 | package helm | COMMENT |
| LOW | pkg/helm/labels.go | 21 | // } | COMMENT |
| LOW | pkg/helm/secrets.go | 61 | type Info struct { | COMMENT |
| LOW | pkg/helm/secrets.go | 81 | COMMENT | |
| LOW | pkg/helm/secrets.go | 101 | // +optional | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/auto-approve-bot-prs.yaml | 9 | # GITHUB_TOKEN permissions, never elevate them, and anything omitted defaults to | COMMENT |
| MEDIUM | .vscode/launch.json | 41 | //"trace": "verbose", // use for debugging problems with delve (breakpoints not working, etc.) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/util/blockingcacheclient/client.go | 238 | // TODO: implement DeleteAllOf | COMMENT |
| LOW | pkg/util/pluginhookclient/client.go | 196 | // TODO: implement DeleteAllOf | COMMENT |
| LOW | pkg/controllers/resources/pods/translate/translator.go | 860 | // TODO: implement support for using .namespaces together with the .namespaceSelector | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chart/values.schema.json | 5280 | "placeholder": { | CODE |
| LOW | pkg/certs/watcher_test.go | 32 | data = []byte("placeholder") | CODE |
| LOW | pkg/certs/watcher_test.go | 62 | data = []byte("placeholder") | CODE |
| LOW | pkg/certs/watcher_test.go | 92 | data = []byte("placeholder") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | assets/push-images.sh | 108 | # Check if the arch-specific image exists | COMMENT |