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(ci): pin ai-reviewer script to commit SHA with SHA-256 verification (#5553)

LearningCircuit4a5f46d3e104
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.yml
index 101c03f82e..4cad68abb0 100644
--- a/.github/workflows/ai-code-reviewer.yml
+++ b/.github/workflows/ai-code-reviewer.yml
@@ -101,7 +101,15 @@ jobs:
- name: Download AI reviewer script
run: |
- curl -fsSL https://raw.githubusercontent.com/LearningCircuit/Friendly-AI-Reviewer/main/ai-reviewer.sh -o ai-reviewer.sh
+ # Pinned to Friendly-AI-Reviewer v0.0.1 (commit e7fe618a).
+ # Using commit SHA (immutable) — tags can be deleted/moved.
+ # SHA-256 verify guards against CDN tampering.
+ # To update: cut a new release on Friendly-AI-Reviewer, then update
+ # REVIEWER_COMMIT and REVIEWER_SHA256 below.
+ REVIEWER_COMMIT="e7fe618a8a28831dfcd5a3227ebbf667b3d3c43b"
+ REVIEWER_SHA256="2d613a562bf4631b394d826fdc164510097d16ac5355c996edcdf2a36c3346fe"
+ curl -fsSL "https://raw.githubusercontent.com/LearningCircuit/Friendly-AI-Reviewer/${REVIEWER_COMMIT}/ai-reviewer.sh" -o ai-reviewer.sh
+ printf '%s %s\n' "$REVIEWER_SHA256" ai-reviewer.sh | sha256sum -c -
chmod +x ai-reviewer.sh
- name: AI Code Review