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 DevSkim false positives for MD5 cache key usage (#1840)

LearningCircuit479e47a241ce
diff --git a/bearer.yml b/bearer.yml
index c3942ecf2a..d60f0bdc7b 100644
--- a/bearer.yml
+++ b/bearer.yml
@@ -30,4 +30,5 @@ 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
diff --git a/tests/utilities/test_search_cache_extended.py b/tests/utilities/test_search_cache_extended.py
index bf3118bd5e..c4235a1e2a 100644
--- a/tests/utilities/test_search_cache_extended.py
+++ b/tests/utilities/test_search_cache_extended.py
@@ -373,6 +373,7 @@ class TestCacheKeyGeneration:
import hashlib
+ # DevSkim: ignore DS126858 - MD5 used for cache keys, not security
key = hashlib.md5(query.encode()).hexdigest()
assert len(key) == 32
@@ -385,6 +386,7 @@ class TestCacheKeyGeneration:
combined = f"{engine}:{query}"
import hashlib
+ # DevSkim: ignore DS126858 - MD5 used for cache keys, not security
key = hashlib.md5(combined.encode()).hexdigest()
assert len(key) == 32
@@ -413,6 +415,7 @@ class TestCacheKeyGeneration:
import hashlib
+ # DevSkim: ignore DS126858 - MD5 used for cache keys, not security
key = hashlib.md5(query.encode()).hexdigest()
assert len(key) == 32