SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
582 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | searx/settings_defaults.py | 3 | |
| LOW | searx/external_bang.py | 14 | |
| LOW | searx/webutils.py | 14 | |
| LOW | searx/webutils.py | 27 | |
| LOW | searx/webutils.py | 28 | |
| LOW | searx/webutils.py | 29 | |
| LOW | searx/webutils.py | 30 | |
| LOW | searx/__init__.py | 3 | |
| LOW | searx/extended_types.py | 31 | |
| LOW | searx/extended_types.py | 32 | |
| LOW | searx/extended_types.py | 33 | |
| LOW | searx/extended_types.py | 33 | |
| LOW | searx/extended_types.py | 33 | |
| LOW | searx/exceptions.py | 7 | |
| LOW | searx/autocomplete.py | 26 | |
| LOW | searx/brand.py | 7 | |
| LOW | searx/metrics/__init__.py | 11 | |
| LOW | searx/metrics/__init__.py | 11 | |
| LOW | searx/answerers/__init__.py | 45 | |
| LOW | searx/answerers/__init__.py | 45 | |
| LOW | searx/favicons/__init__.py | 17 | |
| LOW | searx/favicons/__init__.py | 17 | |
| LOW | searx/plugins/tor_check.py | 19 | |
| LOW | searx/plugins/tor_check.py | 20 | |
| LOW | searx/plugins/tor_check.py | 21 | |
| LOW | searx/plugins/infinite_scroll.py | 11 | |
| LOW | searx/plugins/oa_doi_rewrite.py | 16 | |
| LOW | searx/plugins/oa_doi_rewrite.py | 17 | |
| LOW | searx/plugins/oa_doi_rewrite.py | 18 | |
| LOW | searx/plugins/oa_doi_rewrite.py | 18 | |
| LOW | searx/plugins/oa_doi_rewrite.py | 19 | |
| LOW | searx/plugins/self_info.py | 15 | |
| LOW | searx/plugins/self_info.py | 16 | |
| LOW | searx/plugins/self_info.py | 17 | |
| LOW | searx/plugins/time_zone.py | 15 | |
| LOW | searx/plugins/time_zone.py | 16 | |
| LOW | searx/plugins/time_zone.py | 17 | |
| LOW | searx/plugins/__init__.py | 102 | |
| LOW | searx/plugins/__init__.py | 102 | |
| LOW | searx/plugins/__init__.py | 102 | |
| LOW | searx/plugins/hostnames.py | 98 | |
| LOW | searx/plugins/hostnames.py | 99 | |
| LOW | searx/plugins/hostnames.py | 100 | |
| LOW | searx/plugins/hostnames.py | 101 | |
| LOW | searx/plugins/hostnames.py | 102 | |
| LOW | searx/plugins/unit_converter.py | 22 | |
| LOW | searx/plugins/unit_converter.py | 23 | |
| LOW | searx/plugins/unit_converter.py | 24 | |
| LOW | searx/plugins/_core.py | 20 | |
| LOW | searx/plugins/_core.py | 21 | |
| LOW | searx/plugins/_core.py | 21 | |
| LOW | searx/plugins/_core.py | 21 | |
| LOW | searx/plugins/_core.py | 22 | |
| LOW | searx/plugins/calculator.py | 11 | |
| LOW | searx/plugins/ahmia_filter.py | 14 | |
| LOW | searx/plugins/ahmia_filter.py | 15 | |
| LOW | searx/plugins/ahmia_filter.py | 16 | |
| LOW | searx/plugins/ahmia_filter.py | 17 | |
| LOW | searx/plugins/ahmia_filter.py | 18 | |
| LOW | searx/plugins/hash_plugin.py | 14 | |
| 143 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | searxng_extra/update/update_engine_descriptions.py | 208 | def fetch_wikidata_descriptions(): |
| LOW | searxng_extra/update/update_engine_descriptions.py | 230 | def fetch_wikipedia_descriptions(): |
| LOW | searxng_extra/update/update_engine_descriptions.py | 261 | def fetch_website_description(engine_name, website): |
| LOW | searxng_extra/update/update_engine_descriptions.py | 314 | def fetch_website_descriptions(): |
| LOW | searxng_extra/update/update_engine_descriptions.py | 326 | def get_engine_descriptions_filename(): |
| LOW | searxng_extra/update/update_firefox_version.py | 60 | def fetch_firefox_last_versions(): |
| LOW | searxng_extra/update/update_currencies.py | 92 | def wikidata_request_result_iterator(request): |
| LOW | searx/external_bang.py | 30 | def get_bang_definition_and_ac(external_bangs_db: dict[str, t.Any], bang: str): |
| LOW | searx/external_bang.py | 64 | def get_bang_definition_and_autocomplete( |
| LOW | searx/external_urls.py | 56 | def get_earth_coordinates_url(latitude, longitude, osm_zoom, alternative='default'): |
| LOW | searx/query.py | 311 | def get_autocomplete_full_query(self, text): |
| LOW | searx/utils.py | 486 | def get_string_replaces_function(replaces: dict[str, str]) -> Callable[[str], str]: |
| LOW | searx/exceptions.py | 82 | def _get_default_suspended_time(self) -> int: |
| LOW | searx/webadapter.py | 16 | def deduplicate_engineref_list(engineref_list: List[EngineRef]) -> List[EngineRef]: |
| LOW | searx/webadapter.py | 158 | def get_engineref_from_category_list( # pylint: disable=invalid-name |
| LOW | searx/webadapter.py | 221 | def get_search_query_from_webapp( |
| LOW | searx/metrics/error_recorder.py | 110 | def get_request_exception_messages( |
| LOW | searx/plugins/hostnames.py | 161 | def _load_regular_expressions(self, settings_key) -> dict[re.Pattern, str] | set | None: |
| LOW | searx/network/raise_for_httperror.py | 33 | def raise_for_cloudflare_captcha(resp: "SXNG_Response"): |
| LOW | searx/network/client.py | 114 | def get_transport_for_socks_proxy( |
| LOW | searx/network/network.py | 239 | def extract_do_raise_for_httperror(kwargs: dict[str, t.Any]): |
| LOW | searx/network/network.py | 318 | def check_network_configuration(): |
| LOW | searx/search/processors/abstract.py | 225 | def extend_container_if_suspended(self, result_container: "ResultContainer") -> bool: |
| LOW | searx/engines/elasticsearch.py | 116 | def _simple_query_string_query(query): |
| LOW | searx/engines/command.py | 156 | def _get_results_from_process(res: EngineResults, cmd, pageno): |
| LOW | searx/engines/__init__.py | 196 | def update_attributes_for_tor(engine: "Engine | types.ModuleType"): |
| LOW | searx/engines/__init__.py | 202 | def is_missing_required_attributes(engine: "Engine | types.ModuleType"): |
| LOW | searx/engines/sogou.py | 117 | def _parse_results_with_image(item, item_html): |
| LOW | searx/engines/wikidata.py | 818 | def debug_explain_wikidata_query(query: str, method: str = "GET"): |
| LOW | searx/engines/quark.py | 241 | def parse_life_show_general_image(data): |
| LOW | searx/engines/quark.py | 367 | def parse_travel_dest_overview(data): |
| LOW | searx/engines/quark.py | 375 | def parse_travel_ranking_list(data): |
| LOW | searx/engines/youtube_noapi.py | 110 | def parse_first_page_response(response_text): |
| LOW | searx/botdetection/ip_lists.py | 73 | def ip_is_subnet_of_member_in_list( |
| LOW | tests/unit/test_webadapter.py | 26 | def test_with_incorrect_token(self): |
| LOW | tests/unit/test_webutils.py | 31 | def test_highlight_content_none(self, content, query, expected): |
| LOW | tests/unit/test_webutils.py | 34 | def test_highlight_content_same(self): |
| LOW | tests/unit/test_webutils.py | 77 | def test_highlight_content_equal(self, query: str, content: str, expected: str): |
| LOW | tests/unit/test_utils.py | 53 | def test_extract_text_allow_none(self): |
| LOW | tests/unit/test_utils.py | 56 | def test_extract_text_error_none(self): |
| LOW | tests/unit/test_utils.py | 60 | def test_extract_text_error_empty(self): |
| LOW | tests/unit/test_utils.py | 95 | def test_html_to_text_with_a_style_span(self): |
| LOW | tests/unit/test_utils.py | 147 | def test_eval_xpath_unregistered_function(self): |
| LOW | tests/unit/test_preferences.py | 33 | def test_map_setting_invalid_default_value(self): |
| LOW | tests/unit/test_preferences.py | 37 | def test_map_setting_invalid_choice(self): |
| LOW | tests/unit/test_preferences.py | 42 | def test_map_setting_valid_default(self): |
| LOW | tests/unit/test_preferences.py | 46 | def test_map_setting_valid_choice(self): |
| LOW | tests/unit/test_preferences.py | 54 | def test_enum_setting_invalid_default_value(self): |
| LOW | tests/unit/test_preferences.py | 58 | def test_enum_setting_invalid_choice(self): |
| LOW | tests/unit/test_preferences.py | 63 | def test_enum_setting_valid_default(self): |
| LOW | tests/unit/test_preferences.py | 67 | def test_enum_setting_valid_choice(self): |
| LOW | tests/unit/test_preferences.py | 75 | def test_multiple_setting_invalid_default_value(self): |
| LOW | tests/unit/test_preferences.py | 79 | def test_multiple_setting_invalid_choice(self): |
| LOW | tests/unit/test_preferences.py | 84 | def test_multiple_setting_valid_default(self): |
| LOW | tests/unit/test_preferences.py | 88 | def test_multiple_setting_valid_choice(self): |
| LOW | tests/unit/test_preferences.py | 96 | def test_lang_setting_valid_choice(self): |
| LOW | tests/unit/test_preferences.py | 101 | def test_lang_setting_invalid_choice(self): |
| LOW | tests/unit/test_preferences.py | 106 | def test_lang_setting_old_cookie_choice(self): |
| LOW | tests/unit/test_preferences.py | 111 | def test_lang_setting_old_cookie_format(self): |
| LOW | tests/unit/test_preferences.py | 118 | def test_plugins_setting_all_default_enabled(self): |
| 42 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | searx/preferences.py | 0 | parse and validate ``data`` and store the result at ``self.value`` |
| HIGH | searx/preferences.py | 0 | parse and validate ``data`` and store the result at ``self.value`` |
| HIGH | searx/preferences.py | 0 | parse and validate ``data`` and store the result at ``self.value`` |
| HIGH | searx/preferences.py | 0 | parse and validate ``data`` and store the result at ``self.value`` |
| HIGH | searx/preferences.py | 0 | parse and validate ``data`` and store the result at ``self.value`` |
| HIGH | searx/preferences.py | 0 | parse and validate ``data`` and store the result at ``self.value`` |
| HIGH | searx/plugins/oa_doi_rewrite.py | 0 | returns bool ``true`` to use url unchanged (``false`` to ignore url). if url should be modified, the returned string is |
| HIGH | searx/plugins/hostnames.py | 0 | returns bool ``true`` to use url unchanged (``false`` to ignore url). if url should be modified, the returned string is |
| HIGH | searx/plugins/tracker_url_remover.py | 0 | returns bool ``true`` to use url unchanged (``false`` to ignore url). if url should be modified, the returned string is |
| HIGH | searx/engines/wolframalpha_noapi.py | 0 | persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds. |
| HIGH | searx/engines/radio_browser.py | 0 | persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds. |
| HIGH | searx/engines/demo_offline.py | 0 | persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds. |
| HIGH | searx/engines/azure.py | 0 | persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds. |
| HIGH | searx/engines/soundcloud.py | 0 | persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds. |
| HIGH | searx/engines/semantic_scholar.py | 0 | persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds. |
| HIGH | searx/engines/startpage.py | 0 | persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds. |
| HIGH | searx/engines/duckduckgo.py | 0 | persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds. |
| HIGH | searx/engines/wikidata.py | 0 | persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds. |
| HIGH | searx/engines/google_images.py | 0 | `google max 50 pages`_ .. _google max 50 pages: https://github.com/searxng/searxng/issues/2982 |
| HIGH | searx/engines/google.py | 0 | `google max 50 pages`_ .. _google max 50 pages: https://github.com/searxng/searxng/issues/2982 |
| HIGH | searx/engines/google_scholar.py | 0 | `google max 50 pages`_ .. _google max 50 pages: https://github.com/searxng/searxng/issues/2982 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | searx/compat.py | 8 | # ------------------------------ |
| MEDIUM | searx/engines/google.py | 68 | # ------------------------ |
| MEDIUM | searx/engines/duckduckgo_extra.py | 91 | # ============ |
| MEDIUM | searx/engines/duckduckgo_extra.py | 105 | # ================ |
| MEDIUM | searx/engines/duckduckgo.py | 375 | # ============ |
| MEDIUM | searx/engines/duckduckgo.py | 395 | # =========================== |
| MEDIUM | utils/lib_nvm.sh | 16 | # ------------------------- |
| MEDIUM | utils/lib_nvm.sh | 24 | # ------------------------- |
| MEDIUM | utils/lib_nvm.sh | 55 | # ----------------------- |
| MEDIUM | utils/lib_nvm.sh | 89 | # -------------------------- |
| MEDIUM | utils/lib.sh | 757 | # ---------- |
| MEDIUM | utils/lib.sh | 849 | # --------------- |
| MEDIUM | utils/lib.sh | 1496 | # ------------------------ |
| MEDIUM | utils/lib.sh | 1593 | # ----------- |
| MEDIUM | utils/searxng.sh | 1011 | # ---------------------------------------------------------------------------- |
| MEDIUM | utils/searxng.sh | 1013 | # ---------------------------------------------------------------------------- |
| MEDIUM | utils/lib_govm.sh | 12 | # -------------------------------------- |
| MEDIUM | utils/lib_govm.sh | 28 | # ----------------------- |
| MEDIUM | utils/lib_govm.sh | 103 | # ----------------------------- |
| MEDIUM | utils/templates/etc/uwsgi/apps-available/searxng.ini | 5 | # ---------- |
| MEDIUM | utils/templates/etc/uwsgi/apps-available/searxng.ini | 58 | # -------------- |
| MEDIUM | utils/templates/etc/uwsgi/apps-available/searxng.ini | 73 | # ----------------- |
| MEDIUM | utils/templates/etc/uwsgi/apps-archlinux/searxng.ini | 5 | # ---------- |
| MEDIUM | utils/templates/etc/uwsgi/apps-archlinux/searxng.ini | 55 | # -------------- |
| MEDIUM | utils/templates/etc/uwsgi/apps-archlinux/searxng.ini | 70 | # ----------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | searxng_extra/update/update_engine_descriptions.py | 208 | |
| LOW | searxng_extra/update/update_engine_descriptions.py | 230 | |
| LOW | searxng_extra/update/update_engine_descriptions.py | 330 | |
| LOW | searx/settings_defaults.py | 141 | |
| LOW | searx/babel_extract.py | 30 | |
| LOW | searx/results.py | 272 | |
| LOW | searx/results.py | 82 | |
| LOW | searx/results.py | 154 | |
| LOW | searx/results.py | 191 | |
| LOW | searx/settings_loader.py | 127 | |
| LOW | searx/preferences.py | 528 | |
| LOW | searx/preferences.py | 542 | |
| LOW | searx/utils.py | 602 | |
| LOW | searx/utils.py | 705 | |
| LOW | searx/webadapter.py | 117 | |
| LOW | searx/webadapter.py | 172 | |
| LOW | searx/metrics/models.py | 70 | |
| LOW | searx/metrics/models.py | 85 | |
| LOW | searx/favicons/cache.py | 381 | |
| LOW | searx/plugins/unit_converter.py | 47 | |
| LOW | searx/network/network.py | 336 | |
| LOW | searx/network/network.py | 122 | |
| LOW | searx/result_types/_base.py | 114 | |
| LOW | searx/result_types/file.py | 72 | |
| LOW | searx/search/__init__.py | 78 | |
| LOW | searx/engines/wolframalpha_noapi.py | 77 | |
| LOW | searx/engines/presearch.py | 248 | |
| LOW | searx/engines/uxwing.py | 28 | |
| LOW | searx/engines/ccc_media.py | 29 | |
| LOW | searx/engines/tineye.py | 152 | |
| LOW | searx/engines/springer.py | 120 | |
| LOW | searx/engines/command.py | 156 | |
| LOW | searx/engines/command.py | 196 | |
| LOW | searx/engines/karmasearch.py | 128 | |
| LOW | searx/engines/brave.py | 418 | |
| LOW | searx/engines/acfun.py | 36 | |
| LOW | searx/engines/github_code.py | 162 | |
| LOW | searx/engines/azure.py | 157 | |
| LOW | searx/engines/adobe_stock.py | 148 | |
| LOW | searx/engines/adobe_stock.py | 202 | |
| LOW | searx/engines/bing.py | 115 | |
| LOW | searx/engines/bing.py | 158 | |
| LOW | searx/engines/yandex.py | 88 | |
| LOW | searx/engines/google.py | 362 | |
| LOW | searx/engines/doku.py | 47 | |
| LOW | searx/engines/core.py | 89 | |
| LOW | searx/engines/bing_news.py | 80 | |
| LOW | searx/engines/duckduckgo_definitions.py | 78 | |
| LOW | searx/engines/openstreetmap.py | 211 | |
| LOW | searx/engines/tokyotoshokan.py | 38 | |
| LOW | searx/engines/xpath.py | 266 | |
| LOW | searx/engines/jisho.py | 34 | |
| LOW | searx/engines/duckduckgo_extra.py | 184 | |
| LOW | searx/engines/startpage.py | 398 | |
| LOW | searx/engines/yacy.py | 149 | |
| LOW | searx/engines/qwant.py | 133 | |
| LOW | searx/engines/wikidata.py | 566 | |
| LOW | searx/engines/wikidata.py | 412 | |
| LOW | searx/engines/quark.py | 83 | |
| LOW | searx/engines/json_engine.py | 281 | |
| 11 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | searxng_extra/__init__.py | 1 | # SPDX-License-Identifier: AGPL-3.0-or-later |
| LOW | searxng_extra/update/__init__.py | 1 | # SPDX-License-Identifier: AGPL-3.0-or-later |
| LOW | searx/weather.py | 61 | |
| LOW | searx/utils.py | 721 | for i, p in enumerate(parts): |
| LOW | searx/utils.py | 761 | elif in_string is None: |
| LOW | searx/locales.py | 341 | # language, then the percentage might be 100% (--> 100 people) but in |
| LOW | searx/settings.yml | 21 | docs_url: https://docs.searxng.org/ |
| LOW | searx/settings.yml | 41 | # Filter results. 0: None, 1: Moderate, 2: Strict |
| LOW | searx/settings.yml | 61 | # - de |
| LOW | searx/settings.yml | 121 | valkey: |
| LOW | searx/settings.yml | 141 | # Default interface locale - leave blank to detect from browser information or |
| LOW | searx/settings.yml | 161 | # - categories |
| LOW | searx/settings.yml | 181 | # the maximum timeout in seconds |
| LOW | searx/settings.yml | 201 | # https://2.python-requests.org/en/latest/user/advanced/#socks |
| LOW | searx/settings.yml | 261 | |
| LOW | searx/settings.yml | 1421 | |
| LOW | searx/settings.yml | 1681 | - https://pximg.example.org |
| LOW | searx/settings.yml | 1821 | disabled: true |
| LOW | searx/settings.yml | 1861 | - name: rottentomatoes |
| LOW | searx/settings.yml | 1981 | # Spotify needs API credentials |
| LOW | searx/settings.yml | 2041 | - https://solidtorrents.to |
| LOW | searx/settings.yml | 2101 | # - name: tubearchivist |
| LOW | searx/settings.yml | 2341 | - name: mymemory translated |
| LOW | searx/settings.yml | 2681 | api_path: "api.php" |
| LOW | searx/settings.yml | 2701 | # command: ['git', 'grep', '{{QUERY}}'] |
| LOW | searx/settings.yml | 2721 | # keys: ['line'] |
| LOW | searx/settings.yml | 2741 | # of access tokens under tokens. |
| LOW | searx/favicons/favicons.toml | 21 | # HOLD_TIME = 5184000 # 60 days / default: 30 days |
| LOW | searx/engines/google.py | 181 | # '!go 日 :zh-TW' --> https://zh.m.wiktionary.org/zh-hant/%E6%97%A5 |
| LOW | searx/engines/google.py | 201 | # lr parameter: |
| LOW | searx/engines/google.py | 221 | # particular country. |
| LOW | searx/engines/google.py | 241 | # https://github.com/searxng/searxng/issues/2515#issuecomment-1606294635 |
| LOW | searx/engines/google.py | 321 | "start": start, |
| LOW | searx/engines/bing_news.py | 141 | # bing for this market. Alternatively we use the the market code from Honk |
| LOW | tests/unit/test_js_variable_to_python.py | 141 | ("[0]", [0]), |
| LOW | tests/unit/test_js_variable_to_python.py | 261 | # ("aaaaaaaaaaaaaaaa", []), |
| LOW | tests/unit/network/__init__.py | 1 | # SPDX-License-Identifier: AGPL-3.0-or-later |
| LOW | tests/unit/processors/__init__.py | 1 | # SPDX-License-Identifier: AGPL-3.0-or-later |
| LOW | tests/unit/engines/__init__.py | 1 | # SPDX-License-Identifier: AGPL-3.0-or-later |
| LOW | tests/robot/__init__.py | 1 | # SPDX-License-Identifier: AGPL-3.0-or-later |
| LOW | utils/lib_nvm.sh | 1 | #!/usr/bin/env bash |
| LOW | utils/lib_sxng_weblate.sh | 121 | pyenv.cmd wlc unlock |
| LOW | utils/lib.sh | 401 | echo |
| LOW | utils/templates/etc/searxng/settings.yml | 21 | # by ${SEARXNG_BASE_URL}. |
| LOW | utils/templates/etc/searxng/settings.yml | 41 | # - name: mediathekviewweb |
| LOW | utils/templates/etc/uwsgi/apps-available/searxng.ini | 1 | # -*- mode: conf; coding: utf-8 -*- |
| LOW | utils/templates/etc/uwsgi/apps-available/searxng.ini | 41 | lazy-apps = true |
| LOW | utils/templates/etc/uwsgi/apps-archlinux/searxng.ini | 41 | plugin = python |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | searxng_extra/update/update_engine_descriptions.py | 132 | except Exception as e: # pylint: disable=broad-except |
| LOW | searxng_extra/update/update_engine_descriptions.py | 156 | except Exception: # pylint: disable=broad-except |
| LOW | searx/settings_defaults.py | 165 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/webapp.py | 188 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/webapp.py | 477 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/webapp.py | 493 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/webapp.py | 659 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/sqlitedb.py | 87 | except Exception: # pylint: disable=broad-exception-caught |
| MEDIUM | searx/sqlitedb.py | 77 | def __del__(self): |
| LOW | searx/plugins/_core.py | 222 | except Exception as exc: # pylint: disable=broad-exception-caught |
| LOW | searx/plugins/_core.py | 259 | except Exception: # pylint: disable=broad-except |
| LOW | searx/plugins/_core.py | 273 | except Exception: # pylint: disable=broad-except |
| LOW | searx/plugins/_core.py | 301 | except Exception: # pylint: disable=broad-except |
| LOW | searx/enginelib/traits.py | 216 | except Exception as exc: |
| LOW | searx/network/__init__.py | 132 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/network/__init__.py | 219 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/network/network.py | 325 | except Exception: # pylint: disable=broad-except |
| LOW | searx/result_types/_base.py | 133 | except Exception as exc: # pylint: disable=broad-exception-caught |
| LOW | searx/search/processors/abstract.py | 156 | except Exception: # pylint: disable=broad-except |
| LOW | searx/search/processors/online.py | 280 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/search/processors/offline.py | 30 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/engines/elasticsearch.py | 110 | except Exception as e: |
| LOW | searx/engines/elasticsearch.py | 135 | except Exception as e: |
| LOW | searx/engines/elasticsearch.py | 150 | except Exception as e: |
| LOW | searx/engines/360search_videos.py | 35 | except Exception as e: |
| MEDIUM | searx/engines/360search_videos.py | 32 | def response(resp): |
| LOW | searx/engines/sogou_videos.py | 39 | except Exception as e: |
| MEDIUM | searx/engines/sogou_videos.py | 36 | def response(resp): |
| LOW | searx/engines/chinaso.py | 156 | except Exception as e: |
| MEDIUM | searx/engines/chinaso.py | 153 | def response(resp): |
| LOW | searx/engines/solr.py | 79 | except Exception as e: |
| LOW | searx/engines/iqiyi.py | 64 | except Exception as e: |
| MEDIUM | searx/engines/iqiyi.py | 61 | def response(resp): |
| LOW | searx/engines/__init__.py | 243 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/engines/google.py | 418 | except Exception as e: # pylint: disable=broad-except |
| LOW | searx/engines/wikidata.py | 429 | except Exception: # pylint: disable=broad-except |
| LOW | searx/engines/wikipedia.py | 171 | except Exception: # pylint: disable=broad-except |
| LOW | tests/robot/__main__.py | 61 | except Exception: # pylint: disable=broad-except |
| MEDIUM | tests/robot/__main__.py | 62 | print('Error occurred: {0}'.format(traceback.format_exc())) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | searx/utils.py | 167 | >>> html_to_text(r'<p><b>Lorem ipsum </i>dolor sit amet</p>') |
| LOW | searx/utils.py | 167 | >>> html_to_text(r'<p><b>Lorem ipsum </i>dolor sit amet</p>') |
| LOW | searx/utils.py | 168 | 'Lorem ipsum </i>dolor sit amet</p>' |
| LOW | searx/utils.py | 168 | 'Lorem ipsum </i>dolor sit amet</p>' |
| LOW | searx/infopage/fa_IR/search-syntax.md | 63 | - {{search('md5 lorem ipsum')}} |
| LOW | searx/infopage/fa_IR/search-syntax.md | 64 | - {{search('sha512 lorem ipsum')}} |
| LOW | searx/infopage/it/search-syntax.md | 88 | - {{search('md5 lorem ipsum')}} |
| LOW | searx/infopage/it/search-syntax.md | 89 | - {{search('sha512 lorem ipsum')}} |
| LOW | searx/infopage/de/search-syntax.md | 92 | - {{search('md5 lorem ipsum')}} |
| LOW | searx/infopage/de/search-syntax.md | 93 | - {{search('sha512 lorem ipsum')}} |
| LOW | searx/infopage/fr/search-syntax.md | 96 | - {{search('md5 lorem ipsum')}} |
| LOW | searx/infopage/fr/search-syntax.md | 97 | - {{search('sha512 lorem ipsum')}} |
| LOW | searx/infopage/en/search-syntax.md | 83 | - {{search('md5 lorem ipsum')}} |
| LOW | searx/infopage/en/search-syntax.md | 84 | - {{search('sha512 lorem ipsum')}} |
| LOW | searx/result_types/__init__.py | 83 | res.add( res.types.Answer(answer="lorem ipsum ..", url="https://example.org") ) |
| LOW | tests/unit/test_utils.py | 88 | (r'<p><b>Lorem ipsum </i>dolor sit amet</p>', 'Lorem ipsum </i>dolor sit amet</p>'), |
| LOW | tests/unit/test_utils.py | 88 | (r'<p><b>Lorem ipsum </i>dolor sit amet</p>', 'Lorem ipsum </i>dolor sit amet</p>'), |
| LOW | tests/unit/test_results.py | 33 | result = dict(suggestion="lorem ipsum ..") |
| LOW | tests/unit/test_results.py | 46 | url="https://example.org", title="very long title, lorem ipsum", content="Lorem ipsum dolor sit amet .." |
| LOW | tests/unit/test_results.py | 46 | url="https://example.org", title="very long title, lorem ipsum", content="Lorem ipsum dolor sit amet .." |
| LOW | tests/unit/test_results.py | 50 | eng2 = dict(url="http://example.org", title=result.title, content="lorem ipsum", engine="duckduckgo") |
| LOW | tests/unit/test_plugins.py | 104 | get_search_mock("lorem ipsum", user_plugins=["plg001", "plg002"]), |
| LOW | tests/unit/test_plugin_self_info.py | 121 | "USER-AgenT lorem ipsum", |
| LOW | tests/unit/network/test_network.py | 114 | a_text = 'Lorem Ipsum' |
| LOW | tests/unit/network/test_network.py | 125 | TEXT = 'Lorem Ipsum' |
| LOW | tests/unit/network/test_network.py | 201 | TEXT = 'Lorem Ipsum' |
| LOW | utils/lib.sh | 151 | # usage: RST_INDENT=1 rst_para "lorem ipsum ..." |
| LOW | docs/dev/csv_table.txt | 1 | stub col row 1, column, "loremLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy |
| LOW | docs/dev/csv_table.txt | 1 | stub col row 1, column, "loremLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy |
| LOW | docs/dev/csv_table.txt | 5 | kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.", column |
| LOW | docs/dev/csv_table.txt | 5 | kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.", column |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | searx/webapp.py | 858 | """Render preferences page && save user preferences""" |
| HIGH | searx/engines/yandex.py | 114 | html_sample, '{"location":"/images/search/', 'advRsyaSearchColumn":null}}', default="fail" |
| HIGH | searx/engines/yandex.py | 116 | json_data = '{"location":"/images/search/' + content_between_tags + 'advRsyaSearchColumn":null}}' |
| HIGH | tests/unit/test_js_variable_to_python.py | 80 | ("{'a': true, 'b': false, 'c': null}", {'a': True, 'b': False, 'c': None}), |
| HIGH | tests/unit/test_js_variable_to_python.py | 113 | ('{"a": undefined}', {"a": None}), # chompjs returns {"a": "undefined"} |
| HIGH | tests/unit/test_js_variable_to_python.py | 114 | ('[undefined, undefined]', [None, None]), # chompjs returns ["undefined", "undefined"] |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | searx/utils.py | 149 | Extract text from a HTML string Args: * html_str (str): string HTML Returns: * str: extracted |
| HIGH | searx/utils.py | 190 | Extract text from a Markdown string Args: * markdown_str (str): string Markdown Returns: * str |
| HIGH | searx/utils.py | 257 | Normalize URL: add protocol, join URL with base_url, add trailing slash if there is no path Args: * url (st |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | searx/webapp.py | 1035 | # we make sure to close the response between searxng and the HTTP server |
| MEDIUM | searx/settings.yml | 278 | # Alternatively you can use external files for configuring the "Hostnames plugin": |
| MEDIUM | searx/engines/meilisearch.py | 23 | Here is a simple example to query a Meilisearch instance: |
| MEDIUM | searx/engines/xpath.py | 54 | Here is a simple example of a XPath engine configured in the :ref:`settings |
| MEDIUM | searx/engines/json_engine.py | 56 | Here is a simple example of a JSON engine configure in the :ref:`settings |
| LOW | utils/lib_sxng_weblate.sh | 119 | ( # make sure to always unlock weblate |
| LOW | utils/lib_sxng_weblate.sh | 221 | ( # make sure to always unlock weblate |
| MEDIUM | utils/lib.sh | 417 | # replacements you can use:: |
| LOW | utils/searxng.sh | 363 | info_msg "Don't forget to install HTTP site." |
| LOW | utils/searxng.sh | 386 | MSG="** Don't forget to remove your public site! (${SEARXNG_URL}) **" wait_key 10 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | searx/babel_extract.py | 2 | """This module implements the :origin:`searxng_msg <babel.cfg>` extractor to |
| MEDIUM | searx/extended_types.py | 2 | """This module implements the type extensions applied by SearXNG. |
| MEDIUM | searx/autocomplete.py | 2 | """This module implements functions needed for the autocompleter.""" |
| MEDIUM | searx/search/processors/online.py | 119 | """This method is called in a thread, and before the base method is |
| MEDIUM | searx/engines/zlibrary.py | 229 | # Create a Locale object for the current locale |
| MEDIUM | searx/engines/wikidata.py | 2 | """This module implements the Wikidata engine. |
| MEDIUM | searx/engines/wikipedia.py | 2 | """This module implements the Wikipedia engine. Some of this implementations |
| MEDIUM | searx/botdetection/link_token.py | 94 | """This function is called by a request to URL ``/client<token>.css``. If |
| MEDIUM | searx/botdetection/link_token.py | 146 | # This function is also called when limiter is inactive / no valkey DB |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | searx/preferences.py | 198 | """Setting of a value that has to be translated in order to be storable""" |
| MEDIUM | searx/preferences.py | 227 | """Setting of a boolean value that has to be translated in order to be storable""" |
| LOW | searx/favicons/resolvers.py | 33 | # will just return a 200 regardless of the favicon existing or not |
| LOW | searx/favicons/proxy.py | 142 | # if resolver is empty or not valid, just return HTTP 400. |
| LOW | searx/favicons/proxy.py | 219 | # if resolver is empty or not valid, just return nothing. |
| LOW | searx/search/processors/abstract.py | 271 | # search processor, just pass the value from user's choice unchanged to |
| MEDIUM | searx/engines/postgresql.py | 2 | """PostgreSQL is a powerful and robust open source database. Before configuring |
| MEDIUM | searx/engines/core.py | 2 | """CORE_ (COnnecting REpositories) provides a comprehensive bibliographic |
| MEDIUM | searx/engines/recoll.py | 130 | # facilitate preview support for known mime types |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | utils/lib_sxng_container.sh | 23 | # Check if podman or docker is installed |
| LOW | utils/lib_sxng_container.sh | 76 | # Check if it is a git repository |
| LOW | container/entrypoint.sh | 5 | # Check if it's a valid file |
| LOW | container/entrypoint.sh | 20 | # Check if it's a valid directory |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | searx/engines/braveapi.py | 21 | api_key: 'YOUR-API-KEY' # required |