Install a full Linux desktop environment on your Android device with Termux X11 ( VNC optional) and also enable hardware acceleration
This report summarizes scanner evidence for sabamdarif/termux-desktop, a Shell project with 2,307 GitHub stars. SynthScan examined 5,732 lines of code across 16 source files, recording 131 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 34.8 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 58 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 87 finding(s).
Which changes need focused human review? 131 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 131 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 |
|---|---|---|---|---|
| HIGH | add2menu/add2menu.py | 2751 | except: | CODE |
| HIGH | add2menu/add2menu.py | 193 | except: | CODE |
| HIGH | add2menu/add2menu.py | 296 | except: | CODE |
| 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 |