🦎 a tool to build and deploy software on many servers 🦎
This report presents the forensic synthetic code analysis of moghtech/komodo, a Rust project with 11,625 GitHub stars. SynthScan v2.0 examined 186,910 lines of code across 811 source files, recording 579 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 3.2 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).
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 579 distinct pattern matches across 7 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 | ui/src/resources/stack/index.tsx | 381 | hello_world: | COMMENT |
| LOW | ui/src/components/swarm/tasks-section.tsx | 161 | }, | COMMENT |
| LOW | ui/src/lib/color.ts | 441 | // case Types.TagColor.Slate: | COMMENT |
| LOW | ui/src/lib/color.ts | 461 | // return "amber-400"; | COMMENT |
| LOW | ui/src/lib/color.ts | 481 | // case Types.TagColor.LightGreen: | COMMENT |
| LOW | ui/src/lib/color.ts | 501 | COMMENT | |
| LOW | ui/src/lib/color.ts | 521 | // return "blue-900"; | COMMENT |
| LOW | ui/src/lib/color.ts | 541 | // case Types.TagColor.DarkPurple: | COMMENT |
| LOW | ui/src/lib/color.ts | 561 | // return "rose-600"; | COMMENT |
| LOW | bin/core/src/network.rs | 1 | //! # Network Configuration Module | COMMENT |
| LOW | bin/core/src/monitor/mod.rs | 81 | } | COMMENT |
| LOW | bin/core/src/api/read/server.rs | 841 | // ) -> Result<Self::Response, Self::Error> { | COMMENT |
| LOW | bin/core/src/api/read/server.rs | 861 | // }) | COMMENT |
| LOW | bin/core/src/api/execute/stack.rs | 621 | /// AFTER the restart has been successfully completed. | COMMENT |
| LOW | bin/core/src/resource/swarm.rs | 181 | // let swarms = find_collect(&db_client().swarms, None, None) | COMMENT |
| LOW | bin/core/src/resource/mod.rs | 281 | all_tags: &[Tag], | COMMENT |
| LOW | bin/core/src/helpers/action_state.rs | 1 | //! # Action State Management | COMMENT |
| LOW | bin/core/src/helpers/action_state.rs | 41 | pub sync: | COMMENT |
| LOW | bin/core/src/helpers/action_state.rs | 81 | COMMENT | |
| LOW | bin/core/src/helpers/action_state.rs | 141 | /// is dropped, preventing deadlocks. This is ensured by all public methods | COMMENT |
| LOW | bin/cli/src/command/mod.rs | 181 | COMMENT | |
| LOW | config/periphery.config.toml | 1 | ################################ | COMMENT |
| LOW | config/periphery.config.toml | 21 | ## - JSON: https://it-tools.tech/toml-to-json | COMMENT |
| LOW | config/periphery.config.toml | 41 | COMMENT | |
| LOW | config/periphery.config.toml | 61 | ## For example, `bash` or `zsh`. | COMMENT |
| LOW | config/periphery.config.toml | 81 | ## Default: 5-sec | COMMENT |
| LOW | config/periphery.config.toml | 101 | COMMENT | |
| LOW | config/periphery.config.toml | 121 | ## Periphery gains knowledge of the Core public key through the noise handshake. | COMMENT |
| LOW | config/periphery.config.toml | 141 | # core_address = "demo.komo.do" | COMMENT |
| LOW | config/periphery.config.toml | 161 | ## Default: If 'core_addresses' are defined, false, otherwise true. | COMMENT |
| LOW | config/periphery.config.toml | 181 | COMMENT | |
| LOW | config/periphery.config.toml | 201 | ########### | COMMENT |
| LOW | config/periphery.config.toml | 221 | ## Set the opentelemetry service name attached to the telemetry Periphery will send. | COMMENT |
| LOW | config/periphery.config.toml | 241 | ## Default: false | COMMENT |
| LOW | config/periphery.config.toml | 261 | COMMENT | |
| LOW | config/periphery.config.toml | 281 | # [[docker_registry]] | COMMENT |
| LOW | config/core.config.toml | 1 | ########################### | COMMENT |
| LOW | config/core.config.toml | 21 | ## - JSON: https://it-tools.tech/toml-to-json | COMMENT |
| LOW | config/core.config.toml | 41 | ## Env: KOMODO_BIND_IP | COMMENT |
| LOW | config/core.config.toml | 61 | ## Default: None | COMMENT |
| LOW | config/core.config.toml | 81 | COMMENT | |
| LOW | config/core.config.toml | 101 | COMMENT | |
| LOW | config/core.config.toml | 121 | ## There shouldn't be a need to change this, or even mount a volume. | COMMENT |
| LOW | config/core.config.toml | 141 | ## Create a new Komodo user (Sign Up button), login to the database with Compass, note down your old users username and | COMMENT |
| LOW | config/core.config.toml | 161 | ## Default: changeme | COMMENT |
| LOW | config/core.config.toml | 181 | ## Env: KOMODO_DISABLE_OIDC_USER_REGISTRATION | COMMENT |
| LOW | config/core.config.toml | 201 | COMMENT | |
| LOW | config/core.config.toml | 221 | ## Env: KOMODO_JWT_TTL | COMMENT |
| LOW | config/core.config.toml | 241 | ## | COMMENT |
| LOW | config/core.config.toml | 261 | oidc_client_id = "" | COMMENT |
| LOW | config/core.config.toml | 281 | ## Default: empty | COMMENT |
| LOW | config/core.config.toml | 301 | ## Env: KOMODO_GOOGLE_OAUTH_ID or KOMODO_GOOGLE_OAUTH_ID_FILE | COMMENT |
| LOW | config/core.config.toml | 321 | github_oauth.secret = "" | COMMENT |
| LOW | config/core.config.toml | 341 | auth_rate_limit_max_attempts = 5 | COMMENT |
| LOW | config/core.config.toml | 361 | ## Env: KOMODO_CORS_ALLOW_CREDENTIALS | COMMENT |
| LOW | config/core.config.toml | 381 | ## Default: "DENY" | COMMENT |
| LOW | config/core.config.toml | 401 | ## Example: | COMMENT |
| LOW | config/core.config.toml | 421 | COMMENT | |
| LOW | config/core.config.toml | 441 | ############ | COMMENT |
| LOW | config/core.config.toml | 461 | database.password = "" | COMMENT |
| 489 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bin/cli/README.md | 20 | key = "YOUR-API-KEY" | CODE |
| HIGH | bin/cli/README.md | 28 | komodo --url "https://your.komodo.address" --key "YOUR-API-KEY" --secret "YOUR-API-SECRET" ... | CODE |
| HIGH | client/core/rs/src/api/mod.rs | 11 | //! - X-Api-Key: `your_api_key` | COMMENT |
| HIGH | client/core/rs/src/api/mod.rs | 38 | //! --header "X-Api-Key: your_api_key" \ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/src/app/topbar/omni-search/hooks.tsx | 277 | function terminalTargetDescription( | CODE |
| LOW | ui/src/resources/new-with-deploy-target.tsx | 9 | export default function NewResourceWithDeployTarget({ | CODE |
| LOW | ui/src/resources/swarm/resources.tsx | 18 | export default function SwarmHostedResourcesSection({ | CODE |
| LOW | ui/src/resources/server/resources.tsx | 20 | export default function ServerHostedResourcesSection({ | CODE |
| LOW | …/src/resources/procedure/config/execution-selector.tsx | 17 | export default function ProcedureExecutionSelector({ | CODE |
| LOW | ui/src/resources/deployment/update-available.tsx | 16 | export default function DeploymentUpdateAvailable({ | CODE |
| LOW | ui/src/resources/deployment/tabs.tsx | 139 | function InspectDeploymentContainer({ | CODE |
| LOW | ui/src/resources/deployment/config/restart.tsx | 12 | export default function DeploymentRestartSelector({ | CODE |
| LOW | ui/src/resources/deployment/config/network.tsx | 14 | export default function DeploymentNetworkSelector({ | CODE |
| LOW | ui/src/resources/repo/resources.tsx | 17 | export default function RepoLinkedResourcesSection({ | CODE |
| LOW | ui/src/components/permissions/specific-selector.tsx | 46 | export default function SpecificPermissionSelector({ | CODE |
| LOW | ui/src/components/permissions/specific-section.tsx | 21 | export default function SpecificPermissionsSection({ | CODE |
| LOW | ui/src/lib/utils.ts | 234 | export function resourceTargetFromTerminalTarget( | CODE |
| LOW | ui/src/lib/color.ts | 44 | export function swarmNodeAvailabilityIntention( | CODE |
| LOW | ui/src/lib/color.ts | 256 | export function resourceSyncStateIntention(status?: Types.ResourceSyncState) { | CODE |
| LOW | ui/src/lib/hooks.ts | 372 | export function useFilterByUpdateAvailable(): [boolean, () => void] { | CODE |
| LOW | ui/src/lib/hooks.ts | 445 | export function useTerminalTargetPermissions(target: Types.TerminalTarget) { | CODE |
| LOW | ui/src/lib/hooks.ts | 456 | export function useTemplatesQueryBehavior() { | CODE |
| LOW | ui/src/pages/swarm/config/services.tsx | 13 | export default function SwarmConfigServicesSection({ | CODE |
| LOW | ui/src/pages/swarm/secret/services.tsx | 13 | export default function SwarmSecretServicesSection({ | CODE |
| LOW | ui/src/pages/terminals/new.tsx | 359 | function CreateStackServiceTerminal({ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/core.config.toml | 12 | ## This file is bundled into the official image, `ghcr.io/moghtech/komodo-core`, | COMMENT |
| MEDIUM | config/core.config.toml | 141 | ## Create a new Komodo user (Sign Up button), login to the database with Compass, note down your old users username and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/core.config.toml | 279 | ## you can add the audience `...` to the list here (assuming it should be trusted). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/periphery/src/api/terminal.rs | 402 | // TODO: Handle error | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/install-cli.py | 2 | CODE |