AI Slop Code Risk Monitor

lxc/incus

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

Powerful system container and virtual machine manager

3.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for lxc/incus, a Go project with 6,544 GitHub stars. SynthScan examined 589,511 lines of code across 1824 source files, recording 1654 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 3.0 (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.

3.0
Adjusted Signal
3.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.5K
Stars
Go
Language
589.5K
Lines of Code
1.8K
Files
1.7K
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 13.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 14.6/100 · LOW

Which changes need focused human review? 1654 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 4MEDIUM 95LOW 1555

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 1654 distinct pattern matches across 9 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 Block1524 hits · 1402 pts
SeverityFileLineSnippetContext
LOWcmd/generate-config/README.md21```COMMENT
LOWcmd/generate-config/README.md41COMMENT
LOWcmd/incus-migrate/cgo.go1// build +linux,cgoCOMMENT
LOWcmd/incusd/main_forkproxy.go1package mainCOMMENT
LOWcmd/incusd/main_forkproxy.go221 strerror(errno), sk_fds[0]);COMMENT
LOWcmd/incusd/storage_volumes_sftp.go21//COMMENT
LOWcmd/incusd/storage_volumes_sftp.go41// description: Storage volume nameCOMMENT
LOWcmd/incusd/storage_buckets_backup.go61// produces:COMMENT
LOWcmd/incusd/storage_buckets_backup.go81// description: Cluster member nameCOMMENT
LOWcmd/incusd/storage_buckets_backup.go101// description: Status codeCOMMENT
LOWcmd/incusd/storage_buckets_backup.go121COMMENT
LOWcmd/incusd/storage_buckets_backup.go141// required: trueCOMMENT
LOWcmd/incusd/storage_buckets_backup.go161// description: Response typeCOMMENT
LOWcmd/incusd/storage_buckets_backup.go261COMMENT
LOWcmd/incusd/storage_buckets_backup.go281// produces:COMMENT
LOWcmd/incusd/storage_buckets_backup.go301// name: targetCOMMENT
LOWcmd/incusd/storage_buckets_backup.go521// swagger:operation GET /1.0/storage-pools/{poolName}/buckets/{bucketName}/backups/{backupName} storage storage_pool_buCOMMENT
LOWcmd/incusd/storage_buckets_backup.go541// - in: pathCOMMENT
LOWcmd/incusd/storage_buckets_backup.go561// description: Sync responseCOMMENT
LOWcmd/incusd/storage_buckets_backup.go641// Rename a storage bucket backupCOMMENT
LOWcmd/incusd/storage_buckets_backup.go661// - in: pathCOMMENT
LOWcmd/incusd/storage_buckets_backup.go681// $ref: "#/definitions/StorageBucketBackupPost"COMMENT
LOWcmd/incusd/storage_buckets_backup.go781// swagger:operation DELETE /1.0/storage-pools/{poolName}/buckets/{bucketName}/backups/{backupName} storage storage_poolCOMMENT
LOWcmd/incusd/storage_buckets_backup.go801// type: stringCOMMENT
LOWcmd/incusd/storage_buckets_backup.go901}COMMENT
LOWcmd/incusd/storage_buckets_backup.go921// type: stringCOMMENT
LOWcmd/incusd/metadata.go21//COMMENT
LOWcmd/incusd/metadata.go41// type: integerCOMMENT
LOWcmd/incusd/network_allocations.go21)COMMENT
LOWcmd/incusd/network_allocations.go41// description: Project nameCOMMENT
LOWcmd/incusd/network_allocations.go61// example: SuccessCOMMENT
LOWcmd/incusd/main_forkcoresched.go1package mainCOMMENT
LOWcmd/incusd/api_cluster_group.go41 Get: APIEndpointAction{Handler: clusterGroupGet, AccessHandler: allowPermission(auth.ObjectTypeServer, auth.EntitlemCOMMENT
LOWcmd/incusd/api_cluster_group.go61// name: clusterCOMMENT
LOWcmd/incusd/api_cluster_group.go141 requestor := request.CreateRequestor(r)COMMENT
LOWcmd/incusd/api_cluster_group.go161// type: objectCOMMENT
LOWcmd/incusd/api_cluster_group.go181// example:COMMENT
LOWcmd/incusd/api_cluster_group.go201// ---COMMENT
LOWcmd/incusd/api_cluster_group.go221// description: Status codeCOMMENT
LOWcmd/incusd/api_cluster_group.go301// produces:COMMENT
LOWcmd/incusd/api_cluster_group.go321// type: stringCOMMENT
LOWcmd/incusd/api_cluster_group.go381 })COMMENT
LOWcmd/incusd/api_cluster_group.go401// - in: pathCOMMENT
LOWcmd/incusd/api_cluster_group.go501// - application/jsonCOMMENT
LOWcmd/incusd/api_cluster_group.go681// - application/jsonCOMMENT
LOWcmd/incusd/api_cluster_group.go901// - application/jsonCOMMENT
LOWcmd/incusd/api_cluster_group.go981 // It's important to ensure that all servers in the group match that baseline.COMMENT
LOWcmd/incusd/storage_volumes_bitmap.go41// - application/jsonCOMMENT
LOWcmd/incusd/storage_volumes_bitmap.go61// type: stringCOMMENT
LOWcmd/incusd/storage_volumes_bitmap.go81// description: Status descriptionCOMMENT
LOWcmd/incusd/storage_volumes_bitmap.go101// "409":COMMENT
LOWcmd/incusd/storage_volumes_bitmap.go121// - in: pathCOMMENT
LOWcmd/incusd/storage_volumes_bitmap.go141// responses:COMMENT
LOWcmd/incusd/storage_volumes_bitmap.go161// type: arrayCOMMENT
LOWcmd/incusd/storage_volumes_bitmap.go281// produces:COMMENT
LOWcmd/incusd/storage_volumes_bitmap.go301// name: projectCOMMENT
LOWcmd/incusd/storage_volumes_bitmap.go421//COMMENT
LOWcmd/incusd/storage_volumes_bitmap.go441// name: volumeNameCOMMENT
LOWcmd/incusd/storage_volumes_bitmap.go461// "200":COMMENT
LOWcmd/incusd/storage_volumes_bitmap.go481// "400":COMMENT
1464 more matches not shown…
Self-Referential Comments93 hits · 274 pts
SeverityFileLineSnippetContext
MEDIUMtest/suites/openfga.sh90 # Create an instance for testing the "instance -> user" relation.COMMENT
MEDIUMtest/suites/openfga.sh292 # Create the network and a restricted project sharing it.COMMENT
MEDIUMtest/suites/storage_profiles.sh39 # Create a new profile that provides a root device for some containers.COMMENT
MEDIUMtest/suites/storage_profiles.sh91 # Create a second profile.COMMENT
MEDIUMtest/suites/storage_profiles.sh95 # Create a third profileCOMMENT
MEDIUMtest/suites/network_zone.sh11 # Create a networkCOMMENT
MEDIUMtest/suites/network_zone.sh17 # Create the zonesCOMMENT
MEDIUMtest/suites/dependent_volumes.sh30 # Create a blank snapshot on the volume if the instance already has a snapshotCOMMENT
MEDIUMtest/suites/storage.sh28 # Create a storage volume with a descriptionCOMMENT
MEDIUM⚡test/suites/projects.sh246 # Create a project and switch to itCOMMENT
MEDIUM⚡test/suites/projects.sh256 # Create a container in the projectCOMMENT
MEDIUM⚡test/suites/projects.sh261 # Create a backup.COMMENT
MEDIUM⚡test/suites/projects.sh344 # Create a new project, without the features.profiles config.COMMENT
MEDIUM⚡test/suites/projects.sh352 # Create a containerCOMMENT
MEDIUM⚡test/suites/projects.sh362 # Create a container in the default project as well.COMMENT
MEDIUMtest/suites/projects.sh16 # Create a projectCOMMENT
MEDIUMtest/suites/projects.sh40 # Create a second projectCOMMENT
MEDIUMtest/suites/projects.sh63 # Create a project with a descriptionCOMMENT
MEDIUMtest/suites/projects.sh79 # Create a project and switch to itCOMMENT
MEDIUMtest/suites/projects.sh90 # Create a container in the projectCOMMENT
MEDIUMtest/suites/projects.sh127 # Create a container with the same name in the default projectCOMMENT
MEDIUMtest/suites/projects.sh155 # Create a couple of projectsCOMMENT
MEDIUMtest/suites/projects.sh159 # Create a container in the projectCOMMENT
MEDIUMtest/suites/projects.sh197 # Create a project and switch to itCOMMENT
MEDIUMtest/suites/projects.sh207 # Create a container in the projectCOMMENT
MEDIUMtest/suites/projects.sh224 # Create a snapshot in this project and another one in the default projectCOMMENT
MEDIUMtest/suites/projects.sh286 # Create a project and switch to itCOMMENT
MEDIUMtest/suites/projects.sh294 # Create a profile in this projectCOMMENT
MEDIUMtest/suites/projects.sh383 # Create a project and switch to itCOMMENT
MEDIUMtest/suites/projects.sh441 # Create a new project, without the features.images config.COMMENT
MEDIUMtest/suites/projects.sh540 # Create a container in the projectCOMMENT
MEDIUMtest/suites/projects.sh557 # Create a projectCOMMENT
MEDIUMtest/suites/projects.sh609 # Create a couple of containers in the project.COMMENT
MEDIUMtest/suites/projects.sh642 # Create a new profile which does not define "limits.memory".COMMENT
MEDIUMtest/suites/projects.sh759 # Create a custom volume without any size property defined.COMMENT
MEDIUMtest/suites/projects.sh852 # Create a couple of containers in the project.COMMENT
MEDIUMtest/suites/projects.sh886 # Create a project and switch to itCOMMENT
MEDIUMtest/suites/projects.sh1112 # Create a profile defining resource allocationsCOMMENT
MEDIUMtest/suites/clustering_instance_placement_scriptlet.sh136 # Create an instanceCOMMENT
MEDIUMtest/suites/network_ovn.sh1859 # Create an ACL that allows ICMPv4 and ICMPv6 ping to incusbr0 IP.COMMENT
MEDIUMtest/suites/network_ovn.sh2315 # Create the parent network and two children sharing its logical router.COMMENT
MEDIUMtest/suites/interception.sh46 # Create a device node in the allowed device source path.COMMENT
MEDIUMtest/suites/image.sh165 # Create an alias for the received imageCOMMENT
MEDIUMtest/suites/backup.sh334 # Create a projectsCOMMENT
MEDIUMtest/suites/backup.sh549 # Create a projectCOMMENT
MEDIUMtest/suites/backup.sh697 # Create a project.COMMENT
MEDIUMtest/suites/backup.sh1039 # Create an instance with snapshot.COMMENT
MEDIUMtest/suites/filemanip.sh277 # Create a new empty file.COMMENT
MEDIUMtest/suites/filemanip.sh306 # Create a directory and play with our options.COMMENT
MEDIUMtest/suites/filemanip.sh319 # Create a symlink and play with our options.COMMENT
MEDIUMtest/suites/filemanip.sh335 # Create a symlink to a directory and play with our options.COMMENT
MEDIUMtest/suites/filemanip.sh367 # Create a directory and play with our options.COMMENT
MEDIUMtest/suites/filemanip.sh380 # Create a symlink and play with our options.COMMENT
MEDIUMtest/suites/filemanip.sh392 # Create a symlink to a directory and play with our options.COMMENT
MEDIUMtest/suites/storage_volume_filemanip.sh127 # Create a new empty file.COMMENT
MEDIUMtest/suites/storage_volume_filemanip.sh156 # Create a directory and play with our options.COMMENT
MEDIUMtest/suites/storage_volume_filemanip.sh169 # Create a symlink and play with our options.COMMENT
MEDIUMtest/suites/storage_volume_filemanip.sh185 # Create a symlink to a directory and play with our options.COMMENT
MEDIUMtest/suites/storage_volume_filemanip.sh217 # Create a directory and play with our options.COMMENT
MEDIUMtest/suites/storage_volume_filemanip.sh230 # Create a symlink and play with our options.COMMENT
33 more matches not shown…
Synthetic Comment Markers4 hits · 28 pts
SeverityFileLineSnippetContext
HIGHcmd/incusd/network_peers.go224 // Use fmt.Errorf as requested, though logging might be preferable in some contexts.COMMENT
HIGHinternal/server/db/cluster/schema.go5// This code was generated by the schema.DotGo function. If you need toCOMMENT
HIGHinternal/server/db/schema/update.go66 "// This code was generated by the schema.DotGo function. If you need to\n" +CODE
HIGHinternal/server/db/node/schema.go5// This code was generated by the schema.DotGo function. If you need toCOMMENT
Redundant / Tautological Comments13 hits · 20 pts
SeverityFileLineSnippetContext
LOWtest/suites/container_devices_gpu.sh45 # Check if nvidia GPU exists.COMMENT
LOWtest/suites/migration.sh332 # Check if the file got refreshed to a different remote.COMMENT
LOWtest/suites/migration.sh340 # Check if the file got refreshed locally.COMMENT
LOWtest/suites/image_acl.sh18 # Check if the ACLs are still presentCOMMENT
LOWtest/suites/network_ovn.sh1892 # Assign ACL to OVN network.COMMENT
LOWtest/suites/backup.sh617 # Check if hyphens cause issues when creating backupsCOMMENT
LOWtest/suites/kernel_limits.sh6 # Set it to a limit < 65536 because older systemd's do not have my nofileCOMMENT
LOWtest/suites/incremental_copy.sh35 # Set size to check this is supported during copy.COMMENT
LOWtest/suites/clustering.sh830 # Set member_config to match `spawn_incus_and_join_cluster` for 'data' and `driver_config` for 'pool1'.COMMENT
LOWtest/suites/remote.sh210 # Check if we can see instancesCOMMENT
LOWtest/suites/remote.sh226 # Check if we can see instances in the foo projectCOMMENT
LOWtest/includes/storage.sh143# Check if block.create_options are applied.COMMENT
LOWtest/includes/incusd.sh135 # Check if already killedCOMMENT
Fake / Example Data11 hits · 16 pts
SeverityFileLineSnippetContext
LOW⚡cmd/incus/utils_properties_test.go100 Name: "John Doe",CODE
LOW⚡cmd/incus/utils_properties_test.go104 setFieldByJSONTag(&ts, "name", "Jane Doe")CODE
LOW⚡cmd/incus/utils_properties_test.go105 s.Equal("Jane Doe", ts.Name)CODE
LOW⚡cmd/incus/utils_properties_test.go110 Name: "John Doe",CODE
LOW⚡cmd/incus/utils_properties_test.go114 setFieldByJSONTag(&ts, "invalid name", "Jane Doe")CODE
LOW⚡cmd/incus/utils_properties_test.go115 s.NotEqual(ts.Name, "Jane Doe")CODE
LOW⚡cmd/incus/utils_properties_test.go120 Name: "John Doe",CODE
LOWcmd/incus/utils_properties_test.go131 Name: "John Doe",CODE
LOW⚡cmd/incus/utils_properties_test.go150 "name": "John Doe",CODE
LOW⚡cmd/incus/utils_properties_test.go160 s.Equal("John Doe", ws.Name)CODE
LOW⚡cmd/incus/utils_properties_test.go170 "name": "John Doe",CODE
Slop Phrases3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMtest/mini-oidc/storage/storage.go20// the corresponding private key is in the service-key1.json (for demonstration purposes)COMMENT
MEDIUMtest/mini-oidc/storage/storage.go159 // for demonstration purposes we'll check we'll have a simple user store andCOMMENT
LOW…/server/instance/drivers/agent-loader/install-macos.sh35echo "Don't forget to allow full disk access to sh."CODE
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/suites/init_preseed.sh16 # creating a zfs storage pool, otherwise just use dir.COMMENT
LOWtest/suites/storage_driver_truenas.sh194 # FIXME: when deletes aren't so slow, just use `incus rm -f c1 c3 c11 c21 c4 c5`COMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdoc/conf.py1CODE
LOWdoc/conf.py4CODE
LOWdoc/conf.py6CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ernal/server/storage/drivers/driver_linstor_volumes.go994 // snapshot, we need to check if the given snapshot is the latest one.COMMENT