~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix(ci): suppress DevSkim hits on allowlisted commit IDs (#7048)
LearningCircuit96dab5741a30
diff --git a/.github/SECURITY_ALERTS.md b/.github/SECURITY_ALERTS.mdindex c105d97b5f..9944b66409 100644--- a/.github/SECURITY_ALERTS.md+++ b/.github/SECURITY_ALERTS.md@@ -65,6 +65,19 @@ intentional mock data for testing.---+## DS173237 - Gitleaks allowlist commit IDs++**Status:** Suppressed on the affected `.gitleaks.toml` entries only.++DevSkim identifies 40-character Git commit IDs in Gitleaks' `commits`+allowlist as possible tokens. These entries name historical commits with+reviewed false-positive findings; they are not credentials. Each affected+line carries DevSkim's documented inline suppression for `DS173237`.+The rule stays enabled across the rest of the repository, and Gitleaks+still scans for real secrets.++---+## DS172411 - JavaScript DOM (innerHTML)**Status:** Addressed with XSS protection infrastructurediff --git a/.gitleaks.toml b/.gitleaks.tomlindex defdaaed5c..13ed7d488f 100644--- a/.gitleaks.toml+++ b/.gitleaks.toml@@ -240,37 +240,39 @@ files = ["docker-compose\\.example\\.yml$"]commits = [+ # These are historical Git commit IDs, not keys. Keep DS173237 enabled for+ # other files and suppress its SHA-shaped false positives at each entry.# AI reviewer documentation commit with API key explanation- "b31ff6fec15c9fe6f523d1f93f23e321b8803799",+ "b31ff6fec15c9fe6f523d1f93f23e321b8803799", # DevSkim: ignore DS173237# PDF upload feature with CSRF token DOM reading- "e0660dd0da5efed3ddbfcf5cfa1985b39f33df16",+ "e0660dd0da5efed3ddbfcf5cfa1985b39f33df16", # DevSkim: ignore DS173237# Download system integration with encrypted database - legitimate password parameters- "65ebe6bd522152ebb00a1fce38b8f6acb8fdcc7d",+ "65ebe6bd522152ebb00a1fce38b8f6acb8fdcc7d", # DevSkim: ignore DS173237# OpenRouter documentation commits with placeholder API keys (fixed in later commits)- "1395290fa5e8a955d5e01ed056e3ee7bad1b888c",- "00f48008cfedcc01adedc2b3f84246e0e3d883ef",- "17e4404af5b891b78e7eda99c196f03710e7107b",+ "1395290fa5e8a955d5e01ed056e3ee7bad1b888c", # DevSkim: ignore DS173237+ "00f48008cfedcc01adedc2b3f84246e0e3d883ef", # DevSkim: ignore DS173237+ "17e4404af5b891b78e7eda99c196f03710e7107b", # DevSkim: ignore DS173237# Notification system commit with user_password parameter names (false positives)- "17762f9e1b48db91092a867195aca81cfce6ab9c",+ "17762f9e1b48db91092a867195aca81cfce6ab9c", # DevSkim: ignore DS173237# PDM lock file update with SHA256 content hashes (false positives)- "3dd78e593550623af172c4d9f857197fdb1dfc99",+ "3dd78e593550623af172c4d9f857197fdb1dfc99", # DevSkim: ignore DS173237# Old .env.template commits with placeholder values (not actual secrets)- "40ca8fff073c20291758841c334081831f75a224",- "02042634506c377e86161cc2ce038eb8c19f10f3",- "03eba268505e3f239643041ce9c3d367d9b42700",- "08eaba75f4e3fb46f72668d3cc1f1d5eb4254f6b",+ "40ca8fff073c20291758841c334081831f75a224", # DevSkim: ignore DS173237+ "02042634506c377e86161cc2ce038eb8c19f10f3", # DevSkim: ignore DS173237+ "03eba268505e3f239643041ce9c3d367d9b42700", # DevSkim: ignore DS173237+ "08eaba75f4e3fb46f72668d3cc1f1d5eb4254f6b", # DevSkim: ignore DS173237# README.md commits with placeholder API key examples (not actual secrets)- "27539371e7d2b2b6edb63bc238a6c0347fafef0c",- "792da694efe22304469ec22ff46201080791e3a6",+ "27539371e7d2b2b6edb63bc238a6c0347fafef0c", # DevSkim: ignore DS173237+ "792da694efe22304469ec22ff46201080791e3a6", # DevSkim: ignore DS173237# Generated HTML documentation files with api_key parameter docs- "9acf5c42fb7ef721499e6d3a637f4faac69bc96b",+ "9acf5c42fb7ef721499e6d3a637f4faac69bc96b", # DevSkim: ignore DS173237# Coverage HTML report files with api_key parameter names in docstrings (false positives)- "bdf812d1dd0efa81971d7500593e5c25339c676c",+ "bdf812d1dd0efa81971d7500593e5c25339c676c", # DevSkim: ignore DS173237# full_serp_search_results.py example code with placeholder API key comments- "f4a447e3cf4bb53ee5a88384dd8fd4c1ce2a9b4c",- "a831a13c5a43cf34eaf3c52495db2e4c2a0005b7",+ "f4a447e3cf4bb53ee5a88384dd8fd4c1ce2a9b4c", # DevSkim: ignore DS173237+ "a831a13c5a43cf34eaf3c52495db2e4c2a0005b7", # DevSkim: ignore DS173237# openai_endpoint provider with api_key = "not-needed" placeholder (not a real secret)- "e1b7322c73165be9ac651804b7babecc85c0d7df"+ "e1b7322c73165be9ac651804b7babecc85c0d7df" # DevSkim: ignore DS173237]regexes = [# Allow placeholder values that are clearly not real secretsdiff --git a/tests/ci/test_devskim_workflow.py b/tests/ci/test_devskim_workflow.pyindex 5d8f55e413..8a14ef6353 100644--- a/tests/ci/test_devskim_workflow.py+++ b/tests/ci/test_devskim_workflow.py@@ -73,3 +73,11 @@ def test_ds126858_weak_hash_rule_is_not_excluded():excluded = {rule.strip() for rule in raw_excludes.split(",")}assert "DS126858" not in excluded+++def test_ds173237_secret_rule_is_not_excluded():+ """Keep secret scanning on outside the reviewed Gitleaks allowlist IDs."""+ raw_excludes = _devskim_action_step()["with"]["exclude-rules"]+ excluded = {rule.strip() for rule in raw_excludes.split(",")}++ assert "DS173237" not in excluded