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: Suppress DevSkim false positives (~840 alerts)

LearningCircuitc64ffc026ea6
diff --git a/.github/workflows/devskim.yml b/.github/workflows/devskim.yml
index 7ea2313f1b..ea2130a5cc 100644
--- a/.github/workflows/devskim.yml
+++ b/.github/workflows/devskim.yml
@@ -37,14 +37,35 @@ jobs:
uses: microsoft/DevSkim-Action@4b5047945a44163b94642a1cecc0d93a3f428cc6 # v1.0.16
with:
# Scan all source code
- path: '.'
+ directory-to-scan: '.'
# Output SARIF for GitHub Security tab
- output: 'devskim-results.sarif'
+ output-filename: 'devskim-results.sarif'
- # Ignore examples and tests - localhost/HTTP URLs are intentional there
- # This is a local-first research tool designed to run on localhost
- ignore-globs: 'examples/**,tests/**'
+ # Ignore test fixtures and documentation
+ # - tests/: All test code uses mock data and localhost URLs
+ # - examples/: Example code with placeholder values
+ # - docs/: Documentation with example URLs
+ # - node_modules/: Third-party code
+ ignore-globs: 'tests/**,examples/**,docs/**,node_modules/**,**/node_modules/**'
+
+ # Exclude rules that produce false positives in this codebase:
+ #
+ # DS176209 - "Suspicious comment" (TODO/FIXME/HACK)
+ # These are standard development annotations, not security issues.
+ # Every codebase has TODO comments for tracking technical debt.
+ #
+ # DS162092 - "Hardcoded URL"
+ # This research tool integrates with legitimate external APIs
+ # (ArXiv, PubMed, Semantic Scholar, etc.). All URLs are intentional
+ # service endpoints, not security vulnerabilities.
+ #
+ # DS137138 - "Hardcoded credentials"
+ # Analysis showed 100% of alerts are test fixtures (api_key="test_key",
+ # password="testpass", etc.). Zero real credentials found. Gitleaks
+ # handles actual secret detection separately.
+ #
+ exclude-rules: 'DS176209,DS162092,DS137138'
- name: Upload DevSkim results to GitHub Security
uses: github/codeql-action/upload-sarif@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2