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.

security: add rel=noopener noreferrer to external target=_blank links (#4142)

LearningCircuit3e6fa7ba2576
diff --git a/src/local_deep_research/web/templates/components/sidebar.html b/src/local_deep_research/web/templates/components/sidebar.html
index 3d02cbee72..49abc4fabe 100644
--- a/src/local_deep_research/web/templates/components/sidebar.html
+++ b/src/local_deep_research/web/templates/components/sidebar.html
@@ -135,13 +135,13 @@
aria-label="View release notes for version {{ version }}">{{ version }}</a>
</p>
<div class="ldr-sidebar-links">
- <a href="https://github.com/LearningCircuit/local-deep-research/issues" target="_blank" title="Report an issue" aria-label="Report an issue">
+ <a href="https://github.com/LearningCircuit/local-deep-research/issues" target="_blank" rel="noopener noreferrer" title="Report an issue" aria-label="Report an issue">
<i aria-hidden="true" class="fas fa-bug" ></i>
</a>
- <a href="https://discord.gg/ttcqQeFcJ3" target="_blank" title="Join Discord" aria-label="Join Discord">
+ <a href="https://discord.gg/ttcqQeFcJ3" target="_blank" rel="noopener noreferrer" title="Join Discord" aria-label="Join Discord">
<i aria-hidden="true" class="fab fa-discord" ></i>
</a>
- <a href="https://www.reddit.com/r/LocalDeepResearch/" target="_blank" title="Reddit community" aria-label="Reddit community">
+ <a href="https://www.reddit.com/r/LocalDeepResearch/" target="_blank" rel="noopener noreferrer" title="Reddit community" aria-label="Reddit community">
<i aria-hidden="true" class="fab fa-reddit" ></i>
</a>
</div>
diff --git a/src/local_deep_research/web/templates/pages/document_details.html b/src/local_deep_research/web/templates/pages/document_details.html
index cb8af560a0..98130e40c2 100644
--- a/src/local_deep_research/web/templates/pages/document_details.html
+++ b/src/local_deep_research/web/templates/pages/document_details.html
@@ -46,7 +46,7 @@
{% endif %}
{% if document.original_url %}
- <a href="{{ document.original_url }}" target="_blank" class="ldr-btn ldr-btn-secondary">
+ <a href="{{ document.original_url }}" target="_blank" rel="noopener noreferrer" class="ldr-btn ldr-btn-secondary">
<i aria-hidden="true" class="fas fa-external-link-alt"></i> Original Source
</a>
{% endif %}
@@ -108,7 +108,7 @@
<div class="ldr-metadata-item">
<div class="ldr-metadata-label">DOI</div>
<div class="ldr-metadata-value">
- <a href="https://doi.org/{{ document.doi }}" target="_blank">{{ document.doi }}</a>
+ <a href="https://doi.org/{{ document.doi }}" target="_blank" rel="noopener noreferrer">{{ document.doi }}</a>
</div>
</div>
{% endif %}
@@ -117,7 +117,7 @@
<div class="ldr-metadata-item">
<div class="ldr-metadata-label">arXiv ID</div>
<div class="ldr-metadata-value">
- <a href="https://arxiv.org/abs/{{ document.arxiv_id }}" target="_blank">{{ document.arxiv_id }}</a>
+ <a href="https://arxiv.org/abs/{{ document.arxiv_id }}" target="_blank" rel="noopener noreferrer">{{ document.arxiv_id }}</a>
</div>
</div>
{% endif %}
@@ -126,7 +126,7 @@
<div class="ldr-metadata-item">
<div class="ldr-metadata-label">PubMed ID</div>
<div class="ldr-metadata-value">
- <a href="https://pubmed.ncbi.nlm.nih.gov/{{ document.pmid }}" target="_blank">{{ document.pmid }}</a>
+ <a href="https://pubmed.ncbi.nlm.nih.gov/{{ document.pmid }}" target="_blank" rel="noopener noreferrer">{{ document.pmid }}</a>
</div>
</div>
{% endif %}
@@ -135,7 +135,7 @@
<div class="ldr-metadata-item">
<div class="ldr-metadata-label">PMC ID</div>
<div class="ldr-metadata-value">
- <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/{{ document.pmcid }}" target="_blank">{{ document.pmcid }}</a>
+ <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/{{ document.pmcid }}" target="_blank" rel="noopener noreferrer">{{ document.pmcid }}</a>
</div>
</div>
{% endif %}
@@ -265,7 +265,7 @@
<h2><i aria-hidden="true" class="fas fa-link"></i> Source URL</h2>
<div class="ldr-metadata-item">
<div class="ldr-metadata-value">
- <a href="{{ document.original_url }}" target="_blank">{{ document.original_url }}</a>
+ <a href="{{ document.original_url }}" target="_blank" rel="noopener noreferrer">{{ document.original_url }}</a>
</div>
</div>
</div>
diff --git a/src/local_deep_research/web/templates/pages/results.html b/src/local_deep_research/web/templates/pages/results.html
index ebd26b13ed..f9d7bba4ca 100644
--- a/src/local_deep_research/web/templates/pages/results.html
+++ b/src/local_deep_research/web/templates/pages/results.html
@@ -93,7 +93,7 @@
<div class="modal-body">
<div class="ldr-feedback-options">
<a href="https://github.com/LearningCircuit/local-deep-research/issues/new?labels=bug&template=bug_report.md"
- target="_blank" class="ldr-feedback-option">
+ target="_blank" rel="noopener noreferrer" class="ldr-feedback-option">
<i aria-hidden="true" class="fas fa-bug"></i>
<div>
<strong>Report a Bug</strong>
@@ -102,7 +102,7 @@
</a>
<a href="https://github.com/LearningCircuit/local-deep-research/issues/new?labels=enhancement&template=feature_request.md"
- target="_blank" class="ldr-feedback-option">
+ target="_blank" rel="noopener noreferrer" class="ldr-feedback-option">
<i aria-hidden="true" class="fas fa-lightbulb"></i>
<div>
<strong>Suggest an Idea</strong>
@@ -111,7 +111,7 @@
</a>
<a href="https://discord.gg/ttcqQeFcJ3"
- target="_blank" class="ldr-feedback-option">
+ target="_blank" rel="noopener noreferrer" class="ldr-feedback-option">
<i aria-hidden="true" class="fab fa-discord"></i>
<div>
<strong>Ask a Question</strong>
diff --git a/src/local_deep_research/web/templates/settings_dashboard.html b/src/local_deep_research/web/templates/settings_dashboard.html
index 3ef742ffc0..ae82a84e73 100644
--- a/src/local_deep_research/web/templates/settings_dashboard.html
+++ b/src/local_deep_research/web/templates/settings_dashboard.html
@@ -22,34 +22,34 @@
</p>
<p class="ldr-support-note">
<span class="ldr-support-label">Learn & Get Help:</span>
- <a href="https://github.com/LearningCircuit/local-deep-research/wiki" target="_blank" title="Tips, guides, and tutorials">
+ <a href="https://github.com/LearningCircuit/local-deep-research/wiki" target="_blank" rel="noopener noreferrer" title="Tips, guides, and tutorials">
<i aria-hidden="true" class="fas fa-book"></i> Wiki
</a>
·
- <a href="https://github.com/LearningCircuit/local-deep-research/tree/main/docs" target="_blank" title="Technical documentation">
+ <a href="https://github.com/LearningCircuit/local-deep-research/tree/main/docs" target="_blank" rel="noopener noreferrer" title="Technical documentation">
<i aria-hidden="true" class="fas fa-file-alt"></i> Docs
</a>
·
- <a href="https://github.com/LearningCircuit/local-deep-research/blob/main/docs/CONFIGURATION.md" target="_blank" title="Complete reference of all settings, defaults, and environment variables">
+ <a href="https://github.com/LearningCircuit/local-deep-research/blob/main/docs/CONFIGURATION.md" target="_blank" rel="noopener noreferrer" title="Complete reference of all settings, defaults, and environment variables">
<i aria-hidden="true" class="fas fa-cogs"></i> Config Reference
</a>
·
- <a href="https://discord.gg/ttcqQeFcJ3" target="_blank" title="Get help from the community">
+ <a href="https://discord.gg/ttcqQeFcJ3" target="_blank" rel="noopener noreferrer" title="Get help from the community">
<i aria-hidden="true" class="fab fa-discord"></i> Discord
</a>
·
- <a href="https://www.reddit.com/r/LocalDeepResearch/" target="_blank" title="Discussions and showcases">
+ <a href="https://www.reddit.com/r/LocalDeepResearch/" target="_blank" rel="noopener noreferrer" title="Discussions and showcases">
<i aria-hidden="true" class="fab fa-reddit"></i> Reddit
</a>
·
- <a href="https://github.com/LearningCircuit/local-deep-research/issues" target="_blank" title="Report bugs or suggest ideas">
+ <a href="https://github.com/LearningCircuit/local-deep-research/issues" target="_blank" rel="noopener noreferrer" title="Report bugs or suggest ideas">
<i aria-hidden="true" class="fas fa-bug"></i> Feedback
</a>
</p>
<p class="ldr-community-note">
<i aria-hidden="true" class="fas fa-lightbulb"></i>
We're always looking for new ideas and recommendations! If you have suggestions for features, improvements, or if you encounter bugs or things that don't work optimally, please share them on
- <a href="https://github.com/LearningCircuit/local-deep-research/issues" target="_blank">GitHub Issues</a>. Your feedback helps make Local Deep Research better for everyone.
+ <a href="https://github.com/LearningCircuit/local-deep-research/issues" target="_blank" rel="noopener noreferrer">GitHub Issues</a>. Your feedback helps make Local Deep Research better for everyone.
</p>
</div>