A simple to deploy but feature rich S3 object storage server for your filesystem
This report presents the forensic synthetic code analysis of versity/versitygw, a Go project with 2,594 GitHub stars. SynthScan v2.0 examined 171,339 lines of code across 680 source files, recording 887 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 8.2 places this repository in the Low AI signal 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 887 distinct pattern matches across 9 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 | chart/values.yaml | 299 | # Create a cert-manager Certificate resource to automatically provision TLS. | COMMENT |
| MEDIUM | tests/setup.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3cmd_file_count.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_retention.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_list_multipart_uploads.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_put_bucket_policy.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3api_multipart.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_list_buckets.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_acl.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/versity.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3api_policy_object.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_delete_objects.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_file.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_user_aws.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_list_parts.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_setup_remove_static.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3api_policy_bucket.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_put_bucket_versioning.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_delete_bucket.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_list_objects.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_head_bucket.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_bucket.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_put_object_tagging.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_delete_object.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_mc.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_user_s3cmd.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_head_object.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/run_all.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_common_acl.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_get_object_legal_hold.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_put_object_lock_config.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_put_object_legal_hold.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_get_bucket_policy_status.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/report.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_attributes.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/run.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/remove_static.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3api_policy.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/setup_unit.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_common.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_put_bucket_tagging.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_get_object.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_command.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/setup_mc.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_mc_file_count.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_multipart.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_not_implemented.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_create_bucket.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3_file_count.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3api_root_inner.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3cmd.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_xml.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/env.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_delete_bucket_ownership_controls.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_s3api_bucket.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_copy_object.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_delete_bucket_tagging.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/setup_static.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| MEDIUM | tests/test_rest_put_object.sh | 4 | # This file is licensed under the Apache License, Version 2.0 | COMMENT |
| 190 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | runtests.sh | 201 | COMMENT | |
| LOW | runtests.sh | 221 | # | COMMENT |
| LOW | runtests.sh | 241 | # -i=/tmp/covdata,/tmp/https.covdata,/tmp/versioning.covdata,/tmp/versioning.https.covdata,/tmp/noacl.covdata \ | COMMENT |
| LOW | s3api/admin-router.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/server.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/router_test.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/router_cors_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/admin-server.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/server_test.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/router.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/apply-default-cors-preflight_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/checksum.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/apply-default-cors.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/apply-default-cors-preflight.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/body-reader.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/logger.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/rate-limiter.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/apply-default-cors_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/request-ids_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/apply-bucket-cors-preflight_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/apply-bucket-cors.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/public-bucket.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/md5_test.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/url-decoder.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/bucket-object-name-validator.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/object-post-auth_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/router-utilities.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/apply-bucket-cors-preflight.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/apply-bucket-cors-preflight.go | 21 | "github.com/versity/versitygw/backend" | COMMENT |
| LOW | s3api/middlewares/authentication.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/host-style-parser.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/admin.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/request-ids.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/set-default-keys.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/object-post-auth.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/middlewares/presign-auth.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/middlewares/acl-parser.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/utils/csum-reader.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/utils/presign-auth-reader.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/utils/utils_test.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/utils/request_ids.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/utils/auth_test.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/utils/crc.go | 1 | // Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler | COMMENT |
| LOW | s3api/utils/chunk-reader_test.go | 1 | // Copyright 2024 Versity Software | COMMENT |
| LOW | s3api/utils/presign-auth-reader_test.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/utils/path_test.go | 1 | // Copyright 2025 Versity Software | COMMENT |
| LOW | s3api/utils/multi_listener.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/utils/multi_listener.go | 281 | SocketPerm os.FileMode | COMMENT |
| LOW | s3api/utils/unsigned-chunk-reader_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/utils/crc_test.go | 1 | // Copyright 2025 Versity Software | COMMENT |
| LOW | s3api/utils/utils.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/utils/signed_headers_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/utils/precondition.go | 1 | // Copyright 2023 Versity Software | COMMENT |
| LOW | s3api/utils/request_ids_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/utils/chunk-reader.go | 1 | // Copyright 2024 Versity Software | COMMENT |
| LOW | s3api/utils/unsigned-chunk-reader.go | 1 | // Copyright 2024 Versity Software | COMMENT |
| LOW | s3api/utils/unsigned-chunk-reader.go | 61 | chunkDataLeft int64 | COMMENT |
| LOW | s3api/utils/csum-reader_test.go | 1 | // Copyright 2025 Versity Software | COMMENT |
| LOW | s3api/utils/multipart_reader.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| LOW | s3api/utils/multi_listener_test.go | 1 | // Copyright 2026 Versity Software | COMMENT |
| 551 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | runtests.sh | 207 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | runtests.sh | 217 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | runtests.sh | 235 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | runtests.sh | 251 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/walk_bench_test.go | 293 | // ── Small (5 k files) ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | backend/walk_bench_test.go | 401 | // ── Large (100 k files) ────────────────────────────────────────── | COMMENT |
| MEDIUM | backend/walk_bench_test.go | 497 | // ── Huge (500 k files) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | backend/walk_bench_test.go | 522 | // ── Timing sanity check ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | debuglogger/logger.go | 177 | // e.g ┌────────────────[ RESPONSE HEADERS ]────────────────┐ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/tags/get_test_info.py | 12 | def print_file_test_info_matching(path: str, mode: str, want: list[str]): | CODE |
| LOW | tests/tags/list_tags.py | 79 | def list_all_tag_descriptions(data: dict) -> None: | CODE |
| LOW | webui/web/index.html | 402 | function populateAdminEndpointDropdown() { | CODE |
| LOW | webui/web/explorer.html | 1477 | function addInputBucketToFavorites() { | CODE |
| LOW | webui/web/explorer.html | 2434 | function updateObjectMetadataValue(index, value) { | CODE |
| LOW | webui/web/explorer.html | 3124 | async function confirmDeleteBucketAction() { | CODE |
| LOW | webui/web/explorer.html | 3673 | async function openVersioningModalForBucket(bucketName) { | CODE |
| LOW | webui/web/explorer.html | 3795 | async function openObjectLockModalForBucket(bucketName) { | CODE |
| LOW | webui/web/explorer.html | 4334 | async function openMultipartUploadsModalForBucket(bucketName) { | CODE |
| LOW | webui/web/explorer.html | 4348 | async function openMultipartUploadsModal() { | CODE |
| LOW | webui/web/buckets.html | 400 | function populateOwnerFilterDropdown(owners) { | CODE |
| LOW | webui/web/buckets.html | 453 | function populateBucketOwnerDropdown(users) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/codeql.yml | 63 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .goreleaser.yaml | 37 | # Set this to true if you want all files in the archive to be in a single directory. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | auth/object_lock.go | 180 | // first we need to check if user has 's3:BypassGovernanceRetention' | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chart/values.yaml | 264 | # TODO: implement other IAM backend | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui/web/assets/js/tailwind.js | 27 | `),v=y.length-1,v>0?(k=a+v,S=w-y[v].length):(k=a,S=s),T=D.comment,a=k,p=k,d=w-S):c===D.slash?(w=o,T=c,p=a,d=o-s,l=w+1):( | CODE |