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.

6.5 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 2,534 GitHub stars. SynthScan v2.0 examined 157,901 lines of code across 428 source files, recording 1012 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 6.5 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).

6.5
Adjusted Score
6.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.5K
Stars
JavaScript
Language
157.9K
Lines of Code
428
Files
1.0K
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 0MEDIUM 18LOW 994

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 1012 distinct pattern matches across 10 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 Identifiers950 hits · 922 pts
SeverityFileLineSnippetContext
LOWlauncher/webview-server.py17def _install_parent_death_signal():CODE
LOWtests/scripts_smoke.sh7610function getNativeHostManifestLocation() {STRING
LOWtests/scripts_smoke.sh7649function resolveChromeUserDataDirectory() {STRING
LOWtests/scripts_smoke.sh7653function resolveChromeProfileDirectory(userDataDirectory) {STRING
LOWtests/scripts_smoke.sh7664function resolveChromeProfileDirectoryFromLocalState(userDataDirectory) {STRING
LOWtests/scripts_smoke.sh7678function resolveChromeUserDataDirectory() {STRING
LOWtests/scripts_smoke.sh7682function resolveChromeProfileDirectory(userDataDirectory) {STRING
LOWtests/scripts_smoke.sh7693function resolveChromeProfileDirectoryFromLocalState(userDataDirectory) {STRING
LOWtests/scripts_smoke.sh8305import{s as __toESM}from"./chunk-test.js";import{t as __reactFactory}from"./react-test.js";import{t as __jsxFactory}fromSTRING
LOWtests/scripts_smoke.sh8356import{s as __toESM}from"./chunk-test.js";import{t as __reactFactory}from"./react-test.js";import{t as __jsxFactory}fromSTRING
LOWlinux-features/authenticated-proxy/test.js30function applyPatchTwiceWithoutWarnings(patchFn, source) {CODE
LOWlinux-features/authenticated-proxy/test.js346 "function codexLinuxInstallProxyAuthHandler(e){return e}",CODE
LOWlinux-features/authenticated-proxy/patch.js9function applyAuthenticatedProxyPatch(currentSource) {CODE
LOWlinux-features/authenticated-proxy/patch.js21 "function codexLinuxInstallProxyAuthHandler(e){let t=codexLinuxProxyAuthEntry();if(t==null)return;e.app.on(`login`,(CODE
LOWlinux-features/authenticated-proxy/patch.js23 "function codexLinuxAttachProxyAuthToRequest(e){let t=codexLinuxProxyAuthEntry();if(t==null||e==null)return;e.on(`loCODE
LOWlinux-features/authenticated-proxy/patch.js24 const installHandlerNeedle = "function codexLinuxInstallProxyAuthHandler(";CODE
LOWlinux-features/authenticated-proxy/patch.js52 } else if (!patchedSource.includes("function codexLinuxAttachProxyAuthToRequest(")) {CODE
LOWlinux-features/x11-ewmh-computer-use/patches.js9function pluginNameExpressionRegex(pluginName) {CODE
LOWlinux-features/x11-ewmh-computer-use/patches.js48function findBundledPluginGateArray(source) {CODE
LOWlinux-features/x11-ewmh-computer-use/patches.js65function findAlwaysOnBundledDescriptor(pluginGateArray) {CODE
LOWlinux-features/copilot-reasoning-effort/test.js39function copilotReasoningEffortSettingsFixture() {CODE
LOWlinux-features/copilot-reasoning-effort/test.js46function currentCopilotReasoningEffortSettingsFixture() {CODE
LOWlinux-features/copilot-reasoning-effort/test.js53function currentFilteredCopilotReasoningEffortModelListFixture() {CODE
LOWlinux-features/copilot-reasoning-effort/test.js57function currentCopilotReasoningEffortUiFixture() {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js3function applyCopilotReasoningEffortSettingsPatch(currentSource) {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js63function applyCopilotReasoningEffortModelListPatch(currentSource) {CODE
LOWlinux-features/copilot-reasoning-effort/patch.js87function applyCopilotReasoningEffortUiPatch(currentSource) {CODE
LOWlinux-features/remote-control-ui/patch.js9function applyRemoteConnectionsVisibilityPatch(source) {CODE
LOWlinux-features/remote-control-ui/patch.js25function applyRemoteControlConnectionsVisibilityPatch(source) {CODE
LOWlinux-features/remote-control-ui/patch.js42function applyExperimentalFeaturesPatch(source) {CODE
LOWlinux-features/persistent-status-panel/patch.js34function applyPersistentStatusPanelPatch(source) {CODE
LOWlinux-features/agent-workspace/test.js156function syntheticCurrentAppMainRouteRegistry() {CODE
LOWlinux-features/agent-workspace/test.js168function syntheticMcpSettingsBundle() {CODE
LOWlinux-features/agent-workspace/test.js172function syntheticGeneralSettingsBundle() {CODE
LOWlinux-features/agent-workspace/test.js176function staleConversationMonitorBundle() {CODE
LOWlinux-features/agent-workspace/test.js184function writeSyntheticExtractedApp(root) {CODE
LOWlinux-features/agent-workspace/test.js205function rewriteSettingsAssetsWithConsolidatedCurrentLayout(assetsDir) {CODE
LOWlinux-features/agent-workspace/test.js235function writeModernCodexRequestAsset(assetsDir) {CODE
LOWlinux-features/agent-workspace/test.js266function createSettingsRenderHarness(post) {CODE
LOWlinux-features/agent-workspace/patch.js42function agentWorkspaceMountPickerBridgeSource() {CODE
LOWlinux-features/agent-workspace/patch.js46function agentWorkspaceBrowserDataPickerBridgeSource() {CODE
LOWlinux-features/agent-workspace/patch.js50function agentWorkspaceBrowserDataCopyBridgeSource({ fsVar, pathVar }) {CODE
LOWlinux-features/agent-workspace/patch.js54function useUserWritableNpmPrefixForInstallRuntime(source) {CODE
LOWlinux-features/agent-workspace/patch.js63function agentWorkspaceBridgeWithWorkspaceStartSource(args) {CODE
LOWlinux-features/agent-workspace/patch.js70function agentWorkspaceActionBridgeSource(args) {CODE
LOWlinux-features/agent-workspace/patch.js80function ensureAgentWorkspaceBridgeEntry(currentSource, entrySource) {CODE
LOWlinux-features/agent-workspace/patch.js636function approvalPreviewFromResponse(response){CODE
LOWlinux-features/agent-workspace/patch.js642function approvalBundleFromResponse(response){CODE
LOWlinux-features/agent-workspace/patch.js651function approvalRequirementLabels(bundle){CODE
LOWlinux-features/agent-workspace/patch.js1895function isAgentWorkspaceSettingsSharedMetadataBundleSource(currentSource) {CODE
LOWlinux-features/agent-workspace/patch.js1905function isAgentWorkspaceSettingsRouteBundleSource(currentSource) {CODE
LOWlinux-features/agent-workspace/patch.js1912function isAgentWorkspaceSettingsNavigationBundleSource(currentSource) {CODE
LOWlinux-features/agent-workspace/patch.js1921function addAgentWorkspaceToSettingsSlugLists(currentSource) {CODE
LOWlinux-features/agent-workspace/patch.js23function agentWorkspaceAppPickerBridgeSource({ fsVar, pathVar }) {CODE
LOWlinux-features/agent-workspace/patch.js92function replaceAgentWorkspaceActionBridge(currentSource, actionBridgeSource) {CODE
LOWlinux-features/agent-workspace/patch.js140function applyAgentWorkspaceMainBridgePatch(currentSource) {CODE
LOWlinux-features/agent-workspace/patch.js179function buildAgentWorkspaceSettingsSource({CODE
LOWlinux-features/agent-workspace/patch.js405function defaultMountWorkspacePath(profile,filePath){CODE
LOWlinux-features/agent-workspace/patch.js502function workspaceIdFromStartResponse(response,fallback){CODE
LOWlinux-features/agent-workspace/patch.js531function cleanupProcessActionCount(cleanup){CODE
890 more matches not shown…
Decorative Section Separators15 hits · 43 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh4# ============================================================================COMMENT
MEDIUMinstall.sh7# ============================================================================COMMENT
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
MEDIUMscripts/install-deps.sh27# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/install-deps.sh29# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/install-deps.sh215# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/install-deps.sh217# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/install-deps.sh319# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/install-deps.sh322# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/install-deps.sh403# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/install-deps.sh405# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/install-deps.sh431# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/install-deps.sh433# ---------------------------------------------------------------------------COMMENT
Over-Commented Block17 hits · 17 pts
SeverityFileLineSnippetContext
LOWcomputer-use-linux/src/atspi_tree.rs301 hydrate_session_bus_env();COMMENT
LOWcomputer-use-linux/src/server.rs1461 title: Option<String>,COMMENT
LOWcomputer-use-linux/src/server.rs1521struct ScreenshotParams {COMMENT
LOWcomputer-use-linux/src/server.rs1541 max_width: Option<u32>,COMMENT
LOWcomputer-use-linux/src/server.rs1621 #[serde(default)]COMMENT
LOWcomputer-use-linux/src/abs_pointer.rs1//! Direct uinput **absolute** pointer.COMMENT
LOWtests/webview_probe_equivalence.sh1#!/usr/bin/env bashCOMMENT
LOWupdater/src/config.rs61 pub auto_install_on_app_exit: bool,COMMENT
LOWupdater/src/wrapper_apply.rs1//! Applies a pending wrapper (repo) update for the current install type.COMMENT
LOWupdater/src/wrapper.rs1//! Wrapper-repo update detection.COMMENT
LOWupdater/src/state.rs101 #[serde(default)]COMMENT
LOWupdater/src/feature_picker.rs1//! Interactive feature picker for the in-app wrapper Update button.COMMENT
LOWupdater/src/changelog.rs1//! Parsing and selection of wrapper CHANGELOG.md entries.COMMENT
LOWlinux-features/node-repl-reaper/reaper.sh1#!/bin/bashCOMMENT
LOWscripts/patches/strategy-telemetry.js1"use strict";COMMENT
LOWscripts/patches/impl/bootstrap.js1"use strict";COMMENT
LOWscripts/lib/native-modules.sh81#define OnlyContext isolate->GetCurrentContext()COMMENT
Excessive Try-Catch Wrapping10 hits · 11 pts
SeverityFileLineSnippetContext
LOWtests/webview_probe_equivalence.sh70except Exception:CODE
LOW…install/files/.local/lib/codex-desktop-linux/common.sh415except 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
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/lib/bundled-plugins.sh272 # Step 1: Environment overrideCOMMENT
LOWscripts/lib/bundled-plugins.sh289 # Step 2: System-installed binariesCOMMENT
LOWscripts/lib/bundled-plugins.sh297 # Step 3: Install from crates.ioCOMMENT
LOWscripts/lib/bundled-plugins.sh315 # Step 4: Vendored build fallbackCOMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/lib/bundled-plugins.sh272 # Step 1: Environment overrideCOMMENT
LOWscripts/lib/bundled-plugins.sh289 # Step 2: System-installed binariesCOMMENT
LOWscripts/lib/bundled-plugins.sh297 # Step 3: Install from crates.ioCOMMENT
LOWscripts/lib/bundled-plugins.sh315 # Step 4: Vendored build fallbackCOMMENT
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWlinux-features/read-aloud/bin/kokoro_stdin.py38CODE
LOWscripts/automation/upstream-dmg-watchdog/watchdog.py334CODE
LOWscripts/automation/upstream-dmg-watchdog/watchdog.py646CODE
LOWscripts/automation/upstream-dmg-watchdog/watchdog.py803CODE
LOWscripts/automation/upstream-dmg-watchdog/watchdog.py1205CODE
LOWscripts/automation/upstream-dmg-watchdog/watchdog.py1718CODE
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWlinux-features/read-aloud/bin/kokoro_stdin.py4CODE
LOWscripts/lib/candidate-promotion.py4CODE
LOWscripts/automation/upstream-dmg-watchdog/watchdog.py4CODE
LOW…ipts/automation/upstream-dmg-watchdog/test_watchdog.py3CODE
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
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMtests/scripts_smoke.sh9108 # The harness extracts webview_port_is_open and verify_webview_origin fromSTRING