~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
chore: Remove temporary security fixes summary file
LearningCircuit15b32df0d1c9
diff --git a/SECURITY_FIXES_SUMMARY.md b/SECURITY_FIXES_SUMMARY.mddeleted file mode 100644index db29b6d1f0..0000000000--- a/SECURITY_FIXES_SUMMARY.md+++ /dev/null@@ -1,43 +0,0 @@-# Security Fixes Applied--This document summarizes the security fixes applied to address issues identified by GitHub's CodeQL scanner.--## 1. Insecure Randomness Fixed-**File**: `tests/ui_tests/auth_helper.js`-- Replaced `Math.random()` with `crypto.randomBytes()` for secure random number generation-- Changed: `Math.floor(Math.random() * 1000)` → `crypto.randomBytes(4).readUInt32BE(0) % 1000`--## 2. SQL Injection Prevention Enhanced-**File**: `src/local_deep_research/database/sqlcipher_utils.py`-- The PRAGMA rekey command already uses hexadecimal encoding which prevents SQL injection-- Added comments clarifying that hex encoding (containing only [0-9a-f]) is injection-safe-- The existing implementation is secure; no functional changes needed--## 3. URL Redirection Vulnerability Fixed-**File**: `src/local_deep_research/web/auth/routes.py`-- Added validation for redirect URLs to prevent open redirect attacks-- Only allows relative URLs starting with '/'-- Blocks URLs containing '://' or '//' to prevent protocol/domain redirects-- Falls back to index page for any suspicious URLs--## 4. Information Exposure Through Exceptions Fixed-Multiple files were updated to replace `str(e)` with generic error messages:--### Web Routes:-- **settings_routes.py**: All error responses now use generic messages like "Failed to retrieve settings"-- **api_routes.py**: Error messages replaced with "Failed to get research status", "Failed to add resource"-- **history_routes.py**: Error messages replaced with "Failed to retrieve history", "Failed to retrieve report"-- **research_routes.py**: Error messages replaced with "Failed to process request"-- **metrics_routes.py**: Error message replaced with "Failed to retrieve strategy data"--### Internal Logging (Not Changed):-The following files use `str(e)` only for internal logging and debugging, not exposed to users:-- `socket_service.py`: Internal error logging-- `research_service.py`: Error analysis for user-friendly message conversion-- `llm_config.py`: Internal debugging logs--## Security Best Practices Applied:-1. **Secure Random Generation**: Using cryptographically secure random number generation-2. **Input Validation**: Proper validation of redirect URLs-3. **Error Handling**: Generic error messages prevent information leakage-4. **SQL Injection Prevention**: Parameterized queries and safe encoding where direct parameterization isn't possible