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: resolve failing CI checks in strict security workflows

LearningCircuit4bdda2fd8319
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.yml
index 7dbf74260f..b6fb5b4004 100644
--- a/.github/workflows/ai-code-reviewer.yml
+++ b/.github/workflows/ai-code-reviewer.yml
@@ -37,6 +37,7 @@ jobs:
BASE_REF: ${{ github.event.pull_request.base.ref }}
run: |
# Fetch the base branch (works for any target branch, not just main)
+ # Use env var to prevent template injection from malicious branch names
git fetch origin "$BASE_REF"
git diff "origin/$BASE_REF...HEAD" --no-color > diff.txt
diff --git a/.github/workflows/check-css-classes.yml b/.github/workflows/check-css-classes.yml
index 9cc1512591..405fd35d58 100644
--- a/.github/workflows/check-css-classes.yml
+++ b/.github/workflows/check-css-classes.yml
@@ -126,10 +126,13 @@ jobs:
- name: Show CSS check results
if: always()
+ env:
+ STEP_OUTCOME: ${{ steps.css_check.outcome }}
+ STEP_CONCLUSION: ${{ steps.css_check.conclusion }}
run: |
echo "=== CSS Check Results ==="
- echo "Step outcome: ${{ steps.css_check.outcome }}"
- echo "Step conclusion: ${{ steps.css_check.conclusion }}"
+ echo "Step outcome: $STEP_OUTCOME"
+ echo "Step conclusion: $STEP_CONCLUSION"
echo ""
if [ "$CSS_CHECK_FAILED" = "true" ]; then
echo "❌ CSS check failed - violations were found:"
diff --git a/.github/workflows/danger-zone-alert.yml b/.github/workflows/danger-zone-alert.yml
index 3c13d0943e..6275346016 100644
--- a/.github/workflows/danger-zone-alert.yml
+++ b/.github/workflows/danger-zone-alert.yml
@@ -43,6 +43,7 @@ jobs:
BASE_REF: ${{ github.base_ref }}
run: |
# Get list of modified files
+ # Use env var to prevent template injection from malicious branch names
DANGEROUS_FILES=$(git diff --name-only "origin/$BASE_REF...HEAD" | grep -E "(encrypted_db|sqlcipher|auth/|security/|password|encrypt|decrypt|crypto|\.secrets)" || true)
if [ -z "$DANGEROUS_FILES" ]; then
diff --git a/.github/workflows/security-tests.yml b/.github/workflows/security-tests.yml
index cce37814b1..8dd5634dfa 100644
--- a/.github/workflows/security-tests.yml
+++ b/.github/workflows/security-tests.yml
@@ -83,8 +83,9 @@ jobs:
- name: Check for known vulnerabilities with Safety
run: |
+ # Use 'safety scan' (modern command) instead of deprecated 'check'
# Strict mode: fail on known vulnerabilities
- pdm run safety check --json > safety-report.json || {
+ pdm run safety scan --output json > safety-report.json || {
echo "::error::Known vulnerabilities detected in dependencies"
cat safety-report.json
exit 1