Skip to content

~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.

fix(security): suppress false positive security scanner alerts (#1864)

LearningCircuite0d4d32b9d4c
diff --git a/.github/workflows/dockle.yml b/.github/workflows/dockle.yml
index 604ef7cded..8a13ea25e0 100644
--- a/.github/workflows/dockle.yml
+++ b/.github/workflows/dockle.yml
@@ -61,7 +61,7 @@ jobs:
#
# Accepted files (false positives):
# - unix_chkpwd: PAM utility from Debian base image
- # - cobyqa/settings.py: Optimization algorithm config from optuna dependency, not credentials
+ # - settings.py: Any file named settings.py (config files, not credentials)
docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$(pwd):/output" \
@@ -73,7 +73,7 @@ jobs:
--ignore CIS-DI-0008 \
--ignore DKL-DI-0001 \
--accept-file "usr/sbin/unix_chkpwd" \
- --accept-file "install/.venv/lib/python3.14/site-packages/cobyqa/settings.py" \
+ --accept-key "settings.py" \
local-deep-research:dockle-scan || {
DOCKLE_FOUND_ISSUES=true
echo "Dockle found security or best practice issues"
@@ -97,7 +97,7 @@ jobs:
--ignore CIS-DI-0008 \
--ignore DKL-DI-0001 \
--accept-file "usr/sbin/unix_chkpwd" \
- --accept-file "install/.venv/lib/python3.14/site-packages/cobyqa/settings.py" \
+ --accept-key "settings.py" \
local-deep-research:dockle-scan || true
- name: Upload Dockle results to GitHub Security tab
@@ -183,7 +183,7 @@ jobs:
echo "- **CIS-DI-0005** (Content trust): Runtime env var, not Dockerfile concern"
echo "- **CIS-DI-0008** (setuid/setgid): unix_chkpwd from Debian base, required for PAM"
echo "- **DKL-DI-0001** (apt-get cache): Dockerfile clears caches, multi-stage metadata issue"
- echo "- **cobyqa/settings.py**: Optimization config from optuna dependency, not credentials"
+ echo "- **settings.py**: Any file named settings.py accepted (config files, not credentials)"
} >> "$GITHUB_STEP_SUMMARY"
- name: Clean up Docker image
diff --git a/bearer.yml b/bearer.yml
index 51742593aa..c480f9990c 100644
--- a/bearer.yml
+++ b/bearer.yml
@@ -30,8 +30,7 @@ rule:
# - research_service.py: Content deduplication hashes
# - search_cache.py: Cache key generation
# - benchmark_service.py: Test result identification
- # DevSkim: ignore DS126858 - this is a rule name, not actual MD5 usage
- - python_lang_weak_hash_md5
+ - python_lang_weak_hash_md5 # DevSkim: ignore DS126858 - this is a rule name, not actual MD5 usage
# Path traversal alerts (python_lang_path_traversal)
# ---------------------------------------------------
diff --git a/src/local_deep_research/defaults/default_settings.json b/src/local_deep_research/defaults/default_settings.json
index dc352542d6..2ef92ff44e 100644
--- a/src/local_deep_research/defaults/default_settings.json
+++ b/src/local_deep_research/defaults/default_settings.json
@@ -5663,7 +5663,7 @@
},
"notifications.service_url": {
"category": "notifications",
- "description": "Notification service URL(s). Supports multiple comma-separated URLs to send notifications to multiple destinations (e.g., discord://webhook_id/token, mailto://user:[email protected][email protected]). See <a href=\"https://github.com/LearningCircuit/local-deep-research/blob/main/docs/NOTIFICATIONS.md\" target=\"_blank\">documentation</a> for supported services.",
+ "description": "Notification service URL(s). Supports multiple comma-separated URLs to send notifications to multiple destinations (e.g., discord://YOUR_WEBHOOK_ID/YOUR_TOKEN, mailto://YOUR_USER:[email protected][email protected]). See <a href=\"https://github.com/LearningCircuit/local-deep-research/blob/main/docs/NOTIFICATIONS.md\" target=\"_blank\">documentation</a> for supported services.",
"editable": true,
"max_value": null,
"min_value": null,