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: Resolve Semgrep configuration and whitelist issues

LearningCircuit72f0e7ab1f7d
diff --git a/.github/workflows/file-whitelist-check.yml b/.github/workflows/file-whitelist-check.yml
index 5593190583..8aca4f44fe 100644
--- a/.github/workflows/file-whitelist-check.yml
+++ b/.github/workflows/file-whitelist-check.yml
@@ -34,6 +34,7 @@ jobs:
"\.flake8$"
"\.ipynb$"
"\.template$"
+ "\.toml$"
"^\.gitignore$"
"^\.gitkeep$"
".*\.gitkeep$"
@@ -42,6 +43,7 @@ jobs:
"^\.isort\.cfg$"
"^\.coveragerc$"
"^\.secrets\.baseline$"
+ "^\.gitleaks\.toml$"
"^pytest\.ini$"
"^LICENSE$"
"^README$"
@@ -55,6 +57,8 @@ jobs:
"^MANIFEST\.in$"
"^\.github/CODEOWNERS$"
"^\.github/.*\.(yml|yaml|md)$"
+ "\.semgrep/.*\.(yml|yaml)$"
+ "\.semgrepignore$"
"installers/.*\.(bat|ps1|iss|ico)$"
)
diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml
index f82efdbb5a..a976b2487a 100644
--- a/.github/workflows/semgrep.yml
+++ b/.github/workflows/semgrep.yml
@@ -34,12 +34,12 @@ jobs:
- name: Run Semgrep security scan
run: |
semgrep \
- --config=auto \
+ --config=p/security-audit \
+ --config=p/secrets \
--severity=INFO \
--json \
--output=semgrep-results.json \
- --metrics=off \
- src/
+ src/ || true
- name: Run Semgrep custom rules for LDR
run: |
@@ -48,7 +48,6 @@ jobs:
--severity=INFO \
--json \
--output=semgrep-custom-results.json \
- --metrics=off \
src/ || true
- name: Merge Semgrep results
diff --git a/.pre-commit-hooks/file-whitelist-check.sh b/.pre-commit-hooks/file-whitelist-check.sh
index 2bc6147020..42a09b8488 100755
--- a/.pre-commit-hooks/file-whitelist-check.sh
+++ b/.pre-commit-hooks/file-whitelist-check.sh
@@ -17,6 +17,7 @@ ALLOWED_PATTERNS=(
"\.flake8$"
"\.ipynb$"
"\.template$"
+ "\.toml$"
"^\.gitignore$"
"^\.gitkeep$"
".*\.gitkeep$"
@@ -28,6 +29,7 @@ ALLOWED_PATTERNS=(
"^\.gitleaks\.toml$"
"^\.semgrepignore$"
"^\.trivyignore$"
+ "\.semgrep/.*\.yml$"
"^pytest\.ini$"
"^LICENSE$"
"^README$"