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 subshell bug in whitelist-check and reduce output noise (#1231)

LearningCircuit04246669c397
diff --git a/.github/scripts/file-whitelist-check.sh b/.github/scripts/file-whitelist-check.sh
index af91aa61b9..23223160f5 100755
--- a/.github/scripts/file-whitelist-check.sh
+++ b/.github/scripts/file-whitelist-check.sh
@@ -82,6 +82,7 @@ fi
echo "🔍 Running comprehensive security checks..."
echo ""
+FILES_CHECKED=0
WHITELIST_VIOLATIONS=()
LARGE_FILES=()
SECRET_VIOLATIONS=()
@@ -96,7 +97,7 @@ HARDCODED_IP_VIOLATIONS=()
SUSPICIOUS_FILETYPE_VIOLATIONS=()
# Use improved file processing that handles spaces and special characters
-printf '%s\n' "$CHANGED_FILES" | while IFS= read -r file; do
+while IFS= read -r file; do
[ -z "$file" ] && continue
# Skip deleted files
@@ -104,7 +105,10 @@ if [ ! -f "$file" ]; then
continue
fi
-echo "Checking: $file"
+FILES_CHECKED=$((FILES_CHECKED + 1))
+if [ $((FILES_CHECKED % 10)) -eq 0 ]; then
+printf "."
+fi
# 1. Whitelist check
ALLOWED=false
@@ -310,6 +314,10 @@ fi
fi
done <<< "$CHANGED_FILES"
+echo ""
+echo "✓ Checked $FILES_CHECKED files"
+echo ""
+
# Report all violations with detailed explanations
echo "📊 Security scan completed. Analyzing results..."
echo "📋 Summary of findings:"