Securely and anonymously share files, host websites, and chat with friends using the Tor network
This report summarizes scanner evidence for onionshare/onionshare, a Python project with 7,134 GitHub stars. SynthScan examined 54,353 lines of code across 264 source files, recording 494 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 18.4 (Elevated 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? 311 finding(s).
Are imports declared and package/API names verified? 36 finding(s).
Are wrappers, guards, and repeated structures necessary? 363 finding(s).
Which changes need focused human review? 494 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 494 distinct pattern matches across 14 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 |
|---|---|---|---|---|
| HIGH | desktop/setup-freeze.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tor_settings_tab.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/main_window.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tor_connection.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/moat_dialog.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/__init__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/gui_common.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/settings_tab.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/widgets.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/threads.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab_widget.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/update_checker.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/__main__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/strings.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/__init__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/server_status.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/tab.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/mode_settings_widget.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/__init__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/file_selection.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/history.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/receive_mode/__init__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/share_mode/__init__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/share_mode/threads.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/chat_mode/__init__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/website_mode/__init__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/setup.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/onionshare.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/__init__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/censorship.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/mode_settings.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/common.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/meek.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/settings.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/onion.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/web/web.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/web/share_mode.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/web/send_base_mode.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/web/chat_mode.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/web/__init__.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/web/website_mode.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | cli/onionshare_cli/web/receive_mode.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/connection_tab.py | 0 | onionshare | https://onionshare.org/ copyright (c) 2014-2021 micah lee, et al. <micah@micahflee.com> this program is fre | STRING |
| HIGH | desktop/onionshare/tab/mode/__init__.py | 0 | returns the type of mode as a string (e.g. "share", "receive", etc.) | STRING |
| HIGH | desktop/onionshare/tab/mode/receive_mode/__init__.py | 0 | returns the type of mode as a string (e.g. "share", "receive", etc.) | STRING |
| HIGH | desktop/onionshare/tab/mode/share_mode/__init__.py | 0 | returns the type of mode as a string (e.g. "share", "receive", etc.) | STRING |
| HIGH | desktop/onionshare/tab/mode/chat_mode/__init__.py | 0 | returns the type of mode as a string (e.g. "share", "receive", etc.) | STRING |
| HIGH | desktop/onionshare/tab/mode/website_mode/__init__.py | 0 | returns the type of mode as a string (e.g. "share", "receive", etc.) | STRING |
| HIGH | desktop/onionshare/tab/mode/__init__.py | 0 | return the string to put on the stop server button, if there's an auto-stop timer | STRING |
| HIGH | desktop/onionshare/tab/mode/receive_mode/__init__.py | 0 | return the string to put on the stop server button, if there's an auto-stop timer | STRING |
| HIGH | desktop/onionshare/tab/mode/share_mode/__init__.py | 0 | return the string to put on the stop server button, if there's an auto-stop timer | STRING |
| HIGH | desktop/onionshare/tab/mode/chat_mode/__init__.py | 0 | return the string to put on the stop server button, if there's an auto-stop timer | STRING |
| HIGH | desktop/onionshare/tab/mode/website_mode/__init__.py | 0 | return the string to put on the stop server button, if there's an auto-stop timer | STRING |
| HIGH | desktop/onionshare/tab/mode/__init__.py | 0 | the auto-stop timer expired, should we stop the server? returns a bool | STRING |
| HIGH | desktop/onionshare/tab/mode/receive_mode/__init__.py | 0 | the auto-stop timer expired, should we stop the server? returns a bool | STRING |
| HIGH | desktop/onionshare/tab/mode/share_mode/__init__.py | 0 | the auto-stop timer expired, should we stop the server? returns a bool | STRING |
| HIGH | desktop/onionshare/tab/mode/chat_mode/__init__.py | 0 | the auto-stop timer expired, should we stop the server? returns a bool | STRING |
| HIGH | desktop/onionshare/tab/mode/website_mode/__init__.py | 0 | the auto-stop timer expired, should we stop the server? returns a bool | STRING |
| HIGH | desktop/tests/test_gui_share.py | 0 | our custom 405 page should return for invalid methods | STRING |
| HIGH | desktop/tests/test_gui_receive.py | 0 | our custom 405 page should return for invalid methods | STRING |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | flatpak/pyproject-to-requirements.py | 58 | def pyproject_to_requirements(pyproject_filename): | CODE |
| LOW | desktop/onionshare/tor_settings_tab.py | 527 | def connection_type_bundled_toggled(self, checked): | CODE |
| LOW | desktop/onionshare/tor_settings_tab.py | 537 | def bridge_use_checkbox_state_changed(self): | CODE |
| LOW | desktop/onionshare/tor_settings_tab.py | 550 | def bridge_builtin_radio_toggled(self, checked): | CODE |
| LOW | desktop/onionshare/tor_settings_tab.py | 559 | def bridge_builtin_dropdown_changed(self, selection): | CODE |
| LOW | desktop/onionshare/tor_settings_tab.py | 572 | def bridge_moat_radio_toggled(self, checked): | CODE |
| LOW | desktop/onionshare/tor_settings_tab.py | 581 | def bridge_moat_button_clicked(self): | CODE |
| LOW⚡ | desktop/onionshare/tor_settings_tab.py | 599 | def bridge_custom_radio_toggled(self, checked): | CODE |
| LOW⚡ | desktop/onionshare/tor_settings_tab.py | 608 | def connection_type_automatic_toggled(self, checked): | CODE |
| LOW⚡ | desktop/onionshare/tor_settings_tab.py | 618 | def connection_type_control_port_toggled(self, checked): | CODE |
| LOW | desktop/onionshare/tor_settings_tab.py | 632 | def connection_type_socket_file_toggled(self, checked): | CODE |
| LOW | desktop/onionshare/tor_settings_tab.py | 646 | def authenticate_no_auth_toggled(self, checked): | CODE |
| LOW | desktop/onionshare/main_window.py | 221 | def tor_connection_open_tor_settings(self): | CODE |
| LOW | desktop/onionshare/tor_connection.py | 141 | def _canceled_connecting_to_tor(self): | CODE |
| LOW | desktop/onionshare/connection_tab.py | 161 | def first_launch_widget_connect_clicked(self): | CODE |
| LOW | desktop/onionshare/connection_tab.py | 171 | def try_again_without_bridges_clicked(self): | CODE |
| LOW | desktop/onionshare/connection_tab.py | 205 | def _censorship_progress_update(self, progress, summary): | CODE |
| LOW | desktop/onionshare/connection_tab.py | 225 | def use_bridge_connect_clicked(self): | CODE |
| LOW | desktop/onionshare/connection_tab.py | 715 | def _detect_automatic_toggled(self): | CODE |
| LOW | desktop/onionshare/moat_dialog.py | 231 | def solution_lineedit_editing_finished(self): | CODE |
| LOW | desktop/onionshare/settings_tab.py | 205 | def close_forced_update_thread(): | CODE |
| LOW | desktop/onionshare/settings_tab.py | 325 | def _update_autoupdate_timestamp(self, autoupdate_timestamp): | CODE |
| LOW⚡ | desktop/onionshare/tab/server_status.py | 507 | def show_url_qr_code_button_clicked(self): | CODE |
| LOW⚡ | desktop/onionshare/tab/server_status.py | 515 | def show_client_auth_qr_code_button_clicked(self): | CODE |
| LOW⚡ | desktop/onionshare/tab/server_status.py | 525 | def client_auth_toggle_button_clicked(self): | CODE |
| LOW | desktop/onionshare/tab/tab.py | 402 | def update_server_status_indicator(self): | CODE |
| LOW | desktop/onionshare/tab/tab.py | 481 | def set_server_status_indicator_stopped(self, label_text): | CODE |
| LOW | desktop/onionshare/tab/tab.py | 492 | def set_server_status_indicator_working(self, label_text): | CODE |
| LOW | desktop/onionshare/tab/tab.py | 501 | def set_server_status_indicator_started(self, label_text): | CODE |
| LOW | desktop/onionshare/tab/mode/mode_settings_widget.py | 228 | def persistent_checkbox_clicked(self): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/mode_settings_widget.py | 243 | def persistent_autostart_on_launch_checkbox_clicked(self): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/mode_settings_widget.py | 249 | def autostart_timer_checkbox_clicked(self): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/mode_settings_widget.py | 259 | def autostop_timer_checkbox_clicked(self): | CODE |
| LOW | desktop/onionshare/tab/mode/__init__.py | 233 | def get_stop_server_autostop_timer_text(self): | CODE |
| LOW | desktop/onionshare/tab/mode/__init__.py | 239 | def autostop_timer_finished_should_stop_server(self): | CODE |
| LOW | desktop/onionshare/tab/mode/__init__.py | 391 | def start_server_error_custom(self): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/__init__.py | 497 | def handle_request_upload_includes_message(self, event): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/__init__.py | 503 | def handle_request_upload_file_renamed(self, event): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/__init__.py | 509 | def handle_request_upload_message(self, event): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/__init__.py | 515 | def handle_request_upload_set_dir(self, event): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/__init__.py | 521 | def handle_request_upload_finished(self, event): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/__init__.py | 527 | def handle_request_upload_canceled(self, event): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/__init__.py | 533 | def handle_request_individual_file_started(self, event): | CODE |
| LOW | desktop/onionshare/tab/mode/__init__.py | 545 | def handle_request_individual_file_progress(self, event): | CODE |
| LOW | desktop/onionshare/tab/mode/__init__.py | 555 | def handle_request_individual_file_canceled(self, event): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/receive_mode/__init__.py | 346 | def disable_text_checkbox_clicked(self): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/receive_mode/__init__.py | 356 | def disable_files_checkbox_clicked(self): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/receive_mode/__init__.py | 366 | def webhook_url_checkbox_clicked(self): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 377 | def webhook_url_editing_finished(self): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 386 | def max_upload_size_checkbox_clicked(self): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 402 | def max_upload_size_total_checkbox_clicked(self): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 414 | def set_max_upload_size_widgets(self, size): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 439 | def get_stop_server_autostop_timer_text(self): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 445 | def autostop_timer_finished_should_stop_server(self): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 552 | def handle_request_upload_includes_message(self, event): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 558 | def handle_request_upload_file_renamed(self, event): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 571 | def handle_request_upload_set_dir(self, event): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 584 | def handle_request_upload_finished(self, event): | CODE |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 594 | def handle_request_upload_canceled(self, event): | CODE |
| LOW⚡ | desktop/onionshare/tab/mode/share_mode/__init__.py | 184 | def autostop_sharing_checkbox_clicked(self): | CODE |
| 155 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | desktop/onionshare/threads.py | 262 | except Exception: | CODE |
| HIGH | desktop/onionshare/tab_widget.py | 158 | except KeyError: | CODE |
| HIGH | desktop/onionshare/tab/server_status.py | 227 | except Exception: | CODE |
| HIGH | desktop/onionshare/tab/mode/__init__.py | 438 | except Exception: | CODE |
| HIGH | desktop/onionshare/tab/mode/share_mode/threads.py | 60 | except AttributeError: | CODE |
| HIGH | desktop/tests/test_receive_data_dir_writable.py | 41 | except OSError: | CODE |
| HIGH | desktop/scripts/build-macos.py | 183 | except FileNotFoundError: | CODE |
| HIGH | desktop/scripts/build-macos.py | 188 | except FileNotFoundError: | CODE |
| HIGH | desktop/scripts/build-macos.py | 193 | except FileNotFoundError: | CODE |
| HIGH | cli/onionshare_cli/onionshare.py | 135 | except OSError: | CODE |
| HIGH | cli/onionshare_cli/mode_settings.py | 154 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/common.py | 675 | except OSError: | CODE |
| HIGH | cli/onionshare_cli/settings.py | 185 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/settings.py | 179 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/onion.py | 849 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/onion.py | 925 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/onion.py | 270 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/onion.py | 500 | except FileNotFoundError: | CODE |
| HIGH | cli/onionshare_cli/onion.py | 516 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/onion.py | 526 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/onion.py | 892 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/onion.py | 540 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/web/web.py | 55 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/web/web.py | 355 | except queue.Empty: | CODE |
| HIGH | cli/onionshare_cli/web/web.py | 417 | except OSError: | CODE |
| HIGH | cli/onionshare_cli/web/web.py | 424 | except OSError: | CODE |
| HIGH | cli/onionshare_cli/web/web.py | 428 | except OSError: | CODE |
| HIGH | cli/onionshare_cli/web/share_mode.py | 400 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/web/receive_mode.py | 880 | except Exception: | CODE |
| HIGH | cli/onionshare_cli/web/receive_mode.py | 685 | except OSError: | CODE |
| HIGH | cli/onionshare_cli/web/receive_mode.py | 861 | except OSError: | CODE |
| HIGH | cli/tests/conftest.py | 113 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | flatpak/generate-golang-dependencies.py | 8 | # Define the repositories, tags, and subfolders | COMMENT |
| MEDIUM | flatpak/generate-golang-dependencies.py | 19 | # Create the flatpak folder and subfolders | COMMENT |
| MEDIUM | desktop/setup.py | 2 | # This file is used to build the Snapcraft and Flatpak packages | COMMENT |
| MEDIUM | desktop/onionshare/main_window.py | 157 | # Create the close warning dialog -- the dialog widget needs to be in the constructor | COMMENT |
| MEDIUM | desktop/onionshare/tab_widget.py | 56 | # Define the new tab button | COMMENT |
| MEDIUM | desktop/onionshare/tab/tab.py | 214 | # Create the timer | COMMENT |
| MEDIUM | desktop/onionshare/tab/tab.py | 228 | # Create the close warning dialog -- the dialog widget needs to be in the constructor | COMMENT |
| MEDIUM | desktop/onionshare/tab/mode/file_selection.py | 287 | # Create a new item | COMMENT |
| MEDIUM | desktop/onionshare/tab/mode/file_selection.py | 331 | # Create the item's widget and layouts | COMMENT |
| MEDIUM | desktop/onionshare/tab/mode/receive_mode/__init__.py | 44 | # Create the Web object | COMMENT |
| MEDIUM | desktop/onionshare/tab/mode/share_mode/__init__.py | 48 | # Create the Web object | COMMENT |
| MEDIUM | desktop/onionshare/tab/mode/chat_mode/__init__.py | 43 | # Create the Web object | COMMENT |
| MEDIUM | desktop/onionshare/tab/mode/website_mode/__init__.py | 48 | # Create the Web object | COMMENT |
| MEDIUM | cli/onionshare_cli/__init__.py | 353 | # Create the Web object | COMMENT |
| MEDIUM | cli/onionshare_cli/onion.py | 228 | # Create a torrc for this session | COMMENT |
| MEDIUM | cli/onionshare_cli/onion.py | 242 | # Create the torrc | COMMENT |
| MEDIUM | cli/onionshare_cli/web/web.py | 157 | # Define the web app routes | COMMENT |
| MEDIUM | cli/onionshare_cli/web/web.py | 160 | # Create the mode web object, which defines its own routes | COMMENT |
| MEDIUM | cli/onionshare_cli/web/send_base_mode.py | 47 | # Create a temporary dir to store gzip files in | COMMENT |
| MEDIUM | cli/onionshare_cli/web/receive_mode.py | 603 | # Create an history_id, attach it to the request | COMMENT |
| MEDIUM⚡ | cli/tests/test_cli_web_symlink.py | 24 | # Create a unique temp directory for this test setup | COMMENT |
| MEDIUM⚡ | cli/tests/test_cli_web_symlink.py | 27 | # Create the secret file outside the shared directory | COMMENT |
| MEDIUM⚡ | cli/tests/test_cli_web_symlink.py | 32 | # Create the shared directory | COMMENT |
| MEDIUM⚡ | cli/tests/test_cli_web_symlink.py | 36 | # Create a normal file in the shared directory | COMMENT |
| MEDIUM⚡ | cli/tests/test_cli_web_symlink.py | 41 | # Create a symlink to the secret inside the shared directory | COMMENT |
| MEDIUM⚡ | cli/tests/test_cli_web_symlink.py | 45 | # Create a nested directory with files and symlinks | COMMENT |
| MEDIUM | cli/tests/test_cli_web_symlink.py | 184 | # Create a directory with only a symlink (no normal files) | COMMENT |
| MEDIUM | cli/tests/test_cli_web_symlink.py | 242 | # Create a unique temp directory for this test | COMMENT |
| MEDIUM | cli/tests/test_cli_web_symlink.py | 255 | # Create a symlink to a directory | COMMENT |
| MEDIUM | cli/tests/test_cli_web_symlink.py | 259 | # Create a normal file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | desktop/onionshare/tor_connection.py | 213 | except Exception as e: | CODE |
| LOW | desktop/onionshare/moat_dialog.py | 348 | except Exception as e: | CODE |
| LOW | desktop/onionshare/moat_dialog.py | 417 | except Exception as e: | CODE |
| LOW | desktop/onionshare/threads.py | 109 | except Exception as e: | CODE |
| LOW | desktop/onionshare/threads.py | 262 | except Exception: | CODE |
| LOW | desktop/onionshare/update_checker.py | 147 | except Exception as e: | CODE |
| LOW | desktop/onionshare/update_checker.py | 210 | except Exception as e: | CODE |
| LOW | desktop/onionshare/tab/server_status.py | 227 | except Exception: | CODE |
| LOW | desktop/onionshare/tab/mode/__init__.py | 438 | except Exception: | CODE |
| LOW | desktop/onionshare/tab/mode/history.py | 258 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onionshare.py | 63 | except Exception: | CODE |
| LOW | cli/onionshare_cli/__init__.py | 376 | except Exception: | CODE |
| LOW | cli/onionshare_cli/mode_settings.py | 154 | except Exception: | CODE |
| LOW⚡ | cli/onionshare_cli/common.py | 414 | except Exception: | CODE |
| LOW⚡ | cli/onionshare_cli/common.py | 420 | except Exception: | CODE |
| LOW⚡ | cli/onionshare_cli/common.py | 430 | except Exception: | CODE |
| LOW | cli/onionshare_cli/meek.py | 173 | except Exception: | CODE |
| LOW | cli/onionshare_cli/settings.py | 179 | except Exception: | CODE |
| LOW | cli/onionshare_cli/settings.py | 185 | except Exception: | CODE |
| LOW | cli/onionshare_cli/settings.py | 204 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 250 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 270 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 281 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 450 | except Exception as e: | CODE |
| LOW | cli/onionshare_cli/onion.py | 516 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 526 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 540 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 562 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 569 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 592 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 671 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 823 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 844 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 849 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 892 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 912 | except Exception: | CODE |
| LOW | cli/onionshare_cli/onion.py | 925 | except Exception: | CODE |
| LOW | cli/onionshare_cli/web/web.py | 55 | except Exception: | CODE |
| LOW | cli/onionshare_cli/web/web.py | 386 | except Exception as e: | CODE |
| LOW | cli/onionshare_cli/web/share_mode.py | 376 | except Exception: | CODE |
| LOW | cli/onionshare_cli/web/share_mode.py | 400 | except Exception: | CODE |
| LOW | cli/onionshare_cli/web/send_base_mode.py | 344 | except Exception: | CODE |
| LOW | cli/onionshare_cli/web/chat_mode.py | 86 | except Exception as e: | CODE |
| MEDIUM | cli/onionshare_cli/web/chat_mode.py | 78 | def validate_username(self, username): | CODE |
| LOW⚡ | cli/onionshare_cli/web/receive_mode.py | 410 | except Exception: | CODE |
| LOW | cli/onionshare_cli/web/receive_mode.py | 370 | except Exception as e: | CODE |
| LOW | cli/onionshare_cli/web/receive_mode.py | 462 | except Exception: | CODE |
| LOW | cli/onionshare_cli/web/receive_mode.py | 476 | except Exception: | CODE |
| LOW | cli/onionshare_cli/web/receive_mode.py | 540 | except Exception: | CODE |
| LOW | cli/onionshare_cli/web/receive_mode.py | 880 | except Exception: | CODE |
| LOW | cli/tests/conftest.py | 113 | except Exception: | CODE |
| LOW | cli/tests/test_cli_web.py | 639 | except Exception: | CODE |
| LOW | cli/tests/test_cli_web.py | 661 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | flatpak/pyproject-to-requirements.py | 11 | CODE | |
| LOW | desktop/onionshare/tor_settings_tab.py | 418 | CODE | |
| LOW | desktop/onionshare/tor_settings_tab.py | 682 | CODE | |
| LOW | desktop/onionshare/moat_dialog.py | 267 | CODE | |
| LOW | desktop/onionshare/__init__.py | 139 | CODE | |
| LOW | desktop/onionshare/gui_common.py | 632 | CODE | |
| LOW | desktop/onionshare/threads.py | 205 | CODE | |
| LOW | desktop/onionshare/tab_widget.py | 416 | CODE | |
| LOW | desktop/onionshare/tab/server_status.py | 230 | CODE | |
| LOW | desktop/onionshare/tab/server_status.py | 333 | CODE | |
| LOW | desktop/onionshare/tab/server_status.py | 435 | CODE | |
| LOW | desktop/onionshare/tab/tab.py | 241 | CODE | |
| LOW | desktop/onionshare/tab/tab.py | 402 | CODE | |
| LOW | desktop/onionshare/tab/tab.py | 514 | CODE | |
| LOW | desktop/onionshare/tab/tab.py | 633 | CODE | |
| LOW | desktop/onionshare/tab/tab.py | 646 | CODE | |
| LOW | desktop/onionshare/tab/mode/mode_settings_widget.py | 201 | CODE | |
| LOW | desktop/onionshare/tab/mode/__init__.py | 167 | CODE | |
| LOW | desktop/onionshare/tab/mode/history.py | 385 | CODE | |
| LOW | desktop/tests/test_gui_receive.py | 71 | CODE | |
| LOW | desktop/tests/test_gui_receive.py | 273 | CODE | |
| LOW | desktop/tests/test_gui_receive.py | 361 | CODE | |
| LOW | desktop/scripts/get-tor.py | 267 | CODE | |
| LOW | desktop/scripts/macos-check-arch.py | 5 | CODE | |
| LOW | desktop/scripts/build-windows.py | 65 | CODE | |
| LOW | desktop/scripts/common.py | 5 | CODE | |
| LOW | cli/onionshare_cli/__init__.py | 38 | CODE | |
| LOW | cli/onionshare_cli/censorship.py | 228 | CODE | |
| LOW | cli/onionshare_cli/mode_settings.py | 95 | CODE | |
| LOW | cli/onionshare_cli/common.py | 322 | CODE | |
| LOW | cli/onionshare_cli/meek.py | 149 | CODE | |
| LOW | cli/onionshare_cli/settings.py | 199 | CODE | |
| LOW | cli/onionshare_cli/onion.py | 194 | CODE | |
| LOW | cli/onionshare_cli/onion.py | 828 | CODE | |
| LOW | cli/onionshare_cli/web/web.py | 86 | CODE | |
| LOW | cli/onionshare_cli/web/web.py | 189 | CODE | |
| LOW | cli/onionshare_cli/web/share_mode.py | 51 | CODE | |
| LOW | cli/onionshare_cli/web/share_mode.py | 303 | CODE | |
| LOW | cli/onionshare_cli/web/share_mode.py | 431 | CODE | |
| LOW | cli/onionshare_cli/web/send_base_mode.py | 73 | CODE | |
| LOW | cli/onionshare_cli/web/send_base_mode.py | 251 | CODE | |
| LOW | cli/onionshare_cli/web/send_base_mode.py | 292 | CODE | |
| LOW | cli/onionshare_cli/web/website_mode.py | 71 | CODE | |
| LOW | cli/onionshare_cli/web/receive_mode.py | 488 | CODE | |
| LOW | cli/onionshare_cli/web/receive_mode.py | 660 | CODE | |
| LOW | cli/onionshare_cli/web/receive_mode.py | 790 | CODE | |
| LOW | cli/tests/test_cli_web.py | 646 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | desktop/tests/gui_base_test.py | 110 | tab.share_mode.server_status.file_selection.file_list.add_file(filename) | CODE |
| CRITICAL | desktop/tests/gui_base_test.py | 147 | tab.website_mode.server_status.file_selection.file_list.add_file(filename) | CODE |
| CRITICAL | docs/gettext/_static/jquery.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| CRITICAL | …share_cli/resources/static/js/jquery-3.7.1.slim.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | desktop/setup-freeze.py | 25 | CODE | |
| LOW | desktop/onionshare/main_window.py | 21 | CODE | |
| LOW | desktop/onionshare/__init__.py | 21 | CODE | |
| LOW | desktop/onionshare/__init__.py | 29 | CODE | |
| LOW | desktop/onionshare/__init__.py | 31 | CODE | |
| LOW | desktop/onionshare/settings_parent_tab.py | 1 | CODE | |
| LOW | desktop/onionshare/settings_parent_tab.py | 3 | CODE | |
| LOW | desktop/onionshare/settings_parent_tab.py | 6 | CODE | |
| LOW | desktop/onionshare/settings_parent_tab.py | 7 | CODE | |
| LOW | desktop/onionshare/settings_parent_tab.py | 8 | CODE | |
| LOW | desktop/onionshare/settings_parent_tab.py | 11 | CODE | |
| LOW | desktop/onionshare/tab/__init__.py | 21 | CODE | |
| LOW | desktop/onionshare/tab/mode/receive_mode/__init__.py | 31 | CODE | |
| LOW | desktop/tests/gui_base_test.py | 12 | CODE | |
| LOW | desktop/tests/gui_base_test.py | 14 | CODE | |
| LOW | desktop/scripts/get-tor.py | 2 | CODE | |
| LOW | desktop/scripts/get-tor.py | 8 | CODE | |
| LOW | desktop/scripts/build-macos.py | 9 | CODE | |
| LOW | desktop/scripts/build-macos.py | 10 | CODE | |
| LOW | cli/onionshare_cli/common.py | 28 | CODE | |
| LOW | cli/onionshare_cli/web/web.py | 20 | CODE | |
| LOW | cli/onionshare_cli/web/web.py | 25 | CODE | |
| LOW | cli/onionshare_cli/web/web.py | 26 | CODE | |
| LOW | cli/onionshare_cli/web/web.py | 30 | CODE | |
| LOW | cli/onionshare_cli/web/web.py | 30 | CODE | |
| LOW | cli/onionshare_cli/web/__init__.py | 21 | CODE | |
| LOW | cli/tests/test_cli_web_symlink.py | 2 | CODE | |
| LOW | cli/tests/test_cli_web_symlink.py | 7 | CODE | |
| LOW | cli/tests/test_cli_web_symlink.py | 9 | CODE | |
| LOW | cli/tests/test_cli_web.py | 8 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | desktop/onionshare/tor_settings_tab.py | 423 | # Check if autoconnect was enabled | COMMENT |
| LOW | desktop/onionshare/main_window.py | 277 | # Check if color mode switched while onionshare was open, if so, ask user to restart | COMMENT |
| LOW | desktop/onionshare/tab_widget.py | 329 | # Check if the last tab is closed, or there is only one tab | COMMENT |
| LOW | desktop/onionshare/tab/mode/history.py | 744 | # Add it to the list | COMMENT |
| LOW | cli/onionshare_cli/web/share_mode.py | 491 | # Check if there's only 1 file and no folders | COMMENT |
| LOW⚡ | cli/onionshare_cli/web/receive_mode.py | 406 | # Open the file | COMMENT |
| LOW | cli/onionshare_cli/web/receive_mode.py | 180 | # Check if files were submitted when disabled | COMMENT |
| LOW | cli/onionshare_cli/web/receive_mode.py | 764 | # Check if file uploads are disabled - reject file streams early | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | flatpak/snowflake/modules.txt | 41 | github.com/aws/aws-sdk-go-v2/credentials/ssocreds | COMMENT |
| LOW | flatpak/snowflake/modules.txt | 121 | ## explicit | COMMENT |
| LOW | flatpak/snowflake/modules.txt | 321 | # github.com/stretchr/testify v1.11.1 | COMMENT |
| LOW | flatpak/snowflake/modules.txt | 341 | ## explicit; go 1.20 | COMMENT |
| LOW | cli/onionshare_cli/web/receive_mode.py | 21 | import tempfile | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 41 | # Initializes the CodeQL tools for scanning. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cli/onionshare_cli/__init__.py | 318 | # The assumption is that if we didn't just create the mode settings, | COMMENT |
| LOW | cli/onionshare_cli/onion.py | 804 | # it would need to be in the format below. However, let's just set the private key | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cli/onionshare_cli/web/receive_mode.py | 412 | # OnionShare is running, but if it does make sure to throw an error | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | desktop/tests/gui_base_test.py | 65 | "<html><body><p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque la | CODE |
| LOW | desktop/tests/gui_base_test.py | 65 | "<html><body><p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque la | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | desktop/onionshare/tab/mode/__init__.py | 165 | CODE |