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 in test fixtures (#3054)

LearningCircuitd2de22cb1c3d
diff --git a/tests/search_engines/test_search_engine_zenodo_deep_coverage.py b/tests/search_engines/test_search_engine_zenodo_deep_coverage.py
index c93a8f4416..857d7f3209 100644
--- a/tests/search_engines/test_search_engine_zenodo_deep_coverage.py
+++ b/tests/search_engines/test_search_engine_zenodo_deep_coverage.py
@@ -136,12 +136,12 @@ class TestGetFullContent:
{
"key": "data.csv",
"size": 1024,
- "checksum": "md5:abc",
+ "checksum": "md5:abc", # DevSkim: ignore DS126858 - Zenodo API fixture data, not actual hashing
},
{
"key": "readme.md",
"size": 512,
- "checksum": "md5:def",
+ "checksum": "md5:def", # DevSkim: ignore DS126858 - Zenodo API fixture data, not actual hashing
},
],
},
diff --git a/tests/web/routes/test_encrypted_db_password_check.py b/tests/web/routes/test_encrypted_db_password_check.py
index 48665710a3..d29ea5ea6d 100644
--- a/tests/web/routes/test_encrypted_db_password_check.py
+++ b/tests/web/routes/test_encrypted_db_password_check.py
@@ -177,7 +177,9 @@ class TestEncryptedDbPasswordCheck:
# the key assertion is that the password check passed (not 401).
assert resp.status_code in (200, 500)
- def test_unencrypted_db_no_password_does_not_return_401(self):
+ def test_unencrypted_db_no_password_does_not_return_401(
+ self,
+ ): # DevSkim: ignore DS101155 - testing DB encryption flag, not TLS certificates
"""Unencrypted DB + no password → should NOT return 401 (warning only)."""
app = _create_test_app()
with _authenticated_client(
diff --git a/tests/web/routes/test_research_routes_extracted_helpers.py b/tests/web/routes/test_research_routes_extracted_helpers.py
index c5e48a34c0..8d86d6a20b 100644
--- a/tests/web/routes/test_research_routes_extracted_helpers.py
+++ b/tests/web/routes/test_research_routes_extracted_helpers.py
@@ -457,7 +457,9 @@ class TestStartResearchEncryptedDbGate:
data = resp.get_json()
assert "session has expired" in data["message"].lower()
- def test_unencrypted_db_no_password_continues(self, client, app):
+ def test_unencrypted_db_no_password_continues(
+ self, client, app
+ ): # DevSkim: ignore DS101155 - testing DB encryption flag, not TLS certificates
"""When has_encryption=False and no password, research proceeds (200)."""
ms = _mock_db_session(active_count=0)
sm = _make_settings_manager()