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.

Document comprehensive security scanning in SECURITY.md

LearningCircuite388cf7dd891
diff --git a/README.md b/README.md
index 64b8bdb1b6..080abb079e 100644
--- a/README.md
+++ b/README.md
@@ -83,7 +83,12 @@ flowchart LR
Your data stays yours. Each user gets their own isolated SQLCipher database encrypted with AES-256 (Signal-level security). No password recovery means true zero-knowledge—even server admins can't read your data. Run fully local with Ollama + SearXNG and nothing ever leaves your machine.
-[Detailed Architecture →](docs/architecture.md)
+**Supply Chain Security**: Docker images are signed with [Cosign](https://github.com/sigstore/cosign), include SLSA provenance attestations, and attach SBOMs. Verify with:
+```bash
+cosign verify localdeepresearch/local-deep-research:latest
+```
+
+[Detailed Architecture →](docs/architecture.md) | [Security Policy →](SECURITY.md)
## 📊 Performance
diff --git a/SECURITY.md b/SECURITY.md
index b72ce68ad7..d92dc2b3e9 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -60,4 +60,87 @@ This project processes user queries and search results. Key areas:
Security fixes are only provided for the latest release. Please upgrade to receive patches.
+## Security Scanning & CI/CD
+
+We maintain comprehensive automated security scanning across the entire development lifecycle:
+
+### Static Application Security Testing (SAST)
+
+| Tool | Purpose | Frequency |
+|------|---------|-----------|
+| **CodeQL** | Semantic code analysis for vulnerabilities | Every PR & push |
+| **Semgrep** | Pattern-based security scanning | Every PR & push |
+| **Bandit** | Python-specific security linting | Every PR & push |
+| **DevSkim** | Security-focused linter | Every PR & push |
+
+### Dependency & Supply Chain Security
+
+| Tool | Purpose | Frequency |
+|------|---------|-----------|
+| **OSV-Scanner** | Open Source Vulnerability database | Every PR & push |
+| **npm audit** | JavaScript dependency vulnerabilities | Every PR & push |
+| **RetireJS** | Known vulnerable JS libraries | Every PR & push |
+| **SBOM Generation** | Software Bill of Materials (Syft) | Weekly & releases |
+| **License Scanning** | License compliance checking | Every PR |
+
+### Container Security
+
+| Tool | Purpose | Frequency |
+|------|---------|-----------|
+| **Trivy** | Container vulnerability scanning | Every PR & push |
+| **Hadolint** | Dockerfile best practices | Every PR & push |
+| **Dockle** | Container image security linting | Weekly |
+| **Image Pinning** | Verify all images use SHA digests | Every PR |
+
+### Infrastructure & Configuration
+
+| Tool | Purpose | Frequency |
+|------|---------|-----------|
+| **Checkov** | Infrastructure-as-Code security | Every PR & push |
+| **Zizmor** | GitHub Actions security | Every PR & push |
+| **OSSF Scorecard** | Supply chain security metrics | Periodic |
+
+### Dynamic Application Security Testing (DAST)
+
+| Tool | Purpose | Frequency |
+|------|---------|-----------|
+| **OWASP ZAP** | Web application security scanning | Every PR & push |
+| **Security Headers** | HTTP security header validation | Every PR & push |
+
+### Secrets Detection
+
+| Tool | Purpose | Frequency |
+|------|---------|-----------|
+| **Gitleaks** | Secret detection in commits | Every PR & push |
+| **File Whitelist** | Prevent sensitive files in commits | Every PR & push |
+
+### Release Security
+
+| Feature | Description |
+|---------|-------------|
+| **Cosign Signing** | All Docker images are cryptographically signed |
+| **SLSA Provenance** | Build attestations for supply chain verification |
+| **SBOM Attachments** | SBOMs attached to container images and releases |
+| **Keyless Signing** | Uses GitHub OIDC for Sigstore keyless signing |
+
+### Security Best Practices
+
+All workflows follow security best practices:
+
+- **Pinned Actions**: All GitHub Actions pinned to SHA hashes
+- **Minimal Permissions**: Least-privilege permission model
+- **Runner Hardening**: step-security/harden-runner on all workflows
+- **No Credential Persistence**: `persist-credentials: false` on checkouts
+- **Egress Auditing**: Network egress monitoring enabled
+
+### OpenSSF Scorecard
+
+We maintain a high [OpenSSF Scorecard](https://securityscorecards.dev/viewer/?uri=github.com/LearningCircuit/local-deep-research) rating, measuring:
+
+- Branch protection
+- Dependency updates
+- Security policy
+- Signed releases
+- CI/CD security
+
Thank you for helping keep Local Deep Research secure!