AI Slop Code RIsk Monitor

evilsocket/opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.

7.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for evilsocket/opensnitch, a Python project with 14,144 GitHub stars. SynthScan examined 178,763 lines of code across 428 source files, recording 944 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 7.2 (Moderate 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.

7.2
Adjusted Signal
7.2
Raw Pattern Score
100%
Time Factor
2026-07-26
Last Push
14.1K
Stars
Python
Language
178.8K
Lines of Code
428
Files
944
Pattern Hits
2026-10-12
Scan Date
0.14
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 12.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 443 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.5/100 · LOW

Are imports declared and package/API names verified? 91 finding(s).

Agent Over-Engineering Ratio 22.5/100 · LOW

Are wrappers, guards, and repeated structures necessary? 617 finding(s).

PR Review Velocity Impact 33.1/100 · MEDIUM

Which changes need focused human review? 944 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 59MEDIUM 100LOW 785

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 944 distinct pattern matches across 13 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.

Excessive Try-Catch Wrapping338 hits · 390 pts
SeverityFileLineSnippetContext
MEDIUMui/tests/dialogs/test_preferences.py18def reset_settings(self):CODE
LOWui/tests/dialogs/test_preferences.py21 except Exception:CODE
MEDIUMui/opensnitch/service.py253def _on_switch_autostart(self):CODE
MEDIUMui/opensnitch/service.py282def show_systray_msg(self, title, body, icon=None, callback=None, user_args=NoneCODE
MEDIUMui/opensnitch/service.py301def _show_systray_msg_error(self):CODE
MEDIUMui/opensnitch/service.py637def _build_missed_rule_msg(self, conn, rule, node, hostname):CODE
MEDIUMui/opensnitch/service.py690def _delete_node(self, peer):CODE
MEDIUMui/opensnitch/service.py914def Ping(self, request, context):CODE
LOWui/opensnitch/service.py173 except Exception as e:CODE
LOWui/opensnitch/service.py256 except Exception as e:CODE
LOWui/opensnitch/service.py297 except Exception as e:CODE
LOWui/opensnitch/service.py323 except Exception as e:STRING
LOWui/opensnitch/service.py432 except Exception as e:STRING
LOWui/opensnitch/service.py672 except Exception as e:STRING
LOWui/opensnitch/service.py702 except Exception as e:STRING
LOWui/opensnitch/service.py757 except Exception as e:STRING
LOWui/opensnitch/service.py804 except Exception as e:STRING
LOWui/opensnitch/service.py826 except Exception as e:STRING
LOWui/opensnitch/service.py838 except Exception as e:STRING
LOWui/opensnitch/service.py933 except Exception as e:STRING
LOWui/opensnitch/service.py1021 except Exception as e:STRING
LOWui/opensnitch/service.py1114 except Exception as e:STRING
LOWui/opensnitch/service.py1136 except Exception as e:STRING
LOWui/opensnitch/config.py235 except Exception:CODE
LOWui/opensnitch/config.py268 except Exception as e:CODE
MEDIUMui/opensnitch/config.py232def getInt(self, path, default_value=0):CODE
MEDIUMui/opensnitch/config.py246def setRulesDurationFilter(self, ignore_temporary_rules=False, temp_rules=1):CODE
LOWui/opensnitch/rules.py75 except Exception as e:CODE
LOWui/opensnitch/rules.py129 except Exception as e:CODE
LOWui/opensnitch/rules.py250 except Exception as e:CODE
LOWui/opensnitch/rules.py268 except Exception as e:CODE
LOWui/opensnitch/rules.py286 except Exception as e:CODE
LOWui/opensnitch/rules.py291 except Exception as e:CODE
LOWui/opensnitch/rules.py307 except Exception as e:CODE
LOWui/opensnitch/rules.py313 except Exception as e:CODE
LOWui/opensnitch/rules.py345 except Exception as e:CODE
MEDIUMui/opensnitch/rules.py108def add_rules(self, addr, rules):CODE
MEDIUMui/opensnitch/rules.py237def rule_to_json(self, node, rule_name):CODE
MEDIUMui/opensnitch/rules.py254def _export_rule_common(self, node, records, outdir):CODE
LOWui/opensnitch/desktop_parser.py12except Exception as e:CODE
MEDIUMui/opensnitch/desktop_parser.py14 print("Error importing pyinotify:", e)CODE
LOWui/opensnitch/desktop_parser.py57 except Exception:CODE
LOWui/opensnitch/desktop_parser.py84 except Exception as e:CODE
MEDIUMui/opensnitch/desktop_parser.py53def get_locale(self):CODE
MEDIUMui/opensnitch/desktop_parser.py61def _parse_exec(self, cmd):CODE
LOWui/opensnitch/notifications.py57 except Exception:CODE
LOWui/opensnitch/notifications.py77 except Exception as e:CODE
LOWui/opensnitch/notifications.py109 except Exception as e:CODE
MEDIUMui/opensnitch/notifications.py96def show(self, title, body, icon="dialog-information", urgency=URGENCY_NORMAL, cCODE
MEDIUMui/opensnitch/nodes.py115def add_rules(self, addr, rules):CODE
MEDIUMui/opensnitch/nodes.py182def delete(self, peer):CODE
MEDIUMui/opensnitch/nodes.py209def get_node_hostname(self, addr):CODE
MEDIUMui/opensnitch/nodes.py218def get_node_config(self, addr):CODE
MEDIUMui/opensnitch/nodes.py227def get_client_config(self, client_config):CODE
MEDIUMui/opensnitch/nodes.py238def get_addr(self, peer):CODE
MEDIUMui/opensnitch/nodes.py249def is_connected(self, addr):CODE
MEDIUMui/opensnitch/nodes.py285def save_node_config(self, addr, config):CODE
MEDIUMui/opensnitch/nodes.py291def save_nodes_config(self, config):CODE
MEDIUMui/opensnitch/nodes.py323def send_notification(self, addr, notification, callback_signal=None):CODE
MEDIUMui/opensnitch/nodes.py377def reply_notification(self, addr, reply):CODE
278 more matches not shown…
Empty Error Handlers58 hits · 290 pts
SeverityFileLineSnippetContext
HIGHui/tests/dialogs/test_preferences.py21except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py122except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py677except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py382except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py532except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py1004except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py1734except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py570except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py949except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py961except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py565except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py591except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py611except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py1454except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py623except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py1490except Exception:CODE
HIGH…nitch/plugins/list_subscriptions/list_subscriptions.py1537except Exception:CODE
HIGH…ugins/list_subscriptions/ui/workers/url_test_worker.py24except Exception:CODE
HIGH…criptions/ui/workers/attached_rules_snapshot_worker.py37except Exception:CODE
HIGH…criptions/ui/workers/attached_rules_snapshot_worker.py97except Exception:CODE
HIGH…criptions/ui/workers/attached_rules_snapshot_worker.py104except Exception:CODE
HIGH…criptions/ui/workers/attached_rules_snapshot_worker.py198except Exception:CODE
HIGH…criptions/ui/workers/attached_rules_snapshot_worker.py205except Exception:CODE
HIGH…ist_subscriptions/ui/controllers/runtime_controller.py416except Exception:CODE
HIGH…ist_subscriptions/ui/controllers/runtime_controller.py420except Exception:CODE
HIGH…_subscriptions/ui/controllers/table_data_controller.py153except Exception:CODE
HIGH…tions/ui/controllers/subscription_dialog_controller.py88except Exception:CODE
HIGH…tions/ui/controllers/subscription_dialog_controller.py160except Exception:CODE
HIGH…t_subscriptions/ui/controllers/inspector_controller.py278except Exception:CODE
HIGH…list_subscriptions/ui/controllers/status_controller.py274except Exception:CODE
HIGH…list_subscriptions/ui/controllers/status_controller.py158except Exception:CODE
HIGH…riptions/ui/controllers/rules_attachment_controller.py92except Exception:CODE
HIGH…riptions/ui/controllers/rules_attachment_controller.py96except Exception:CODE
HIGH…riptions/ui/controllers/rules_attachment_controller.py107except Exception:CODE
HIGH…riptions/ui/controllers/rules_attachment_controller.py131except Exception:CODE
HIGH…riptions/ui/controllers/rules_attachment_controller.py283except Exception:CODE
HIGH…ubscriptions/ui/controllers/rules_editor_controller.py93except Exception:CODE
HIGH…subscriptions/ui/controllers/action_file_controller.py196except Exception:CODE
HIGH…t_subscriptions/ui/views/subscription_status_dialog.py178except Exception:CODE
HIGHui/opensnitch/plugins/list_subscriptions/io/lock.py100except FileNotFoundError:CODE
HIGHui/opensnitch/plugins/list_subscriptions/io/lock.py80except Exception:CODE
HIGHui/opensnitch/plugins/highlight/highlight.py256except:CODE
HIGHui/opensnitch/plugins/virustotal/_utils.py49except:CODE
HIGHui/opensnitch/plugins/virustotal/_utils.py62except:CODE
HIGHui/opensnitch/utils/__init__.py208except Exception:CODE
HIGHui/opensnitch/utils/__init__.py239except:CODE
HIGHui/opensnitch/utils/xdg.py51except:CODE
HIGHui/opensnitch/utils/xdg.py70except shutil.SameFileError:CODE
HIGHui/opensnitch/utils/network_aliases/network_aliases.py49except ValueError:CODE
HIGHui/opensnitch/utils/themes/themes.py115except Exception:CODE
HIGHui/opensnitch/firewall/chains.py29except Exception:CODE
HIGHui/opensnitch/firewall/chains.py45except Exception:CODE
HIGHui/opensnitch/actions/__init__.py246except:CODE
HIGHui/opensnitch/dialogs/prompt/details.py13except:CODE
HIGHui/opensnitch/dialogs/events/menus.py481except:CODE
HIGHui/opensnitch/dialogs/events/base.py89except Exception:CODE
HIGHui/opensnitch/dialogs/events/base.py102except:CODE
HIGHui/opensnitch/dialogs/events/tasks/netstat.py109except:CODE
Hyper-Verbose Identifiers205 hits · 214 pts
SeverityFileLineSnippetContext
LOWui/tests/conftest.py63def reset_node_before_each_test(qapp):CODE
LOWui/tests/test_nodes.py172 def test_is_local_unix_socket(self, qtbot):CODE
LOWui/tests/test_nodes.py177 def test_is_local_remote_address(self, qtbot):CODE
LOWui/tests/test_nodes.py192 def test_get_node_hostname_nonexistent(self, qtbot):CODE
LOWui/tests/test_nodes.py203 def test_get_node_config_nonexistent(self, qtbot):CODE
LOWui/tests/test_nodes.py218 def test_send_notifications_broadcast(self, qtbot):CODE
LOWui/tests/test_nodes.py285 def test_delete_rule_by_field(self, qtbot):CODE
LOWui/tests/test_nodes.py354 def test_get_node_nonexistent(self, qtbot):CODE
LOWui/tests/test_nodes.py371 def test_get_addr_various_formats(self, qtbot):CODE
LOWui/tests/test_nodes.py392 def test_get_addr_unix_empty_path(self, qtbot):CODE
LOWui/tests/test_nodes.py438 def test_firewall_enable_interception(self, qtbot):CODE
LOWui/tests/test_nodes.py446 def test_firewall_disable_interception(self, qtbot):CODE
LOW⚡ui/tests/dialogs/test_preferences.py395 def test_dialog_position_center(self, qtbot):CODE
LOW⚡ui/tests/dialogs/test_preferences.py403 def test_dialog_position_top_right(self, qtbot):CODE
LOW⚡ui/tests/dialogs/test_preferences.py411 def test_ui_rules_combo_disabled_when_unchecked(self, qtbot):CODE
LOW⚡ui/tests/dialogs/test_preferences.py435 def test_notifications_disabled(self, qtbot):CODE
LOW⚡ui/tests/dialogs/test_preferences.py445 def test_target_option_process(self, qtbot):CODE
LOW⚡ui/tests/dialogs/test_preferences.py455 def test_target_option_custom(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py36 def test_save_popups_settings(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py156 def test_cancel_discards_changes(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py209 def test_default_values_on_fresh_start(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py228 def test_save_screen_scaling_settings(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py242 def test_save_desktop_notifications_qt(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py256 def test_save_db_purge_settings(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py282 def test_save_advanced_popup_options(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py300 def test_timeout_spinner_boundaries(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py321 def test_settings_persistence_reopen(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py362 def test_action_reject_setting(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py373 def test_duration_option_always(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py384 def test_duration_option_custom(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py217 def test_add_rule_name_conflict(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py254 def test_edit_and_rename_rule(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py371 def test_rule_with_process_path(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py446 def test_rule_with_source_port(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py543 def test_rule_enabled_disabled(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py596 def test_rule_with_process_regexp(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py616 def test_rule_with_cmdline_regexp(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py636 def test_rule_with_host_regexp(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py655 def test_sensitive_case_matching(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py711 def test_comma_separated_ports(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py756 def test_empty_rule_name_auto_generation(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py774 def test_checkbox_enables_field(self, qtbot):CODE
LOWui/opensnitch/service.py269 def _show_gui_if_tray_not_available(self):CODE
LOWui/opensnitch/service.py502 def _on_enable_interception_clicked(self):STRING
LOWui/opensnitch/service.py518 def _has_desktop_notifications(self):STRING
LOW⚡…nitch/plugins/list_subscriptions/list_subscriptions.py341 def _config_update_diff_targets(CODE
LOW⚡…nitch/plugins/list_subscriptions/list_subscriptions.py361 def _apply_config_update_diff(CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py219 def _ensure_ui_log_bridge_handler(cls) -> None:CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py409 def _schedule_startup_recheck(self, *, delay: float):CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py692 def _reload_rules_for_updated_subscription(self, sub: SubscriptionSpec):CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py820 def _find_layout_containing_widget(CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py168def filename_from_content_disposition(value: str | None):CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py213def ensure_filename_type_suffix(filename: str, list_type: str):CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py225def normalized_subscription_filename(filename: str | None, list_type: str | None):CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py293def dedupe_subscription_identity(CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py29 def _expand_visible_columns_to_viewport(self, base_widths: dict[int, int]) -> None:CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py71 def on_table_view_tab_changed(self, index: int):CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py107 def apply_table_column_sizing(self, index: int | None = None):CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py185 def reset_table_column_widths_for_current_tab(self):CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py192 def reset_table_sort_for_current_tab(self):CODE
145 more matches not shown…
Deep Nesting121 hits · 116 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/service.py326CODE
LOWui/opensnitch/service.py388CODE
LOWui/opensnitch/service.py626CODE
LOWui/opensnitch/service.py842CODE
LOWui/opensnitch/service.py1029CODE
LOWui/opensnitch/rules.py319CODE
LOWui/opensnitch/desktop_parser.py61CODE
LOWui/opensnitch/desktop_parser.py181CODE
LOWui/opensnitch/desktop_parser.py186CODE
LOWui/opensnitch/database/__init__.py432CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py535CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py692CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py1084CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py1250CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py168CODE
LOW…ugins/list_subscriptions/ui/workers/url_test_worker.py31CODE
LOW…/list_subscriptions/ui/workers/state_refresh_worker.py88CODE
LOW…criptions/ui/workers/attached_rules_snapshot_worker.py59CODE
LOW…criptions/ui/workers/attached_rules_snapshot_worker.py139CODE
LOW…criptions/ui/workers/attached_rules_snapshot_worker.py238CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py71CODE
LOW…ist_subscriptions/ui/controllers/runtime_controller.py123CODE
LOW…ist_subscriptions/ui/controllers/runtime_controller.py307CODE
LOW…t_subscriptions/ui/controllers/bulk_edit_controller.py31CODE
LOW…_subscriptions/ui/controllers/table_data_controller.py922CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py178CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py369CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py725CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py765CODE
LOW…t_subscriptions/ui/controllers/attached_rules_index.py12CODE
LOW…ubscriptions/ui/controllers/context_menu_controller.py15CODE
LOW…subscriptions/ui/controllers/action_file_controller.py34CODE
LOW…ins/list_subscriptions/ui/views/subscription_dialog.py133CODE
LOWui/opensnitch/plugins/list_subscriptions/io/lock.py66CODE
LOWui/opensnitch/plugins/versionchecker/versionchecker.py76CODE
LOWui/opensnitch/plugins/highlight/highlight.py140CODE
LOWui/opensnitch/plugins/highlight/highlight.py179CODE
LOWui/opensnitch/plugins/highlight/highlight.py339CODE
LOWui/opensnitch/plugins/downloader/downloader.py61CODE
LOWui/opensnitch/plugins/downloader/downloader.py188CODE
LOWui/opensnitch/plugins/virustotal/virustotal.py348CODE
LOWui/opensnitch/plugins/virustotal/_utils.py3CODE
LOWui/opensnitch/plugins/virustotal/_utils.py71CODE
LOWui/opensnitch/plugins/virustotal/_utils.py105CODE
LOWui/opensnitch/utils/__init__.py461CODE
LOWui/opensnitch/utils/xdg.py8CODE
LOWui/opensnitch/utils/network_aliases/network_aliases.py41CODE
LOWui/opensnitch/utils/themes/themes.py44CODE
LOWui/opensnitch/firewall/__init__.py71CODE
LOWui/opensnitch/firewall/__init__.py109CODE
LOWui/opensnitch/firewall/__init__.py123CODE
LOWui/opensnitch/firewall/__init__.py174CODE
LOWui/opensnitch/firewall/__init__.py212CODE
LOWui/opensnitch/firewall/rules.py54CODE
LOWui/opensnitch/firewall/rules.py84CODE
LOWui/opensnitch/firewall/rules.py111CODE
LOWui/opensnitch/firewall/rules.py146CODE
LOWui/opensnitch/firewall/rules.py160CODE
LOWui/opensnitch/firewall/rules.py194CODE
LOWui/opensnitch/actions/__init__.py167CODE
61 more matches not shown…
Unused Imports90 hits · 88 pts
SeverityFileLineSnippetContext
LOWui/tests/dialogs/test_preferences.py5CODE
LOW…/opensnitch/plugins/list_subscriptions/_annotations.py4CODE
LOW…/opensnitch/plugins/list_subscriptions/_annotations.py4CODE
LOW…/opensnitch/plugins/list_subscriptions/_annotations.py4CODE
LOWui/opensnitch/plugins/list_subscriptions/_compat.py6CODE
LOWui/opensnitch/plugins/list_subscriptions/_compat.py8CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py2CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py7CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py7CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py7CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py8CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py12CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py12CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py12CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py13CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py16CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py16CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py16CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py17CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py22CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py22CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py22CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py23CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py26CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py26CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py26CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py27CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py1CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py1CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py1CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py1CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py7CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py8CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py7CODE
LOW…ist_subscriptions/ui/controllers/runtime_controller.py10CODE
LOW…subscriptions/ui/controllers/defaults_ui_controller.py13CODE
LOW…iptions/ui/controllers/subscription_edit_controller.py22CODE
LOW…t_subscriptions/ui/controllers/bulk_edit_controller.py16CODE
LOW…_subscriptions/ui/controllers/table_data_controller.py41CODE
LOW…tions/ui/controllers/subscription_dialog_controller.py15CODE
LOW…t_subscriptions/ui/controllers/inspector_controller.py10CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py20CODE
LOW…ubscriptions/ui/controllers/context_menu_controller.py6CODE
LOW…ubscriptions/ui/controllers/rules_editor_controller.py20CODE
LOW…subscriptions/ui/controllers/action_file_controller.py19CODE
LOW…t_subscriptions/ui/controllers/selection_controller.py7CODE
LOW…tions/ui/controllers/subscription_status_controller.py9CODE
LOW…plugins/list_subscriptions/ui/views/inspector_panel.py10CODE
LOWui/opensnitch/plugins/virustotal/_popups.py5CODE
LOWui/opensnitch/plugins/virustotal/_procdialog.py3CODE
LOWui/opensnitch/plugins/virustotal/_models.py10CODE
LOWui/opensnitch/utils/logger/__init__.py16CODE
LOWui/opensnitch/utils/logger/logger.py4CODE
LOWui/opensnitch/utils/logger/logger.py6CODE
LOWui/opensnitch/utils/network_aliases/__init__.py18CODE
LOWui/opensnitch/utils/themes/__init__.py18CODE
LOWui/opensnitch/firewall/chains.py1CODE
LOWui/opensnitch/firewall/__init__.py8CODE
LOWui/opensnitch/firewall/__init__.py9CODE
LOWui/opensnitch/firewall/__init__.py10CODE
30 more matches not shown…
Over-Commented Block88 hits · 87 pts
SeverityFileLineSnippetContext
LOWui/tests/dialogs/test_preferences.py101# qtbot.mouseClick(self.prefs.applyButton, QtCore.Qt.MouseButton.LeftButton)COMMENT
LOWui/opensnitch/service.py921 # do not update db here, do it on the main threadCOMMENT
LOWui/opensnitch/plugins/list_subscriptions/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/versionchecker/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/highlight/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/downloader/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/sample/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/virustotal/virustotal.py121 # - Hook Procs tab list, get the hash of each binary, upload to VT andCOMMENT
LOWui/opensnitch/plugins/virustotal/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/virustotal/_models.py101 self.headerLabels.append("SSL info")COMMENT
LOWui/opensnitch/utils/logger/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/utils/network_aliases/network_aliases.py1# Copyright (C) 2024 Nolan CarougeCOMMENT
LOWui/opensnitch/utils/network_aliases/__init__.py1# Copyright (C) 2024 Nolan CarougeCOMMENT
LOWui/opensnitch/utils/duration/duration.py1#!/usr/bin/env python3COMMENT
LOWui/opensnitch/utils/duration/__init__.py1# Copyright (C) 2018 Simone MargaritelliCOMMENT
LOWui/opensnitch/utils/themes/__init__.py1# Copyright (C) 2025COMMENT
LOWui/opensnitch/dialogs/preferences/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/preferences/sections/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/ruleseditor/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/firewall_rule/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/prompt/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/events/config.py201 self.COL_STR_HITSCOMMENT
LOWui/opensnitch/dialogs/events/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/events/tasks/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/customwidgets/generictableview.py561 # 1. if ctrl is pressed, select / deselect current rowCOMMENT
LOWui/opensnitch/customwidgets/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/customwidgets/completer.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/customwidgets/itemwidgetcentered.py1# This file is part of OpenSnitch.COMMENT
LOWebpf_prog/opensnitch-procs.c141 //COMMENT
LOWebpf_prog/common.h1#ifndef OPENSNITCH_COMMON_HCOMMENT
LOWebpf_prog/common_defs.h1#ifndef OPENSNITCH_COMMON_DEFS_HCOMMENT
LOWebpf_prog/opensnitch.c521COMMENT
LOWebpf_prog/opensnitch-dns.c1/* Copyright (C) 2022 calesanzCOMMENT
LOWebpf_prog/opensnitch-dns.c21#define KBUILD_MODNAME "opensnitch-dns"COMMENT
LOWebpf_prog/bpf_headers/bpf_core_read.h281#define ___last3(a, b, x) xCOMMENT
LOWebpf_prog/bpf_headers/bpf_core_read.h301COMMENT
LOWebpf_prog/bpf_headers/bpf_core_read.h321#define ___rd_last(fn, ...) \COMMENT
LOWebpf_prog/bpf_headers/bpf_helpers.h181enum libbpf_tristate {COMMENT
LOWebpf_prog/bpf_headers/bpf_helpers.h201#ifndef ___bpf_nargCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h1/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h21 #define bpf_target_loongarchCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h41#if defined(__x86_64__)COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h61 #define bpf_target_definedCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h81#if defined(__KERNEL__) || defined(__VMLINUX_H__)COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h101#define __PT_PARM1_REG eaxCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h141#define __PT_PARM1_REG gprs[2]COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h161#define __PT_RET_REG uregs[14]COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h181#define __PT_FP_REG regs[29] /* Works only with CONFIG_FRAME_POINTER */COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h201COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h221#define __PT_PARM5_REG gpr[7]COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h241/* Should this also be a bpf_target check for the sparc case? */COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h261/* riscv does not select ARCH_HAS_SYSCALL_WRAPPER. */COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h281#endifCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h301#define PT_REGS_IP(x) (__PT_REGS_CAST(x)->__PT_IP_REG)COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h321#define BPF_KPROBE_READ_RET_IP(ip, ctx) ({ (ip) = PT_REGS_RET(ctx); })COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h341#define PT_REGS_PARM5_SYSCALL(x) PT_REGS_PARM5(x)COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h361#define PT_REGS_FP(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h381#define PT_REGS_PARM2_SYSCALL(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h401#define PT_REGS_SYSCALL_REGS(ctx) ((struct pt_regs *)PT_REGS_PARM1(ctx))COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h521#define ___bpf_syscall_args2(x, args...) ___bpf_syscall_args1(args), (void *)PT_REGS_PARM2_SYSCALL(regs)COMMENT
28 more matches not shown…
Self-Referential Comments24 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMui/opensnitch/plugins/list_subscriptions/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/versionchecker/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/highlight/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/downloader/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/sample/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/virustotal/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/logger/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/network_aliases/network_aliases.py3# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/network_aliases/network_aliases.py27 # Define the path to the network_aliases.json fileCOMMENT
MEDIUMui/opensnitch/utils/network_aliases/__init__.py3# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/duration/duration.py9# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/duration/__init__.py7# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/themes/__init__.py3# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/preferences/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/preferences/sections/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/ruleseditor/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/firewall_rule/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/prompt/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/events/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/events/tasks/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/customwidgets/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/customwidgets/completer.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/customwidgets/itemwidgetcentered.py1# This file is part of OpenSnitch.COMMENT
MEDIUMutils/packaging/daemon/deb/debian/gitlab-ci.yml14 # Create an overlay to discard writes to /srv/gopath/src after the build:COMMENT
Modern Structural Boilerplate14 hits · 16 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/plugins/list_subscriptions/_compat.py10__all__ = ["StatsDialog"]CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py32__all__ = [CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py10__all__ = [CODE
LOW…tions/ui/controllers/subscription_dialog_controller.py119 def update_meta(self, meta: dict[str, str]) -> None:CODE
LOW…tions/ui/controllers/subscription_dialog_controller.py177 def set_dialog_message(self, message: str, error: bool) -> None:CODE
LOW⚡…riptions/ui/controllers/rules_attachment_controller.py148 def update_cached_rule_enabled(self, addr: str, rule_name: str, enabled: bool) -> None:CODE
LOW⚡…riptions/ui/controllers/rules_attachment_controller.py432 def _update_count_query_delay_factor(self, elapsed_ms: int) -> None:CODE
LOW⚡…riptions/ui/controllers/rules_attachment_controller.py436 def _update_fetch_ms_per_row(self, elapsed_ms: int, row_count: int) -> None:CODE
LOW⚡…riptions/ui/controllers/rules_attachment_controller.py442 def _update_process_ms_per_row(self, elapsed_ms: int, row_count: int) -> None:CODE
LOW…t_subscriptions/ui/views/subscription_status_dialog.py156 def update_meta(self, meta: dict[str, str]) -> None:CODE
LOWui/opensnitch/plugins/versionchecker/versionchecker.py20logger = logging.getLogger(__name__)CODE
LOWui/opensnitch/plugins/downloader/downloader.py19logger = logging.getLogger(__name__)CODE
LOWui/opensnitch/plugins/virustotal/virustotal.py28logger = logging.getLogger(__name__)CODE
LOWui/opensnitch/plugins/virustotal/_models.py18logger = logging.getLogger(__name__)CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHui/opensnitch/plugins/virustotal/README.md70 "api_key": "<your-api-key>",CODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…/list_subscriptions/ui/widgets/toggle_switch_widget.py117CODE
LOWui/opensnitch/dialogs/events/views.py67CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/utils/network_aliases/network_aliases.py31 # Check if the file exists before attempting to load itCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/dialogs/firewall_rule/dialog.py516 # 2. if the value contains , or - just use the writtenCOMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/dialogs/preferences/utils.py112 "Hover the mouse over the texts to display the help<br><br>Don't forget to visit the wiki: <a href=\"{0}\">{CODE