~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
test(security): mark 10 placeholder tests as skipped instead of silently passing (#4233)
LearningCircuitc8d29f88b255
diff --git a/tests/security/test_api_security.py b/tests/security/test_api_security.pyindex 8a37397547..6124442360 100644--- a/tests/security/test_api_security.py+++ b/tests/security/test_api_security.py@@ -78,6 +78,7 @@ class TestAPISecurityOWASPTop10:)# API3:2023 - Broken Object Property Level Authorization+ @pytest.mark.skip(reason="documentation/placeholder test - not implemented")def test_api3_broken_property_level_authorization(self, client):"""Test that users can only modify allowed object properties.@@ -398,6 +399,7 @@ class TestAPIRateLimiting:pass[email protected](reason="documentation/placeholder test - not implemented")def test_api_security_documentation():"""Documentation test for API security best practices.diff --git a/tests/security/test_auth_security.py b/tests/security/test_auth_security.pyindex 7be48f2c30..57de7a3a06 100644--- a/tests/security/test_auth_security.py+++ b/tests/security/test_auth_security.py@@ -89,6 +89,7 @@ class TestSessionSecurity:app.config["WTF_CSRF_ENABLED"] = Falsereturn app.test_client()+ @pytest.mark.skip(reason="documentation/placeholder test - not implemented")def test_session_cookie_secure_flags(self, client):"""Test that session cookies have secure flags set."""client.get("/")@@ -289,6 +290,7 @@ class TestAuthenticationEdgeCases:pass # Placeholder for rate limiting tests+ @pytest.mark.skip(reason="documentation/placeholder test - not implemented")def test_username_enumeration_prevention(self, client):"""Test that login doesn't leak username existence."""# Username enumeration attack:@@ -353,6 +355,7 @@ class TestAuthenticationEdgeCases:assert response3.status_code in [400, 401][email protected](reason="documentation/placeholder test - not implemented")def test_authentication_security_documentation():"""Documentation test for authentication security in LDR.diff --git a/tests/security/test_csrf_protection.py b/tests/security/test_csrf_protection.pyindex 6d4234ef97..fbf54d4d9d 100644--- a/tests/security/test_csrf_protection.py+++ b/tests/security/test_csrf_protection.py@@ -304,6 +304,7 @@ class TestCSRFProtectionDocumentation:assert True # Documentation test[email protected](reason="documentation/placeholder test - not implemented")def test_csrf_integration_with_authentication():"""Test that CSRF protection works correctly with authentication.diff --git a/tests/security/test_input_validation.py b/tests/security/test_input_validation.pyindex 82408220aa..f481a28042 100644--- a/tests/security/test_input_validation.py+++ b/tests/security/test_input_validation.py@@ -440,6 +440,7 @@ class TestSecurityInputValidationDocumentation:assert True # Documentation test[email protected](reason="documentation/placeholder test - not implemented")def test_comprehensive_input_validation():"""Comprehensive test documenting all input validation requirements.diff --git a/tests/security/test_xss_prevention.py b/tests/security/test_xss_prevention.pyindex 3f868e99ff..80350a8eef 100644--- a/tests/security/test_xss_prevention.py+++ b/tests/security/test_xss_prevention.py@@ -272,6 +272,7 @@ class TestContentSecurityPolicy:app.config["TESTING"] = Truereturn app.test_client()+ @pytest.mark.skip(reason="documentation/placeholder test - not implemented")def test_csp_headers_present(self, client):"""Test that Content-Security-Policy headers are set (recommended)."""client.get("/")@@ -291,6 +292,7 @@ class TestContentSecurityPolicy:pass # Placeholder for future CSP implementation+ @pytest.mark.skip(reason="documentation/placeholder test - not implemented")def test_xframe_options_header(self, client):"""Test that X-Frame-Options header prevents clickjacking."""client.get("/")@@ -308,6 +310,7 @@ class TestContentSecurityPolicy:pass # Placeholder for future implementation[email protected](reason="documentation/placeholder test - not implemented")def test_xss_prevention_documentation():"""Documentation test explaining XSS prevention strategy in LDR.