~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: resolve DevSkim security linter warnings
LearningCircuit7388b95664c6
diff --git a/src/local_deep_research/advanced_search_system/strategies/topic_organization_strategy.py b/src/local_deep_research/advanced_search_system/strategies/topic_organization_strategy.pyindex b22c498e11..f5697cf051 100644--- a/src/local_deep_research/advanced_search_system/strategies/topic_organization_strategy.py+++ b/src/local_deep_research/advanced_search_system/strategies/topic_organization_strategy.py@@ -169,6 +169,7 @@ class TopicOrganizationStrategy(BaseSearchStrategy):# Shuffle sources to avoid ordering bias in topic organization# Note: random.shuffle is used here for non-security purposes (preventing ML bias)+ # DevSkim: ignore DS148264 - Using standard random for ML data shuffling, not securitysources_to_process = (sources_to_process.copy()) # Create a copy to avoid modifying originaldiff --git a/src/local_deep_research/database/views/library_views.py b/src/local_deep_research/database/views/library_views.pyindex 43e78ded9a..ea43626c2e 100644--- a/src/local_deep_research/database/views/library_views.py+++ b/src/local_deep_research/database/views/library_views.py@@ -14,6 +14,7 @@ def create_library_views(session: Session):"""# View that combines Document with all related information+ # DevSkim: ignore DS137138 - SQL patterns 'http://%' are for URL parsing, not insecure URLslibrary_documents_enriched_view = """CREATE OR REPLACE VIEW library_documents_enriched ASSELECT@@ -105,6 +106,7 @@ def create_library_views(session: Session):"""# View for research statistics (how many documents per research)+ # DevSkim: ignore DS137138 - SQL patterns 'http://%' are for URL parsing, not insecure URLsresearch_download_stats_view = """CREATE OR REPLACE VIEW research_download_stats ASSELECT@@ -166,6 +168,7 @@ def create_library_views(session: Session):"""# View for domain statistics+ # DevSkim: ignore DS137138 - SQL patterns 'http://%' are for URL parsing, not insecure URLsdomain_download_stats_view = """CREATE OR REPLACE VIEW domain_download_stats ASSELECTdiff --git a/src/local_deep_research/research_library/downloaders/arxiv.py b/src/local_deep_research/research_library/downloaders/arxiv.pyindex 53e97f63c1..f756f24f01 100644--- a/src/local_deep_research/research_library/downloaders/arxiv.py+++ b/src/local_deep_research/research_library/downloaders/arxiv.py@@ -161,7 +161,7 @@ class ArxivDownloader(BaseDownloader):clean_id = arxiv_id.replace("/", "")# Query arXiv API- api_url = f"http://export.arxiv.org/api/query?id_list={clean_id}"+ api_url = f"https://export.arxiv.org/api/query?id_list={clean_id}"response = self.session.get(api_url, timeout=10)if response.status_code == 200:@@ -171,6 +171,7 @@ class ArxivDownloader(BaseDownloader):root = ET.fromstring(response.text)# Define namespaces+ # DevSkim: ignore DS137138 - XML namespace URIs are identifiers, not URLs to fetchns = {"atom": "http://www.w3.org/2005/Atom","arxiv": "http://arxiv.org/schemas/atom",diff --git a/src/local_deep_research/security/url_builder.py b/src/local_deep_research/security/url_builder.pyindex 38a65a7cc2..1ea05cd989 100644--- a/src/local_deep_research/security/url_builder.py+++ b/src/local_deep_research/security/url_builder.py@@ -70,6 +70,7 @@ def build_base_url_from_settings(# Use HTTP for host/port combinations (typically internal server addresses)# For external URLs, users should configure external_url setting instead+ # DevSkim: ignore DS137138 - HTTP is intentional for local dev server addressesbase_url = f"http://{normalized_host}:{int(port)}"logger.debug(f"Constructed URL from host/port: {base_url}")return base_urldiff --git a/src/local_deep_research/security/url_validator.py b/src/local_deep_research/security/url_validator.pyindex 1b2a86b7d8..b23827f744 100644--- a/src/local_deep_research/security/url_validator.py+++ b/src/local_deep_research/security/url_validator.py@@ -125,7 +125,8 @@ class URLValidator:if not parsed.scheme:if require_scheme:return False- # If no scheme is required, assume http/https+ # If no scheme is required, assume http/https for URL parsing+ # DevSkim: ignore DS137138 - HTTP prefix used for URL parsing fallbackparsed = urlparse(f"http://{url}")scheme_lower = parsed.scheme.lower()