~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
# allow: no-sut-import — guardian checks consistency across shipped security documentation sources
"""Cross-document contracts for security claims shipped to operators.
These checks intentionally stay text-only: their job is to stop two current
documents from making mutually exclusive absolute claims about the same
control. Behavioural coverage of notification DNS pinning lives with the
notification service tests.
"""
from pathlib import Path
REPO_ROOT = Path(__file__).resolve().parents[2]
SECURITY_DOC = REPO_ROOT / "SECURITY.md"
NOTIFICATIONS_DOC = REPO_ROOT / "docs" / "NOTIFICATIONS.md"
NOTIFICATION_ENV_DEFINITION = (
REPO_ROOT
/ "src"
/ "local_deep_research"
/ "settings"
/ "env_definitions"
/ "security.py"
)
def test_notification_dns_rebinding_claims_are_scoped_consistently():
security = SECURITY_DOC.read_text(encoding="utf-8")
notifications = NOTIFICATIONS_DOC.read_text(encoding="utf-8")
env_definition = NOTIFICATION_ENV_DEFINITION.read_text(encoding="utf-8")
assert "DNS-rebinding window described below is now closed in code" not in (
security
)
for path, text in (
(NOTIFICATIONS_DOC, notifications),
(NOTIFICATION_ENV_DEFINITION, env_definition),
):
assert "cannot be closed in code" not in text, path
# Both pinned hosts and unpinned plugin lookups are guarded during the
# synchronous send; proxy-side resolution remains an operator boundary.
assert "pinned_notification_send" in security
assert "remain subject to the send-time DNS guard" in security
assert "retain the DNS resolution window" not in security
assert "retain the DNS-rebinding risk" not in notifications
assert "forward proxy" in security
assert "forward proxy" in notifications