~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
Fix security tests workflow to use pdm run for commands
LearningCircuit3d307ddf0cad
diff --git a/.github/workflows/security-tests.yml b/.github/workflows/security-tests.ymlindex 97044b78da..ae8c1b2f41 100644--- a/.github/workflows/security-tests.yml+++ b/.github/workflows/security-tests.yml@@ -65,7 +65,7 @@ jobs:- name: Run Bandit security linterrun: |- bandit -r src/ -f json -o bandit-report.json+ pdm run bandit -r src/ -f json -o bandit-report.jsonif [ -f bandit-report.json ]; thenecho "Bandit security scan completed"fi@@ -73,7 +73,7 @@ jobs:- name: Check for known vulnerabilities with Safetycontinue-on-error: truerun: |- safety check --json > safety-report.json+ pdm run safety check --json > safety-report.jsonecho "Safety vulnerability scan completed"- name: Run SQL injection tests@@ -81,56 +81,56 @@ jobs:DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test_security_dbrun: |# Run SQL injection specific tests- python -m pytest tests/security/test_sql_injection.py -v --tb=short+ pdm run python -m pytest tests/security/test_sql_injection.py -v --tb=short# Legacy tests (if they exist)if [ -f tests/test_sql_injection_prevention.py ]; then- python -m pytest tests/test_sql_injection_prevention.py -v --tb=short+ pdm run python -m pytest tests/test_sql_injection_prevention.py -v --tb=shortfi- name: Run XSS prevention testsrun: |- python -m pytest tests/security/test_xss_prevention.py -v --tb=short+ pdm run python -m pytest tests/security/test_xss_prevention.py -v --tb=short# Legacy tests (if they exist)if [ -f tests/test_xss_prevention.py ]; then- python -m pytest tests/test_xss_prevention.py -v --tb=short+ pdm run python -m pytest tests/test_xss_prevention.py -v --tb=shortfi- name: Run CSRF protection testsrun: |- python -m pytest tests/security/test_csrf_protection.py -v --tb=short+ pdm run python -m pytest tests/security/test_csrf_protection.py -v --tb=short# Legacy tests (if they exist)if [ -f tests/test_csrf_protection.py ]; then- python -m pytest tests/test_csrf_protection.py -v --tb=short+ pdm run python -m pytest tests/test_csrf_protection.py -v --tb=shortfi- name: Run authentication security testsrun: |- python -m pytest tests/security/test_auth_security.py -v --tb=short+ pdm run python -m pytest tests/security/test_auth_security.py -v --tb=short# Legacy tests (if they exist)if [ -f tests/test_password_security.py ]; then- python -m pytest tests/test_password_security.py -v --tb=short+ pdm run python -m pytest tests/test_password_security.py -v --tb=shortfiif [ -f tests/test_session_security.py ]; then- python -m pytest tests/test_session_security.py -v --tb=short+ pdm run python -m pytest tests/test_session_security.py -v --tb=shortfi- name: Run API security testsrun: |- python -m pytest tests/security/test_api_security.py -v --tb=short+ pdm run python -m pytest tests/security/test_api_security.py -v --tb=short# Legacy tests (if they exist)if [ -f tests/test_rate_limiting.py ]; then- python -m pytest tests/test_rate_limiting.py -v --tb=short+ pdm run python -m pytest tests/test_rate_limiting.py -v --tb=shortfiif [ -f tests/test_api_authentication.py ]; then- python -m pytest tests/test_api_authentication.py -v --tb=short+ pdm run python -m pytest tests/test_api_authentication.py -v --tb=shortfi- name: Run input validation testsrun: |- python -m pytest tests/security/test_input_validation.py -v --tb=short+ pdm run python -m pytest tests/security/test_input_validation.py -v --tb=short# Legacy tests (if they exist)if [ -f tests/test_input_sanitization.py ]; then- python -m pytest tests/test_input_sanitization.py -v --tb=short+ pdm run python -m pytest tests/test_input_sanitization.py -v --tb=shortfi- name: Check for hardcoded secrets