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 alerts #7743 #7744 #7745 (audited false positives) (#3968)

LearningCircuitb8602b8f1063
diff --git a/.github/workflows/welcome-first-time.yml b/.github/workflows/welcome-first-time.yml
index c7c84eb25a..2ec93de6cc 100644
--- a/.github/workflows/welcome-first-time.yml
+++ b/.github/workflows/welcome-first-time.yml
@@ -10,6 +10,11 @@ name: Welcome first-time contributors
# PR number), so it would never fire on a repo with prior history.
on:
+ # zizmor: ignore[dangerous-triggers] — pull_request_target is required so
+ # fork PRs receive a writable token to post the welcome comment. The job
+ # never checks out PR content, never runs fork-controlled scripts, and
+ # only reads `sender.login` (operator-trusted GitHub event metadata). The
+ # comment body is a static template with no PR-controlled interpolation.
pull_request_target:
types: [opened]
diff --git a/src/local_deep_research/web/static/js/components/context-overflow.js b/src/local_deep_research/web/static/js/components/context-overflow.js
index 8d29beebda..4958be0b13 100644
--- a/src/local_deep_research/web/static/js/components/context-overflow.js
+++ b/src/local_deep_research/web/static/js/components/context-overflow.js
@@ -449,6 +449,7 @@
`;
});
+ // bearer:disable javascript_lang_dangerous_insert_html
// eslint-disable-next-line no-unsanitized/property -- all user-supplied strings (model, provider, query, research_id) are run through escapeHtml; numeric fields go through formatNumber; classes/badges are hardcoded
tbody.innerHTML = tableRows;
}
@@ -497,6 +498,7 @@
const utilPct = hasUtil ? Math.round((tokenStats.avg_prompt / stat.avg_context_limit) * 100) : 0;
const utilColor = utilPct > 80 ? 'var(--error-color)' : utilPct > 50 ? 'var(--warning-color)' : 'var(--success-color)';
+ // bearer:disable javascript_lang_dangerous_insert_html
// eslint-disable-next-line no-unsanitized/property -- `truncationRateClass` is hardcoded to one of three string literals; model/provider go through escapeHtml; numeric stats go through formatNumber; utilColor is hardcoded to one of three CSS variables
card.innerHTML = `
<div class="ldr-model-header">