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.

chore: add Bearer config to suppress false positive alerts (#1814)

LearningCircuitad718661a552
diff --git a/.gitignore b/.gitignore
index c181b333af..4c42221293 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,6 +57,7 @@
# Allow security configuration files
!.gitleaks.toml
!.semgrepignore
+!bearer.yml
!.trivyignore
!.semgrep/
!.semgrep/**
diff --git a/bearer.yml b/bearer.yml
new file mode 100644
index 0000000000..c3942ecf2a
--- /dev/null
+++ b/bearer.yml
@@ -0,0 +1,33 @@
+# Bearer SAST Scanner Configuration
+# https://docs.bearer.com/reference/config/
+#
+# This configuration suppresses false positive alerts that don't apply
+# to this codebase's security model.
+
+rule:
+ # Skip rules that are false positives in our context
+ skip-rule:
+ # Logger leak alerts (python_lang_logger)
+ # -----------------------------------------
+ # SAFE TO SKIP: All logs in this application go to SQLCipher-encrypted
+ # per-user databases. Research queries and other logged data are protected by:
+ # - SQLCipher encryption at rest (AES-256)
+ # - Per-user database isolation (each user has their own encrypted DB)
+ # - Password-protected access (only the authenticated user can decrypt)
+ #
+ # See: src/local_deep_research/utilities/log_utils.py (database_sink)
+ # See: src/local_deep_research/database/encrypted_db.py (SQLCipher)
+ - python_lang_logger
+
+ # MD5 weak hash alerts (python_lang_weak_hash_md5)
+ # -------------------------------------------------
+ # SAFE TO SKIP: MD5 is used only for cache keys and content deduplication,
+ # NOT for security purposes (passwords, signatures, etc.). MD5 is acceptable
+ # for these non-cryptographic uses where collision resistance is not critical.
+ #
+ # Usage locations:
+ # - search_engine_local.py: Cache key generation for search results
+ # - research_service.py: Content deduplication hashes
+ # - search_cache.py: Cache key generation
+ # - benchmark_service.py: Test result identification
+ - python_lang_weak_hash_md5