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.

chore(ci): remove dead [target] section from .gitleaks.toml (#5141)

LearningCircuit9c86698e8e56
diff --git a/.gitleaks.toml b/.gitleaks.toml
index 183d152b3e..d76511220e 100644
--- a/.gitleaks.toml
+++ b/.gitleaks.toml
@@ -306,21 +306,11 @@ regexes = [
'''token\s*=\s*session\.get\("temp_auth_token"\)'''
]
-# Target specific files for scanning
-[target]
-paths = [
- '''src/''',
- '''scripts/''',
- '''docs/''',
- '''\.github/''',
- '''\.py$''',
- '''\.js$''',
- '''\.ts$''',
- '''\.json$''',
- '''\.yml$''',
- '''\.yaml$''',
- '''\.env$''',
- '''\.sh$''',
- '''Dockerfile.*''',
- '''docker-compose.*''',
-]
+# NOTE: a "[target]" section used to live here listing paths/extensions,
+# intending to restrict the scan to src/, scripts/, docs/, .github/ and code
+# extensions. gitleaks has no such config key — it was silently ignored, so
+# the scan already covers the whole tree regardless (verified: a secret in a
+# root .txt file outside every listed path is still flagged with the section
+# present). Removed to avoid implying a scope that was never enforced. Scan
+# scope is set by the CLI (--source / --log-opts); to EXCLUDE paths, add them
+# to [allowlist].paths above.