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.
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).
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | launcher/webview-server.py | 17 | def _install_parent_death_signal(): | CODE |
| LOW | tests/scripts_smoke.sh | 7610 | function getNativeHostManifestLocation() { | STRING |
| LOW | tests/scripts_smoke.sh | 7649 | function resolveChromeUserDataDirectory() { | STRING |
| LOW | tests/scripts_smoke.sh | 7653 | function resolveChromeProfileDirectory(userDataDirectory) { | STRING |
| LOW | tests/scripts_smoke.sh | 7664 | function resolveChromeProfileDirectoryFromLocalState(userDataDirectory) { | STRING |
| LOW | tests/scripts_smoke.sh | 7678 | function resolveChromeUserDataDirectory() { | STRING |
| LOW | tests/scripts_smoke.sh | 7682 | function resolveChromeProfileDirectory(userDataDirectory) { | STRING |
| LOW | tests/scripts_smoke.sh | 7693 | function resolveChromeProfileDirectoryFromLocalState(userDataDirectory) { | STRING |
| LOW | tests/scripts_smoke.sh | 8305 | import{s as __toESM}from"./chunk-test.js";import{t as __reactFactory}from"./react-test.js";import{t as __jsxFactory}from | STRING |
| LOW | tests/scripts_smoke.sh | 8356 | import{s as __toESM}from"./chunk-test.js";import{t as __reactFactory}from"./react-test.js";import{t as __jsxFactory}from | STRING |
| LOW | linux-features/authenticated-proxy/test.js | 30 | function applyPatchTwiceWithoutWarnings(patchFn, source) { | CODE |
| LOW | linux-features/authenticated-proxy/test.js | 346 | "function codexLinuxInstallProxyAuthHandler(e){return e}", | CODE |
| LOW | linux-features/authenticated-proxy/patch.js | 9 | function applyAuthenticatedProxyPatch(currentSource) { | CODE |
| LOW⚡ | linux-features/authenticated-proxy/patch.js | 21 | "function codexLinuxInstallProxyAuthHandler(e){let t=codexLinuxProxyAuthEntry();if(t==null)return;e.app.on(`login`,( | CODE |
| LOW⚡ | linux-features/authenticated-proxy/patch.js | 23 | "function codexLinuxAttachProxyAuthToRequest(e){let t=codexLinuxProxyAuthEntry();if(t==null||e==null)return;e.on(`lo | CODE |
| LOW⚡ | linux-features/authenticated-proxy/patch.js | 24 | const installHandlerNeedle = "function codexLinuxInstallProxyAuthHandler("; | CODE |
| LOW | linux-features/authenticated-proxy/patch.js | 52 | } else if (!patchedSource.includes("function codexLinuxAttachProxyAuthToRequest(")) { | CODE |
| LOW | linux-features/x11-ewmh-computer-use/patches.js | 9 | function pluginNameExpressionRegex(pluginName) { | CODE |
| LOW | linux-features/x11-ewmh-computer-use/patches.js | 48 | function findBundledPluginGateArray(source) { | CODE |
| LOW | linux-features/x11-ewmh-computer-use/patches.js | 65 | function findAlwaysOnBundledDescriptor(pluginGateArray) { | CODE |
| LOW⚡ | linux-features/copilot-reasoning-effort/test.js | 39 | function copilotReasoningEffortSettingsFixture() { | CODE |
| LOW⚡ | linux-features/copilot-reasoning-effort/test.js | 46 | function currentCopilotReasoningEffortSettingsFixture() { | CODE |
| LOW⚡ | linux-features/copilot-reasoning-effort/test.js | 53 | function currentFilteredCopilotReasoningEffortModelListFixture() { | CODE |
| LOW⚡ | linux-features/copilot-reasoning-effort/test.js | 57 | function currentCopilotReasoningEffortUiFixture() { | CODE |
| LOW | linux-features/copilot-reasoning-effort/patch.js | 3 | function applyCopilotReasoningEffortSettingsPatch(currentSource) { | CODE |
| LOW | linux-features/copilot-reasoning-effort/patch.js | 63 | function applyCopilotReasoningEffortModelListPatch(currentSource) { | CODE |
| LOW | linux-features/copilot-reasoning-effort/patch.js | 87 | function applyCopilotReasoningEffortUiPatch(currentSource) { | CODE |
| LOW | linux-features/remote-control-ui/patch.js | 9 | function applyRemoteConnectionsVisibilityPatch(source) { | CODE |
| LOW | linux-features/remote-control-ui/patch.js | 25 | function applyRemoteControlConnectionsVisibilityPatch(source) { | CODE |
| LOW | linux-features/remote-control-ui/patch.js | 42 | function applyExperimentalFeaturesPatch(source) { | CODE |
| LOW | linux-features/persistent-status-panel/patch.js | 34 | function applyPersistentStatusPanelPatch(source) { | CODE |
| LOW | linux-features/agent-workspace/test.js | 156 | function syntheticCurrentAppMainRouteRegistry() { | CODE |
| LOW⚡ | linux-features/agent-workspace/test.js | 168 | function syntheticMcpSettingsBundle() { | CODE |
| LOW⚡ | linux-features/agent-workspace/test.js | 172 | function syntheticGeneralSettingsBundle() { | CODE |
| LOW⚡ | linux-features/agent-workspace/test.js | 176 | function staleConversationMonitorBundle() { | CODE |
| LOW⚡ | linux-features/agent-workspace/test.js | 184 | function writeSyntheticExtractedApp(root) { | CODE |
| LOW | linux-features/agent-workspace/test.js | 205 | function rewriteSettingsAssetsWithConsolidatedCurrentLayout(assetsDir) { | CODE |
| LOW | linux-features/agent-workspace/test.js | 235 | function writeModernCodexRequestAsset(assetsDir) { | CODE |
| LOW | linux-features/agent-workspace/test.js | 266 | function createSettingsRenderHarness(post) { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 42 | function agentWorkspaceMountPickerBridgeSource() { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 46 | function agentWorkspaceBrowserDataPickerBridgeSource() { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 50 | function agentWorkspaceBrowserDataCopyBridgeSource({ fsVar, pathVar }) { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 54 | function useUserWritableNpmPrefixForInstallRuntime(source) { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 63 | function agentWorkspaceBridgeWithWorkspaceStartSource(args) { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 70 | function agentWorkspaceActionBridgeSource(args) { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 80 | function ensureAgentWorkspaceBridgeEntry(currentSource, entrySource) { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 636 | function approvalPreviewFromResponse(response){ | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 642 | function approvalBundleFromResponse(response){ | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 651 | function approvalRequirementLabels(bundle){ | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 1895 | function isAgentWorkspaceSettingsSharedMetadataBundleSource(currentSource) { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 1905 | function isAgentWorkspaceSettingsRouteBundleSource(currentSource) { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 1912 | function isAgentWorkspaceSettingsNavigationBundleSource(currentSource) { | CODE |
| LOW⚡ | linux-features/agent-workspace/patch.js | 1921 | function addAgentWorkspaceToSettingsSlugLists(currentSource) { | CODE |
| LOW | linux-features/agent-workspace/patch.js | 23 | function agentWorkspaceAppPickerBridgeSource({ fsVar, pathVar }) { | CODE |
| LOW | linux-features/agent-workspace/patch.js | 92 | function replaceAgentWorkspaceActionBridge(currentSource, actionBridgeSource) { | CODE |
| LOW | linux-features/agent-workspace/patch.js | 140 | function applyAgentWorkspaceMainBridgePatch(currentSource) { | CODE |
| LOW | linux-features/agent-workspace/patch.js | 179 | function buildAgentWorkspaceSettingsSource({ | CODE |
| LOW | linux-features/agent-workspace/patch.js | 405 | function defaultMountWorkspacePath(profile,filePath){ | CODE |
| LOW | linux-features/agent-workspace/patch.js | 502 | function workspaceIdFromStartResponse(response,fallback){ | CODE |
| LOW | linux-features/agent-workspace/patch.js | 531 | function cleanupProcessActionCount(cleanup){ | CODE |
| 890 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | install.sh | 4 | # ============================================================================ | COMMENT |
| MEDIUM | install.sh | 7 | # ============================================================================ | COMMENT |
| MEDIUM | tests/webview_probe_equivalence.sh | 78 | # ─── New implementation: extracted from the live template ────────────────── | COMMENT |
| MEDIUM | tests/webview_probe_equivalence.sh | 199 | # ─── Fixture server ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/webview_probe_equivalence.sh | 332 | # ─── Scenario runner ─────────────────────────────────────────────────────── | STRING |
| MEDIUM | scripts/install-deps.sh | 27 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-deps.sh | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-deps.sh | 215 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-deps.sh | 217 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-deps.sh | 319 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-deps.sh | 322 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-deps.sh | 403 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-deps.sh | 405 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-deps.sh | 431 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-deps.sh | 433 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | computer-use-linux/src/atspi_tree.rs | 301 | hydrate_session_bus_env(); | COMMENT |
| LOW | computer-use-linux/src/server.rs | 1461 | title: Option<String>, | COMMENT |
| LOW | computer-use-linux/src/server.rs | 1521 | struct ScreenshotParams { | COMMENT |
| LOW | computer-use-linux/src/server.rs | 1541 | max_width: Option<u32>, | COMMENT |
| LOW | computer-use-linux/src/server.rs | 1621 | #[serde(default)] | COMMENT |
| LOW | computer-use-linux/src/abs_pointer.rs | 1 | //! Direct uinput **absolute** pointer. | COMMENT |
| LOW | tests/webview_probe_equivalence.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | updater/src/config.rs | 61 | pub auto_install_on_app_exit: bool, | COMMENT |
| LOW | updater/src/wrapper_apply.rs | 1 | //! Applies a pending wrapper (repo) update for the current install type. | COMMENT |
| LOW | updater/src/wrapper.rs | 1 | //! Wrapper-repo update detection. | COMMENT |
| LOW | updater/src/state.rs | 101 | #[serde(default)] | COMMENT |
| LOW | updater/src/feature_picker.rs | 1 | //! Interactive feature picker for the in-app wrapper Update button. | COMMENT |
| LOW | updater/src/changelog.rs | 1 | //! Parsing and selection of wrapper CHANGELOG.md entries. | COMMENT |
| LOW | linux-features/node-repl-reaper/reaper.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/patches/strategy-telemetry.js | 1 | "use strict"; | COMMENT |
| LOW | scripts/patches/impl/bootstrap.js | 1 | "use strict"; | COMMENT |
| LOW | scripts/lib/native-modules.sh | 81 | #define OnlyContext isolate->GetCurrentContext() | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/webview_probe_equivalence.sh | 70 | except Exception: | CODE |
| LOW | …install/files/.local/lib/codex-desktop-linux/common.sh | 415 | except Exception: | CODE |
| LOW | linux-features/read-aloud/bin/kokoro_stdin.py | 97 | except Exception as exc: | CODE |
| LOW | scripts/bootstrap-wizard.sh | 405 | except Exception: | CODE |
| LOW | scripts/bootstrap-wizard.sh | 648 | except Exception as exc: | CODE |
| MEDIUM | scripts/bootstrap-wizard.sh | 643 | def read_json(path, label): | CODE |
| LOW | scripts/lib/candidate-promotion.py | 172 | except Exception as error: | CODE |
| LOW | scripts/lib/candidate-promotion.py | 175 | except Exception as cleanup_error: | CODE |
| LOW | scripts/lib/candidate-promotion.py | 354 | except Exception as error: # noqa: BLE001 - CLI should report a concise durable-operation error. | CODE |
| LOW | record-replay-linux/src/ocr.rs | 43 | except Exception as exc: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/lib/bundled-plugins.sh | 272 | # Step 1: Environment override | COMMENT |
| LOW⚡ | scripts/lib/bundled-plugins.sh | 289 | # Step 2: System-installed binaries | COMMENT |
| LOW⚡ | scripts/lib/bundled-plugins.sh | 297 | # Step 3: Install from crates.io | COMMENT |
| LOW | scripts/lib/bundled-plugins.sh | 315 | # Step 4: Vendored build fallback | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/lib/bundled-plugins.sh | 272 | # Step 1: Environment override | COMMENT |
| LOW⚡ | scripts/lib/bundled-plugins.sh | 289 | # Step 2: System-installed binaries | COMMENT |
| LOW⚡ | scripts/lib/bundled-plugins.sh | 297 | # Step 3: Install from crates.io | COMMENT |
| LOW | scripts/lib/bundled-plugins.sh | 315 | # Step 4: Vendored build fallback | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | linux-features/read-aloud/bin/kokoro_stdin.py | 38 | CODE | |
| LOW | scripts/automation/upstream-dmg-watchdog/watchdog.py | 334 | CODE | |
| LOW | scripts/automation/upstream-dmg-watchdog/watchdog.py | 646 | CODE | |
| LOW | scripts/automation/upstream-dmg-watchdog/watchdog.py | 803 | CODE | |
| LOW | scripts/automation/upstream-dmg-watchdog/watchdog.py | 1205 | CODE | |
| LOW | scripts/automation/upstream-dmg-watchdog/watchdog.py | 1718 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | linux-features/read-aloud/bin/kokoro_stdin.py | 4 | CODE | |
| LOW | scripts/lib/candidate-promotion.py | 4 | CODE | |
| LOW | scripts/automation/upstream-dmg-watchdog/watchdog.py | 4 | CODE | |
| LOW | …ipts/automation/upstream-dmg-watchdog/test_watchdog.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | linux-features/agent-workspace/patch.js | 40 | const AGENT_WORKSPACE_BRIDGE_SOURCE_TEMPLATE = "\"linux-agent-workspace-pick-app\":async()=>{let __codexElectron;try{__c | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/scripts_smoke.sh | 9108 | # The harness extracts webview_port_is_open and verify_webview_origin from | STRING |