cloud-native distributed storage
This report summarizes scanner evidence for cubefs/cubefs, a Go project with 5,683 GitHub stars. SynthScan examined 620,092 lines of code across 2345 source files, recording 1864 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 3.3 (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? 1820 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 56 finding(s).
Which changes need focused human review? 1864 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 1864 distinct pattern matches across 11 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 |
|---|---|---|---|---|
| LOW | cubefs.go | 1 | // Copyright 2024 The CubeFS Authors. | COMMENT |
| LOW | objectnode/acl_handler.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/webhook.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/post_policy_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/fs_store.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/cors.go | 1 | // Copyright 2020 The CubeFS Authors. | COMMENT |
| LOW | objectnode/audit.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/api_handler.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/auth_signature_chunk.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/policy_stringset.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/acl_api.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/policy_test.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/policy_stringlikeop_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/server.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/server.go | 61 | // The ObjectNode needs to communicate with the Master during the startup and running process to update the | COMMENT |
| LOW | objectnode/server.go | 81 | configStrict = "strict" | COMMENT |
| LOW | objectnode/server.go | 101 | // Example: | COMMENT |
| LOW | objectnode/server.go | 121 | // "enable": true, | COMMENT |
| LOW | objectnode/auth_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/object_lock.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/api_handler_object.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/fs_store_user.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/auth.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/api_handler_bucket.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/sts.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/auth_query_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/auth_signature_chunk_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/policy_handler_test.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/chunk.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/auth_header_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/s3api_name.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/audit_webhook_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/etag.go | 1 | // Copyright 2020 The CubeFS Authors. | COMMENT |
| LOW | objectnode/cors_handler.go | 1 | // Copyright 2020 The CubeFS Authors. | COMMENT |
| LOW | objectnode/ratelimit.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/auth_signature_v4.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/acl_test.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/policy.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/api_handler_multipart.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/sts_handler.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/etag_test.go | 1 | // Copyright 2020 The CubeFS Authors. | COMMENT |
| LOW | objectnode/fs_store_object.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/audit_kafka.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/policy_statement.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/auth_signature_v2_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/auth_header.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/result_error.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/acl_api_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/util.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/wildcard_test.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/fs_volume_meta.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/post_policy.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/multipart_form_test.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/auth_signature_v2.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/kafka.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/policy_valueset.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/lifecycle.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| LOW | objectnode/api_middleware.go | 1 | // Copyright 2019 The CubeFS Authors. | COMMENT |
| LOW | objectnode/api_middleware.go | 201 | r.Body = NewClosableChunkedReader(r.Body) | COMMENT |
| LOW | objectnode/http_transport.go | 1 | // Copyright 2023 The CubeFS Authors. | COMMENT |
| 1713 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | blobstore/shardnode/storage/disk.go | 349 | nodeHost, err := d.cfg.RaftConfig.TransportConfig.Resolver.Resolve(ctx, uint64(node.DiskID)) | CODE |
| CRITICAL | blobstore/shardnode/storage/disk.go | 400 | nodeHost, err := d.cfg.RaftConfig.TransportConfig.Resolver.Resolve(ctx, uint64(d.diskInfo.DiskID)) | CODE |
| CRITICAL⚡ | docs/source/ecology/hadoop.md | 185 | at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2349) | CODE |
| CRITICAL⚡ | docs/source/ecology/hadoop.md | 186 | at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2790) | CODE |
| CRITICAL⚡ | docs/source/ecology/hadoop.md | 187 | at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2810) | CODE |
| CRITICAL⚡ | docs/source/ecology/hadoop.md | 191 | at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:387) | CODE |
| CRITICAL⚡ | docs-zh/source/ecology/hadoop.md | 185 | at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2349) | CODE |
| CRITICAL⚡ | docs-zh/source/ecology/hadoop.md | 186 | at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2790) | CODE |
| CRITICAL⚡ | docs-zh/source/ecology/hadoop.md | 187 | at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2810) | CODE |
| CRITICAL⚡ | docs-zh/source/ecology/hadoop.md | 191 | at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:387) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/userTest.sh | 183 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 185 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 273 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 275 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 360 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 362 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 391 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 393 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 428 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 430 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 464 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 466 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 550 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 552 | #-------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 801 | #---------------------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 803 | #---------------------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 890 | #--------------------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 892 | #--------------------------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 1064 | #----------------------------------- | COMMENT |
| MEDIUM | test/userTest.sh | 1066 | #----------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/s3tests/test_object_head.py | 49 | def test_head_object_if_match(self): | CODE |
| LOW | docker/s3tests/test_object_head.py | 75 | def test_head_object_if_modified_since(self): | CODE |
| LOW | docker/s3tests/test_object_head.py | 106 | def test_head_object_if_none_match(self): | CODE |
| LOW | docker/s3tests/test_object_head.py | 135 | def test_head_object_if_unmodified_since(self): | CODE |
| LOW | docker/s3tests/test_signature.py | 202 | def test_signature_volume_credential(self): | CODE |
| LOW | docker/s3tests/test_object_put.py | 79 | def __do_test_put_objects_override(self, file_size, file_num): | CODE |
| LOW | docker/s3tests/test_object_put.py | 100 | def __do_test_put_objects_independent(self, file_size, file_num): | CODE |
| LOW | docker/s3tests/test_object_put.py | 306 | def test_put_object_with_metadata(self): | CODE |
| LOW | docker/s3tests/test_transfer.py | 143 | def __simulation_java_parallel_download(self, object_name,part_size_const, file_size): | CODE |
| LOW | docker/s3tests/test_transfer.py | 185 | def test_simulation_part_number(self): | CODE |
| LOW | docker/s3tests/test_copy_object.py | 196 | def test_copy_modify_metadata(self): | CODE |
| LOW⚡ | docker/s3tests/base.py | 147 | def assert_head_bucket_result(self, result): | CODE |
| LOW⚡ | docker/s3tests/base.py | 154 | def assert_get_bucket_location_result(self, result, location=None): | CODE |
| LOW⚡ | docker/s3tests/base.py | 164 | def assert_get_bucket_cors_result(self, result, cors_config=None): | CODE |
| LOW⚡ | docker/s3tests/base.py | 171 | def assert_cors_request_result(self, result, response_code=200, response_origin=None, response_method=None): | CODE |
| LOW⚡ | docker/s3tests/base.py | 179 | def assert_head_object_result(self, result, etag=None, content_type=None, content_length=None, metadata=None): | CODE |
| LOW | docker/s3tests/base.py | 212 | def assert_get_object_range_result(self, result, status_code=206, content_length=None, content_range=None): | CODE |
| LOW⚡ | docker/s3tests/base.py | 239 | def assert_delete_object_result(self, result): | CODE |
| LOW⚡ | docker/s3tests/base.py | 242 | def assert_delete_objects_result(self, result): | CODE |
| LOW⚡ | docker/s3tests/base.py | 245 | def assert_put_tagging_result(self, result): | CODE |
| LOW⚡ | docker/s3tests/base.py | 248 | def assert_get_tagging_result(self, result, expect_tag_set=None): | CODE |
| LOW⚡ | docker/s3tests/base.py | 260 | def assert_delete_tagging_result(self, result): | CODE |
| LOW⚡ | docker/s3tests/base.py | 263 | def assert_get_bucket_acl_result(self, result, acl): | CODE |
| LOW⚡ | docker/s3tests/base.py | 268 | def assert_get_bucket_policy_result(self, result, policy=None): | CODE |
| LOW | docker/s3tests/base.py | 281 | def assert_result_status_code(self, result, status_code=200): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | blobstore/blobnode/core/disk/disk_test.go | 887 | // Step 1: Create disk with NodeID = 0 (simulating old version format) | COMMENT |
| LOW⚡ | blobstore/blobnode/core/disk/disk_test.go | 920 | // Step 2: Reload disk with new NodeID (simulating upgrade to v1.5.2) | COMMENT |
| LOW⚡ | blobstore/blobnode/core/disk/disk_test.go | 930 | // Step 3: Verify NodeID is updated | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 125 | // Step 1: Get all disks and build node info | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 305 | // Step 2: Get volume info using ListVolume | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 330 | // Step 3: Parse volume units to find affected volumes and build chunk distribution | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 371 | // Step 4: Greedy algorithm to find maximum safe migration set | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 466 | // Step 5: Output results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | blobstore/blobnode/core/disk/disk_test.go | 887 | // Step 1: Create disk with NodeID = 0 (simulating old version format) | COMMENT |
| LOW⚡ | blobstore/blobnode/core/disk/disk_test.go | 920 | // Step 2: Reload disk with new NodeID (simulating upgrade to v1.5.2) | COMMENT |
| LOW⚡ | blobstore/blobnode/core/disk/disk_test.go | 930 | // Step 3: Verify NodeID is updated | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 125 | // Step 1: Get all disks and build node info | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 305 | // Step 2: Get volume info using ListVolume | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 330 | // Step 3: Parse volume units to find affected volumes and build chunk distribution | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 371 | // Step 4: Greedy algorithm to find maximum safe migration set | COMMENT |
| LOW | blobstore/cli/clustermgr/node.go | 466 | // Step 5: Output results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/s3tests/test_cors.py | 66 | except Exception as e: | CODE |
| LOW | docker/s3tests/test_bucket_policy.py | 43 | except Exception as e: | CODE |
| LOW | docker/s3tests/test_bucket_policy.py | 57 | except Exception as e: | CODE |
| LOW | docker/s3tests/test_object_get_range.py | 76 | except Exception as e: | CODE |
| LOW | docker/s3tests/test_object_head.py | 67 | except Exception as e: | CODE |
| LOW | docker/s3tests/test_object_head.py | 98 | except Exception as e: | CODE |
| LOW | docker/s3tests/test_object_head.py | 127 | except Exception as e: | CODE |
| LOW | docker/s3tests/test_object_head.py | 155 | except Exception as e: | CODE |
| LOW | docker/s3tests/test_object_put.py | 257 | except Exception as e: | CODE |
| LOW | docker/s3tests/test_object_put.py | 290 | except Exception as e: | CODE |
| MEDIUM | blobstore/cli/common/json.go | 59 | return fmt.Sprint("Error: ", err) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/check_pull_request.yml | 41 | # Commits spec, you can use these options to customize the parsing of the type, scope and | COMMENT |
| MEDIUM | .github/workflows/codeql.yml | 57 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how | COMMENT |
| LOW | depends/jacobsa/fuse/fusetesting/readdir.go | 44 | // Don't forget to close it later. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/s3tests/test_cors.py | 19 | CODE | |
| LOW | docker/s3tests/test_object_get_range.py | 18 | CODE | |
| LOW | docker/s3tests/test_object_list_page.py | 17 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/s3tests/test_object_list_page.py | 91 | CODE | |
| LOW | docker/s3tests/test_object_list_page.py | 192 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | depends/spf13/cobra/fish_completions.go | 72 | # Check if the command-line is already provided. This is useful for testing. | COMMENT |