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.

security: replace insecure Trivy install in SBOM generation (#2915)

LearningCircuit607edb7ae2fb
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e0274acfe9..ebbf40bc2a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -267,11 +267,11 @@ jobs:
run: |
echo "=== Generating Software Bill of Materials ==="
- # Install Trivy for SBOM generation
- wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
- echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list
+ # Install Trivy for SBOM generation (using signed-by for secure key management)
+ curl -fsSL https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | sudo tee /usr/share/keyrings/trivy.gpg > /dev/null
+ echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb generic main" | sudo tee /etc/apt/sources.list.d/trivy.list
sudo apt-get update
- sudo apt-get install trivy
+ sudo apt-get install -y trivy
# Generate SBOM in SPDX format (JSON)
trivy fs --format spdx-json --output sbom-spdx.json .