Repository Analysis

moghtech/komodo

🦎 a tool to build and deploy software on many servers 🦎

3.2 Likely human-written View on GitHub

Analysis Overview

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).

3.2
Adjusted Score
3.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
11.6K
Stars
Rust
Language
186.9K
Lines of Code
811
Files
579
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 4MEDIUM 3LOW 572

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block549 hits · 536 pts
SeverityFileLineSnippetContext
LOWui/src/resources/stack/index.tsx381 hello_world:COMMENT
LOWui/src/components/swarm/tasks-section.tsx161 },COMMENT
LOWui/src/lib/color.ts441// case Types.TagColor.Slate:COMMENT
LOWui/src/lib/color.ts461// return "amber-400";COMMENT
LOWui/src/lib/color.ts481// case Types.TagColor.LightGreen:COMMENT
LOWui/src/lib/color.ts501COMMENT
LOWui/src/lib/color.ts521// return "blue-900";COMMENT
LOWui/src/lib/color.ts541// case Types.TagColor.DarkPurple:COMMENT
LOWui/src/lib/color.ts561// return "rose-600";COMMENT
LOWbin/core/src/network.rs1//! # Network Configuration ModuleCOMMENT
LOWbin/core/src/monitor/mod.rs81}COMMENT
LOWbin/core/src/api/read/server.rs841// ) -> Result<Self::Response, Self::Error> {COMMENT
LOWbin/core/src/api/read/server.rs861// })COMMENT
LOWbin/core/src/api/execute/stack.rs621/// AFTER the restart has been successfully completed.COMMENT
LOWbin/core/src/resource/swarm.rs181// let swarms = find_collect(&db_client().swarms, None, None)COMMENT
LOWbin/core/src/resource/mod.rs281 all_tags: &[Tag],COMMENT
LOWbin/core/src/helpers/action_state.rs1//! # Action State ManagementCOMMENT
LOWbin/core/src/helpers/action_state.rs41 pub sync:COMMENT
LOWbin/core/src/helpers/action_state.rs81COMMENT
LOWbin/core/src/helpers/action_state.rs141/// is dropped, preventing deadlocks. This is ensured by all public methodsCOMMENT
LOWbin/cli/src/command/mod.rs181COMMENT
LOWconfig/periphery.config.toml1################################COMMENT
LOWconfig/periphery.config.toml21## - JSON: https://it-tools.tech/toml-to-jsonCOMMENT
LOWconfig/periphery.config.toml41COMMENT
LOWconfig/periphery.config.toml61## For example, `bash` or `zsh`.COMMENT
LOWconfig/periphery.config.toml81## Default: 5-secCOMMENT
LOWconfig/periphery.config.toml101COMMENT
LOWconfig/periphery.config.toml121## Periphery gains knowledge of the Core public key through the noise handshake.COMMENT
LOWconfig/periphery.config.toml141# core_address = "demo.komo.do"COMMENT
LOWconfig/periphery.config.toml161## Default: If 'core_addresses' are defined, false, otherwise true.COMMENT
LOWconfig/periphery.config.toml181COMMENT
LOWconfig/periphery.config.toml201###########COMMENT
LOWconfig/periphery.config.toml221## Set the opentelemetry service name attached to the telemetry Periphery will send.COMMENT
LOWconfig/periphery.config.toml241## Default: falseCOMMENT
LOWconfig/periphery.config.toml261COMMENT
LOWconfig/periphery.config.toml281# [[docker_registry]]COMMENT
LOWconfig/core.config.toml1###########################COMMENT
LOWconfig/core.config.toml21## - JSON: https://it-tools.tech/toml-to-jsonCOMMENT
LOWconfig/core.config.toml41## Env: KOMODO_BIND_IPCOMMENT
LOWconfig/core.config.toml61## Default: NoneCOMMENT
LOWconfig/core.config.toml81COMMENT
LOWconfig/core.config.toml101COMMENT
LOWconfig/core.config.toml121## There shouldn't be a need to change this, or even mount a volume.COMMENT
LOWconfig/core.config.toml141## Create a new Komodo user (Sign Up button), login to the database with Compass, note down your old users username and COMMENT
LOWconfig/core.config.toml161## Default: changemeCOMMENT
LOWconfig/core.config.toml181## Env: KOMODO_DISABLE_OIDC_USER_REGISTRATIONCOMMENT
LOWconfig/core.config.toml201COMMENT
LOWconfig/core.config.toml221## Env: KOMODO_JWT_TTLCOMMENT
LOWconfig/core.config.toml241##COMMENT
LOWconfig/core.config.toml261oidc_client_id = ""COMMENT
LOWconfig/core.config.toml281## Default: emptyCOMMENT
LOWconfig/core.config.toml301## Env: KOMODO_GOOGLE_OAUTH_ID or KOMODO_GOOGLE_OAUTH_ID_FILECOMMENT
LOWconfig/core.config.toml321github_oauth.secret = ""COMMENT
LOWconfig/core.config.toml341auth_rate_limit_max_attempts = 5COMMENT
LOWconfig/core.config.toml361## Env: KOMODO_CORS_ALLOW_CREDENTIALSCOMMENT
LOWconfig/core.config.toml381## Default: "DENY"COMMENT
LOWconfig/core.config.toml401## Example:COMMENT
LOWconfig/core.config.toml421COMMENT
LOWconfig/core.config.toml441############COMMENT
LOWconfig/core.config.toml461database.password = ""COMMENT
489 more matches not shown…
Magic Placeholder Names4 hits · 25 pts
SeverityFileLineSnippetContext
HIGHbin/cli/README.md20key = "YOUR-API-KEY"CODE
HIGHbin/cli/README.md28komodo --url "https://your.komodo.address" --key "YOUR-API-KEY" --secret "YOUR-API-SECRET" ...CODE
HIGHclient/core/rs/src/api/mod.rs11//! - X-Api-Key: `your_api_key`COMMENT
HIGHclient/core/rs/src/api/mod.rs38//! --header "X-Api-Key: your_api_key" \COMMENT
Hyper-Verbose Identifiers21 hits · 21 pts
SeverityFileLineSnippetContext
LOWui/src/app/topbar/omni-search/hooks.tsx277function terminalTargetDescription(CODE
LOWui/src/resources/new-with-deploy-target.tsx9export default function NewResourceWithDeployTarget({CODE
LOWui/src/resources/swarm/resources.tsx18export default function SwarmHostedResourcesSection({CODE
LOWui/src/resources/server/resources.tsx20export default function ServerHostedResourcesSection({CODE
LOW…/src/resources/procedure/config/execution-selector.tsx17export default function ProcedureExecutionSelector({CODE
LOWui/src/resources/deployment/update-available.tsx16export default function DeploymentUpdateAvailable({CODE
LOWui/src/resources/deployment/tabs.tsx139function InspectDeploymentContainer({CODE
LOWui/src/resources/deployment/config/restart.tsx12export default function DeploymentRestartSelector({CODE
LOWui/src/resources/deployment/config/network.tsx14export default function DeploymentNetworkSelector({CODE
LOWui/src/resources/repo/resources.tsx17export default function RepoLinkedResourcesSection({CODE
LOWui/src/components/permissions/specific-selector.tsx46export default function SpecificPermissionSelector({CODE
LOWui/src/components/permissions/specific-section.tsx21export default function SpecificPermissionsSection({CODE
LOWui/src/lib/utils.ts234export function resourceTargetFromTerminalTarget(CODE
LOWui/src/lib/color.ts44export function swarmNodeAvailabilityIntention(CODE
LOWui/src/lib/color.ts256export function resourceSyncStateIntention(status?: Types.ResourceSyncState) {CODE
LOWui/src/lib/hooks.ts372export function useFilterByUpdateAvailable(): [boolean, () => void] {CODE
LOWui/src/lib/hooks.ts445export function useTerminalTargetPermissions(target: Types.TerminalTarget) {CODE
LOWui/src/lib/hooks.ts456export function useTemplatesQueryBehavior() {CODE
LOWui/src/pages/swarm/config/services.tsx13export default function SwarmConfigServicesSection({CODE
LOWui/src/pages/swarm/secret/services.tsx13export default function SwarmSecretServicesSection({CODE
LOWui/src/pages/terminals/new.tsx359function CreateStackServiceTerminal({CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMconfig/core.config.toml12## This file is bundled into the official image, `ghcr.io/moghtech/komodo-core`,COMMENT
MEDIUMconfig/core.config.toml141## Create a new Komodo user (Sign Up button), login to the database with Compass, note down your old users username and COMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMconfig/core.config.toml279## you can add the audience `...` to the list here (assuming it should be trusted).COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWbin/periphery/src/api/terminal.rs402 // TODO: Handle errorCOMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/install-cli.py2CODE