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: exclude DevSkim false positive rules DS148264 and DS172411

LearningCircuit92127aa63b33
diff --git a/.github/workflows/devskim.yml b/.github/workflows/devskim.yml
index 663c106265..1d5ce03223 100644
--- a/.github/workflows/devskim.yml
+++ b/.github/workflows/devskim.yml
@@ -65,7 +65,21 @@ jobs:
# password="testpass", etc.). Zero real credentials found. Gitleaks
# handles actual secret detection separately.
#
- exclude-rules: 'DS176209,DS162092,DS137138'
+ # DS148264 - "Use cryptographic random"
+ # Flags ALL Python `random` module usage without context. This codebase
+ # correctly uses `secrets` for security (session tokens, auth tokens,
+ # Flask keys) and `random` only for non-security purposes: ML fairness
+ # shuffling in search strategies, distributed systems jitter in scheduler,
+ # and session cleanup probability. None involve cryptographic operations.
+ #
+ # DS172411 - "setTimeout code injection"
+ # Flags ALL JavaScript setTimeout() calls. The dangerous pattern is
+ # setTimeout("string", delay) which can execute arbitrary code. However,
+ # 100% of usages in this codebase (80+) pass safe function references:
+ # setTimeout(() => {...}, delay) or setTimeout(functionName, delay).
+ # No string-based setTimeout usage exists.
+ #
+ exclude-rules: 'DS176209,DS162092,DS137138,DS148264,DS172411'
- name: Upload DevSkim results to GitHub Security
uses: github/codeql-action/upload-sarif@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2