Install a full Linux desktop environment on your Android device with Termux X11 ( VNC optional) and also enable hardware acceleration
This report presents the forensic synthetic code analysis of sabamdarif/termux-desktop, a Shell project with 2,090 GitHub stars. SynthScan v2.0 examined 5,572 lines of code across 16 source files, recording 128 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 33.7 places this repository in the Strong 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 128 distinct pattern matches across 8 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 |
|---|---|---|---|---|
| MEDIUM | other/motd.sh | 37 | #============================================== | COMMENT |
| MEDIUM | other/motd.sh | 39 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 52 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 54 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 63 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 65 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 68 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 70 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 84 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 86 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 91 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 93 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 98 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 100 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 104 | #============================================== | COMMENT |
| MEDIUM⚡ | other/motd.sh | 106 | #============================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | add2menu/add2menu.py | 225 | print(f"Error closing log file: {e}") | CODE |
| MEDIUM⚡ | add2menu/add2menu.py | 1248 | print(f"Error processing {filepath}: {str(e)}") | CODE |
| MEDIUM⚡ | add2menu/add2menu.py | 1250 | print(f"Error listing desktop files with sudo: {result.stderr}") | CODE |
| MEDIUM⚡ | add2menu/add2menu.py | 1255 | print(f"Error running sudo command: {e}") | CODE |
| MEDIUM⚡ | add2menu/add2menu.py | 1336 | print(f"Error reading desktop file with sudo: {cmd_result.stderr}") | CODE |
| MEDIUM⚡ | add2menu/add2menu.py | 1343 | print(f"Error parsing desktop file with sudo {filepath}: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 130 | print(f"Error closing log file: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 189 | print(f"Error writing to log file: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 590 | print(f"Error reading configuration: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1018 | print(f"Error processing added file {filepath}: {str(e)}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1198 | print(f"Error processing {filepath}: {str(e)}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1371 | print(f"Error reading symlink with sudo: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1431 | print(f"Error parsing desktop file {filepath}: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1627 | print(f"Error getting icon path: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1657 | print(f"Error getting icon path: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1679 | print(f"Error getting icon path: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1702 | print(f"Error getting icon path: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1729 | print(f"Error getting icon path: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1760 | print(f"Error getting fallback icon path: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 1970 | print(f"Error copying desktop file with sudo: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 2119 | print(f"Error running {' '.join(full_cmd)}: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 2596 | print(f"Error processing {filepath}: {str(e)}") | CODE |
| MEDIUM | add2menu/add2menu.py | 2702 | print(f"Error reading gtkrc: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 2716 | print(f"Error reading gtk3 settings: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 2744 | print(f"Error loading icon '{icon_name}' from theme: {e}") | CODE |
| MEDIUM | add2menu/add2menu.py | 2757 | print(f"Error setting icon for '{icon_name}': {e}") | CODE |
| LOW⚡ | add2menu/add2menu.py | 224 | except Exception as e: | CODE |
| LOW⚡ | add2menu/add2menu.py | 291 | except Exception as e: | CODE |
| LOW⚡ | add2menu/add2menu.py | 1247 | except Exception as e: | CODE |
| LOW⚡ | add2menu/add2menu.py | 1254 | except Exception as e: | CODE |
| LOW⚡ | add2menu/add2menu.py | 1342 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 129 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 188 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 589 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 981 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1017 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1197 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1430 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1625 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1655 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1677 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1700 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1727 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1758 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 1969 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 2118 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 2357 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 2387 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 2595 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 2701 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 2715 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 2743 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 2756 | except Exception as e: | CODE |
| LOW | add2menu/add2menu.py | 2854 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | add2menu/add2menu.py | 230 | # Create a file chooser dialog | COMMENT |
| MEDIUM⚡ | add2menu/add2menu.py | 2919 | # Create the log window if it doesn't exist, but don't show it yet | COMMENT |
| MEDIUM | add2menu/add2menu.py | 70 | # Create a scrolled window for the text view | COMMENT |
| MEDIUM | add2menu/add2menu.py | 75 | # Create a text view with monospace font for terminal-like appearance | COMMENT |
| MEDIUM | add2menu/add2menu.py | 143 | # Create a CSS provider for custom styling | COMMENT |
| MEDIUM | add2menu/add2menu.py | 970 | # Create a new thread | COMMENT |
| MEDIUM | add2menu/add2menu.py | 2372 | # Create a GIO input stream for reading | COMMENT |
| MEDIUM | add2menu/add2menu.py | 2509 | # Create a new list to store filtered results | COMMENT |
| MEDIUM | add2menu/add2menu.py | 706 | # Create a properly integrated headerbar | STRING |
| MEDIUM | add2menu/add2menu.py | 916 | # Create the column with our play button | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | add2menu/add2menu.py | 275 | # Open the file for appending (we want to keep writing to it) | COMMENT |
| LOW⚡ | add2menu/add2menu.py | 282 | # Set flag to continue logging to this file | COMMENT |
| LOW⚡ | add2menu/add2menu.py | 1459 | # Check if it's a path within the distro | COMMENT |
| LOW⚡ | add2menu/add2menu.py | 1465 | # Check if file exists, using sudo for chroot if needed | COMMENT |
| LOW | add2menu/add2menu.py | 44 | # Set this to True to debug icon issues | COMMENT |
| LOW | add2menu/add2menu.py | 1304 | # Check if the resolved file exists using sudo | COMMENT |
| LOW | add2menu/add2menu.py | 1407 | # Check if the resolved file exists | COMMENT |
| LOW | add2menu/add2menu.py | 1612 | # Check if the icon exists in the theme | COMMENT |
| LOW | add2menu/add2menu.py | 2049 | # Check if there's a manual override for this file | COMMENT |
| LOW | add2menu/add2menu.py | 2208 | # Check if the click was on the play button column (last column) | COMMENT |
| LOW | add2menu/add2menu.py | 2225 | # Check if the click was on the checkbox column | COMMENT |
| LOW | add2menu/add2menu.py | 2262 | # Check if we're in remove mode | COMMENT |
| LOW | add2menu/add2menu.py | 2319 | # Check if app launch logging is enabled | COMMENT |
| LOW | add2menu/add2menu.py | 2397 | # Check if the first part is already an absolute path | COMMENT |
| LOW | add2menu/add2menu.py | 2553 | # Check if the app matches the search query | COMMENT |
| LOW | add2menu/add2menu.py | 2581 | # Check if the item was previously selected | COMMENT |
| LOW | add2menu/add2menu.py | 2690 | # Check if there's a .gtkrc-2.0 file in the home directory | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | add2menu/add2menu.py | 2904 | def on_show_added_apps_toggled(self, action, value): | CODE |
| LOW⚡ | add2menu/add2menu.py | 2914 | def on_show_app_launch_log_toggled(self, action, value): | CODE |
| LOW | add2menu/add2menu.py | 984 | def _complete_background_task(self, result): | CODE |
| LOW | add2menu/add2menu.py | 1211 | def list_desktop_files_with_sudo(self, directory): | CODE |
| LOW | add2menu/add2menu.py | 1269 | def parse_desktop_file_with_sudo(self, filepath): | CODE |
| LOW | add2menu/add2menu.py | 1944 | def copy_desktop_file_with_sudo(self, source_path, dest_path): | CODE |
| LOW | add2menu/add2menu.py | 2040 | def read_and_modify_desktop_file(self, filepath): | CODE |
| LOW | add2menu/add2menu.py | 2062 | def process_remove_applications(self, selected): | CODE |
| LOW | add2menu/add2menu.py | 2086 | def _run_command_if_available(self, cmd_parts, description=""): | CODE |
| LOW | add2menu/add2menu.py | 2182 | def play_button_visibility_func(self, column, cell, model, iter, data): | CODE |
| LOW | add2menu/add2menu.py | 2234 | def highlight_row_temporarily(self, treeview, path): | CODE |
| LOW | add2menu/add2menu.py | 2681 | def detect_current_icon_theme(self): | CODE |
| LOW | add2menu/add2menu.py | 2932 | def on_edit_manually_activated(self, action, param): | CODE |
| LOW | add2menu/add2menu.py | 511 | def read_termux_desktop_config(self): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | add2menu/add2menu.py | 215 | CODE | |
| LOW | add2menu/add2menu.py | 511 | CODE | |
| LOW | add2menu/add2menu.py | 1000 | CODE | |
| LOW | add2menu/add2menu.py | 1057 | CODE | |
| LOW | add2menu/add2menu.py | 1163 | CODE | |
| LOW | add2menu/add2menu.py | 1211 | CODE | |
| LOW | add2menu/add2menu.py | 1269 | CODE | |
| LOW | add2menu/add2menu.py | 1374 | CODE | |
| LOW | add2menu/add2menu.py | 1436 | CODE | |
| LOW | add2menu/add2menu.py | 1608 | CODE | |
| LOW | add2menu/add2menu.py | 2256 | CODE | |
| LOW | add2menu/add2menu.py | 2420 | CODE | |
| LOW | add2menu/add2menu.py | 2483 | CODE | |
| LOW | add2menu/add2menu.py | 2681 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | add2menu/add2menu.py | 1452 | # For full path icons, just return as is if they exist | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | add2menu/add2menu.py | 1 | #!/data/data/com.termux/files/usr/bin/env python3 | COMMENT |
| LOW | other/motd.sh | 1 | #!/data/data/com.termux/files/usr/bin/bash | COMMENT |