Full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob
This report presents the forensic synthetic code analysis of drakkan/sftpgo, a Go project with 12,278 GitHub stars. SynthScan v2.0 examined 190,576 lines of code across 353 source files, recording 294 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 2.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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 294 distinct pattern matches across 5 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 |
|---|---|---|---|---|
| LOW | main.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/jwt/jwt.go | 1 | // Copyright (C) 2025 Nicola Murino | COMMENT |
| LOW | internal/cmd/install_windows.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/gen.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/portable_disabled.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/start_windows.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/resetprovider.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/rotatelogs_windows.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/revertprovider.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/uninstall_windows.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/service_windows.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/gencompletion.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/serve.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/signals_windows.go | 1 | // Copyright (C) 2025 Nicola Murino | COMMENT |
| LOW | internal/cmd/genman.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/acme.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/signals_unix.go | 1 | // Copyright (C) 2025 Nicola Murino | COMMENT |
| LOW | internal/cmd/stop_windows.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/portable.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/resetpwd.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/ping.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/status_windows.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/initprovider.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/reload_windows.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/root.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/cmd/smtptest.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/kms/basesecret.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/kms/local.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/kms/builtin.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/kms/kms.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/httpdtest/httpfsimpl.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/httpdtest/httpdtest.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/httpfs.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/sys_windows.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/statvfs_linux.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/statvfs_fallback.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/statvfs_unix.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/gcsfs.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/osfs.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/gcsfs_disabled.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/filesystem.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/folder.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/azblobfs_disabled.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/vfs.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/azblobfs.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/cryptfs.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/fileinfo.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/sys_unix.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/sftpfs.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/s3fs_disabled.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/vfs/s3fs.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/httpclient/httpclient.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/sftpd/handler.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/sftpd/server.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/sftpd/server.go | 121 | COMMENT | |
| LOW | internal/sftpd/server.go | 141 | // Each certificate can be defined as a path relative to the configuration directory or an absolute one. | COMMENT |
| LOW | internal/sftpd/server.go | 161 | // Path to a file containing the revoked user certificates. | COMMENT |
| LOW | internal/sftpd/server.go | 181 | // Please do accurate tests yourself before enabling SCP and let us known | COMMENT |
| LOW | internal/sftpd/cryptfs_test.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| LOW | internal/sftpd/ssh_cmd.go | 1 | // Copyright (C) 2019 Nicola Murino | COMMENT |
| 204 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | internal/webdavd/internal_test.go | 1503 | err = cachedUser.User.FsConfig.S3Config.AccessSecret.Encrypt() | CODE |
| CRITICAL | internal/webdavd/internal_test.go | 1505 | err = cachedUser.User.FsConfig.S3Config.SSECustomerKey.Encrypt() | CODE |
| CRITICAL⚡ | internal/webdavd/internal_test.go | 1517 | assert.True(t, cachedUser.User.FsConfig.S3Config.AccessSecret.IsEncrypted()) | CODE |
| CRITICAL⚡ | internal/webdavd/internal_test.go | 1518 | err = cachedUser.User.FsConfig.S3Config.AccessSecret.Decrypt() | CODE |
| CRITICAL⚡ | internal/webdavd/internal_test.go | 1520 | assert.True(t, cachedUser.User.FsConfig.S3Config.SSECustomerKey.IsEncrypted()) | CODE |
| CRITICAL⚡ | internal/webdavd/internal_test.go | 1521 | err = cachedUser.User.FsConfig.S3Config.SSECustomerKey.Decrypt() | CODE |
| CRITICAL⚡ | internal/webdavd/internal_test.go | 1530 | assert.False(t, cachedUser.User.FsConfig.S3Config.AccessSecret.IsEncrypted()) | CODE |
| CRITICAL⚡ | internal/webdavd/internal_test.go | 1531 | assert.False(t, cachedUser.User.FsConfig.S3Config.SSECustomerKey.IsEncrypted()) | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 165 | payload := s.PortableUser.FsConfig.S3Config.AccessSecret.GetPayload() | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 168 | payload := s.PortableUser.FsConfig.GCSConfig.Credentials.GetPayload() | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 171 | payload := s.PortableUser.FsConfig.AzBlobConfig.AccountKey.GetPayload() | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 173 | payload = s.PortableUser.FsConfig.AzBlobConfig.SASURL.GetPayload() | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 176 | payload := s.PortableUser.FsConfig.CryptConfig.Passphrase.GetPayload() | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 179 | payload := s.PortableUser.FsConfig.SFTPConfig.Password.GetPayload() | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 181 | payload = s.PortableUser.FsConfig.SFTPConfig.PrivateKey.GetPayload() | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 183 | payload = s.PortableUser.FsConfig.SFTPConfig.KeyPassphrase.GetPayload() | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 186 | payload := s.PortableUser.FsConfig.HTTPConfig.Password.GetPayload() | CODE |
| CRITICAL⚡ | internal/service/service_portable.go | 188 | payload = s.PortableUser.FsConfig.HTTPConfig.APIKey.GetPayload() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openapi/swagger-ui/swagger-ui-standalone-preset.js | 2 | !function webpackUniversalModuleDefinition(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"fu | CODE |
| LOW | templates/webclient/files.html | 1107 | function getMultiDeleteErrorMessage(status, deleted) { | CODE |
| LOW | templates/webadmin/groups.html | 303 | function handleColVisibilityCheckbox(el, selector) { | CODE |
| LOW | templates/webadmin/admins.html | 450 | function handleColVisibilityCheckbox(el, selector) { | CODE |
| LOW | templates/webadmin/users.html | 637 | function handleColVisibilityCheckbox(el, selector) { | CODE |
| LOW | templates/webadmin/folders.html | 368 | function handleColVisibilityCheckbox(el, selector) { | CODE |
| LOW | templates/webadmin/roles.html | 304 | function handleColVisibilityCheckbox(el, selector) { | CODE |
| LOW | templates/common/base.html | 298 | function handlePasswordInputVisibility(el) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/common/protocol_test.go | 7600 | u.Email = "user@example.com" | CODE |
| LOW | internal/common/eventmanager_test.go | 2262 | Recipients: []string{"example@example.org"}, | CODE |
| LOW | …/assets/plugins/custom/datatables/datatables.bundle.js | 4 | !function(e){"use strict";if("function"==typeof define&&define.amd)define(["jquery"],function(t){return e(t,window,docum | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/ldapauthserver/ldapauth.toml | 16 | # you can change the name of the search base attributes to adapt them to your schema but the order must remain the same | COMMENT |