Repository Analysis

ilysenko/codex-desktop-linux

Unofficial ChatGPT desktop app for Linux (formerly the Codex app), built locally from OpenAI’s official macOS app. Includes Chat, Work, and Codex. Packages for Debian/Ubuntu (.deb), Fedora/openSUSE (.rpm), Arch (pacman), Nix/NixOS, and AppImage, with Wayland and X11 support.

5.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ilysenko/codex-desktop-linux, a JavaScript project with 3,728 GitHub stars. SynthScan v2.0 examined 124,466 lines of code across 388 source files, recording 593 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 5.0 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).

5.0
Adjusted Score
5.0
Raw Score
100%
Time Factor
2026-08-28
Last Push
3.7K
Stars
JavaScript
Language
124.5K
Lines of Code
388
Files
593
Pattern Hits
2026-08-29
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 0MEDIUM 5LOW 588

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

Hyper-Verbose Identifiers567 hits · 584 pts
SeverityFileLineSnippetContext
LOWlinux-features/authenticated-proxy/test.js30function applyPatchTwiceWithoutWarnings(patchFn, source) {CODE
LOWlinux-features/authenticated-proxy/test.js347 "function codexLinuxInstallProxyAuthHandler(e){return e}",CODE
LOWlinux-features/authenticated-proxy/patch.js10function applyAuthenticatedProxyPatch(currentSource) {CODE
LOWlinux-features/authenticated-proxy/patch.js22 "function codexLinuxInstallProxyAuthHandler(e){let t=codexLinuxProxyAuthEntry();if(t==null)return;e.app.on(`login`,(CODE
LOWlinux-features/authenticated-proxy/patch.js24 "function codexLinuxAttachProxyAuthToRequest(e){let t=codexLinuxProxyAuthEntry();if(t==null||e==null)return;e.on(`loCODE
LOWlinux-features/authenticated-proxy/patch.js25 const installHandlerNeedle = "function codexLinuxInstallProxyAuthHandler(";CODE
LOWlinux-features/authenticated-proxy/patch.js53 } else if (!patchedSource.includes("function codexLinuxAttachProxyAuthToRequest(")) {CODE
LOWlinux-features/codex-micro/patch.js60function matchesCodexMicroFeatureGateContract(source) {CODE
LOWlinux-features/codex-micro/patch.js72function applyCodexMicroFeatureGatePatch(source) {CODE
LOWlinux-features/codex-micro/patch.js96function hasCodexMicroServiceContract(source) {CODE
LOWlinux-features/codex-micro/patch.js104function codexMicroTopologyWatcher(source) {CODE
LOWlinux-features/codex-micro/patch.js125function patchCodexMicroHotplugSource(source) {CODE
LOWlinux-features/codex-micro/patch.js185function applyCodexMicroHotplugPatch(source) {CODE
LOWlinux-features/codex-micro/patch.js192function findCodexMicroServiceBundle(extractedDir) {CODE
LOWlinux-features/copilot-reasoning-effort/test.js40function retiredCopilotReasoningEffortSettingsFixture() {CODE
LOWlinux-features/copilot-reasoning-effort/test.js47function currentCopilotReasoningEffortSettingsFixture() {CODE
LOWlinux-features/copilot-reasoning-effort/test.js54function currentFilteredCopilotReasoningEffortModelListFixture() {CODE
LOWlinux-features/copilot-reasoning-effort/test.js58function currentCopilotReasoningEffortUiFixture() {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js6function currentCopilotWriterRegex() {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js14function matchesCopilotReasoningEffortSettingsContract(source) {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js26function matchesCopilotReasoningEffortModelListContract(source) {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js35function matchesCopilotReasoningEffortUiContract(source) {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js76function analyzeCopilotReasoningEffortUiContract(source) {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js162function applyCopilotReasoningEffortSettingsPatch(currentSource) {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js228function applyCopilotReasoningEffortModelListPatch(currentSource) {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js252function applyCopilotReasoningEffortUiPatch(currentSource) {CODE
LOWlinux-features/chronicle-skysight/patch.js22function chronicleSkysightBridgeSource() {CODE
LOWlinux-features/chronicle-skysight/patch.js38function recordReplayRuntimeHelperSource({ childProcessVar, fsVar, pathVar }) {CODE
LOWlinux-features/chronicle-skysight/patch.js39 return `function codexLinuxRecordReplayString(e){return typeof e==="string"&&e.trim().length>0?e.trim():null}CODE
LOWlinux-features/chronicle-skysight/patch.js40function codexLinuxRecordReplayBin(){let e=codexLinuxRecordReplayString(process.env.CODEX_RECORD_REPLAY_LINUX_BIN);if(e)CODE
LOWlinux-features/chronicle-skysight/patch.js41function codexLinuxRecordReplayParse(e){let t=String(e||"").trim();if(!t)return null;try{return JSON.parse(t)}catch{retuCODE
LOWlinux-features/chronicle-skysight/patch.js42function codexLinuxRecordReplayRun(e,t){let n=codexLinuxRecordReplayBin();return new Promise(r=>{${childProcessVar}.execCODE
LOWlinux-features/chronicle-skysight/patch.js46function chronicleSkysightHelperSource({ childProcessVar }) {CODE
LOWlinux-features/chronicle-skysight/patch.js47 return `function codexLinuxRecordReplayRunSync(e,t){let n=codexLinuxRecordReplayBin();try{let r=${childProcessVar}.exeCODE
LOWlinux-features/chronicle-skysight/patch.js48function codexLinuxChronicleControlStateFromSkysight(e){let t=e?.json&&typeof e.json==="object"?e.json:null;if(!e?.ok&&tCODE
LOWlinux-features/chronicle-skysight/patch.js49function codexLinuxChronicleSidecarControlState(){return codexLinuxChronicleControlStateFromSkysight(codexLinuxRecordRepCODE
LOWlinux-features/chronicle-skysight/patch.js50async function codexLinuxChronicleSidecarControlStateAsync(){return codexLinuxChronicleControlStateFromSkysight(await coCODE
LOWlinux-features/chronicle-skysight/patch.js51function codexLinuxChronicleSummaryAgentArgs(e){return e===!0?["--summary-agent","enabled"]:e===!1?["--summary-agent","dCODE
LOWlinux-features/chronicle-skysight/patch.js52async function codexLinuxChronicleEnsureSidecarRunning(e,u,l){let t=await codexLinuxRecordReplayRun(["skysight","status"CODE
LOWlinux-features/chronicle-skysight/patch.js53async function codexLinuxChronicleToggleSidecar(){let e=await codexLinuxRecordReplayRun(["skysight","status"],5000),t=e?CODE
LOWlinux-features/chronicle-skysight/patch.js56function chronicleTrayControlPattern() {CODE
LOWlinux-features/chronicle-skysight/patch.js60function chronicleTrayPatchedPattern() {CODE
LOWlinux-features/chronicle-skysight/patch.js78function hasCompleteChroniclePatch(source) {CODE
LOWlinux-features/chronicle-skysight/patch.js86function applyChronicleSkysightMainBridgePatch(currentSource) {CODE
LOWlinux-features/remote-control-ui/patch.js11function applyRemoteConnectionsVisibilityPatch(source) {CODE
LOWlinux-features/remote-control-ui/patch.js27function applyRemoteControlConnectionsVisibilityPatch(source) {CODE
LOWlinux-features/remote-control-ui/patch.js53function applyExperimentalFeaturesPatch(source) {CODE
LOWlinux-features/persistent-status-panel/patch.js5function applyPersistentStatusPanelPatch(source) {CODE
LOWlinux-features/agent-workspace/test.js142function syntheticCurrentSettingsMetadata() {CODE
LOWlinux-features/agent-workspace/test.js157function syntheticCurrentAppInitialBundle() {CODE
LOWlinux-features/agent-workspace/test.js167function syntheticCurrentSettingsNavigation() {CODE
LOWlinux-features/agent-workspace/test.js178function syntheticCurrentSettingsVisibility() {CODE
LOWlinux-features/agent-workspace/test.js186function syntheticCurrentSettingsCatalog() {CODE
LOWlinux-features/agent-workspace/test.js197function syntheticMcpSettingsBundle() {CODE
LOWlinux-features/agent-workspace/test.js201function syntheticGeneralSettingsBundle() {CODE
LOWlinux-features/agent-workspace/test.js205function staleConversationMonitorBundle() {CODE
LOWlinux-features/agent-workspace/test.js213function writeSyntheticExtractedApp(root) {CODE
LOWlinux-features/agent-workspace/test.js234function rewriteSettingsAssetsWithConsolidatedCurrentLayout(assetsDir) {CODE
LOWlinux-features/agent-workspace/test.js253function writeModernCodexRequestAsset(assetsDir) {CODE
LOWlinux-features/agent-workspace/test.js284function createSettingsRenderHarness(post) {CODE
507 more matches not shown…
Over-Commented Block10 hits · 10 pts
SeverityFileLineSnippetContext
LOWcomputer-use-linux/src/server.rs2081 #[serde(default)]COMMENT
LOWcomputer-use-linux/src/server.rs2101 /// Maximum returned screenshot image bytes before base64 (default 2 MiB, hard-capped).COMMENT
LOWcomputer-use-linux/src/server.rs2161 #[serde(default)]COMMENT
LOWcomputer-use-linux/src/server.rs2261 click_count: Option<u32>,COMMENT
LOWcomputer-use-linux/src/server.rs2381 direction: String,COMMENT
LOWcomputer-use-linux/src/abs_pointer.rs1//! Direct uinput **absolute** pointer.COMMENT
LOWcomputer-use-linux/src/windowing/backends/x11.rs1//! Generic X11 / EWMH window backend.COMMENT
LOWtests/webview_probe_equivalence.sh1#!/usr/bin/env bashCOMMENT
LOWlinux-features/node-repl-reaper/reaper.sh1#!/bin/bashCOMMENT
LOWscripts/patches/strategy-telemetry.js1"use strict";COMMENT
Excessive Try-Catch Wrapping9 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/webview_probe_equivalence.sh70except Exception:CODE
LOWlinux-features/read-aloud/bin/kokoro_stdin.py97 except Exception as exc:CODE
LOWscripts/bootstrap-wizard.sh405except Exception:CODE
LOWscripts/bootstrap-wizard.sh648 except Exception as exc:CODE
MEDIUMscripts/bootstrap-wizard.sh643def read_json(path, label):CODE
LOWscripts/lib/candidate-promotion.py172 except Exception as error:CODE
LOWscripts/lib/candidate-promotion.py175 except Exception as cleanup_error:CODE
LOWscripts/lib/candidate-promotion.py354 except Exception as error: # noqa: BLE001 - CLI should report a concise durable-operation error.CODE
LOWrecord-replay-linux/src/ocr.rs43except Exception as exc:CODE
Decorative Section Separators3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMtests/webview_probe_equivalence.sh78# ─── New implementation: extracted from the live template ──────────────────COMMENT
MEDIUMtests/webview_probe_equivalence.sh199# ─── Fixture server ────────────────────────────────────────────────────────COMMENT
MEDIUMtests/webview_probe_equivalence.sh332# ─── Scenario runner ───────────────────────────────────────────────────────STRING
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMlinux-features/agent-workspace/patch.js40const AGENT_WORKSPACE_BRIDGE_SOURCE_TEMPLATE = "\"linux-agent-workspace-pick-app\":async()=>{let __codexElectron;try{__cCODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlinux-features/read-aloud/bin/kokoro_stdin.py4CODE
LOWscripts/lib/candidate-promotion.py4CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlinux-features/read-aloud/bin/kokoro_stdin.py38CODE