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(ci): resolve zizmor security alerts for cache poisoning and SHA mismatches

LearningCircuit67f13b69115d
diff --git a/.github/workflows/pytest-tests.yml b/.github/workflows/pytest-tests.yml
index 62472ec987..be997e5b05 100644
--- a/.github/workflows/pytest-tests.yml
+++ b/.github/workflows/pytest-tests.yml
@@ -45,8 +45,8 @@ jobs:
target: ldr-test
load: true
tags: ${{ env.TEST_IMAGE }}
- cache-from: type=gha,scope=ldr-test
- # Only write cache on push (trusted events), not on PRs from forks (cache poisoning protection)
+ # Cache poisoning protection: only read/write cache on trusted events (not PRs from forks)
+ cache-from: ${{ github.event_name != 'pull_request' && 'type=gha,scope=ldr-test' || '' }}
cache-to: ${{ github.event_name != 'pull_request' && 'type=gha,mode=max,scope=ldr-test' || '' }}
- name: Set up Node.js
diff --git a/.github/workflows/retirejs.yml b/.github/workflows/retirejs.yml
index d0c5f99a20..2ed0451177 100644
--- a/.github/workflows/retirejs.yml
+++ b/.github/workflows/retirejs.yml
@@ -60,7 +60,7 @@ jobs:
cat retire-output.txt
- name: Upload SARIF results
- uses: github/codeql-action/upload-sarif@d3ced5c96c16c4332e2a61eb6f3649d6f1b20bb8 # v3
+ uses: github/codeql-action/upload-sarif@7e411dfa505b8ce87fc7dc5606e45c59c40156a6 # v3
if: always() && hashFiles('retire-results.sarif') != ''
with:
sarif_file: retire-results.sarif
diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml
index c298545544..c65c54ef75 100644
--- a/.github/workflows/ui-tests.yml
+++ b/.github/workflows/ui-tests.yml
@@ -39,8 +39,8 @@ jobs:
target: ldr-test
load: true
tags: ldr-test
- cache-from: type=gha,scope=ldr-test
- # Only write cache on push (trusted events), not on PRs from forks (cache poisoning protection)
+ # Cache poisoning protection: only read/write cache on trusted events (not PRs from forks)
+ cache-from: ${{ github.event_name != 'pull_request' && 'type=gha,scope=ldr-test' || '' }}
cache-to: ${{ github.event_name != 'pull_request' && 'type=gha,mode=max,scope=ldr-test' || '' }}
- name: Install Node.js for UI tests
diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml
index a67369d0c9..48173b760e 100644
--- a/.github/workflows/update-dependencies.yml
+++ b/.github/workflows/update-dependencies.yml
@@ -51,7 +51,7 @@ jobs:
pdm update $PDM_ARGS
- name: 📝 Create pull request
- uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8
+ uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8
with:
branch: update-dependencies-${{ github.run_number }}
title: 🤖 Update dependencies
diff --git a/.github/workflows/update-npm-dependencies.yml b/.github/workflows/update-npm-dependencies.yml
index 46786b626b..ea8abb3ca4 100644
--- a/.github/workflows/update-npm-dependencies.yml
+++ b/.github/workflows/update-npm-dependencies.yml
@@ -118,7 +118,7 @@ jobs:
fi
- name: 📝 Create pull request
- uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8
+ uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8
if: steps.verify-changed-files.outputs.changed == 'true'
with:
branch: update-npm-dependencies-${{ github.run_number }}
diff --git a/.github/workflows/update-precommit-hooks.yml b/.github/workflows/update-precommit-hooks.yml
index d9feb81b2c..fafbb20dc7 100644
--- a/.github/workflows/update-precommit-hooks.yml
+++ b/.github/workflows/update-precommit-hooks.yml
@@ -56,7 +56,7 @@ jobs:
fi
- name: 📝 Create pull request
- uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8
+ uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8
if: steps.verify-changed-files.outputs.changed == 'true'
with:
branch: update-precommit-hooks-${{ github.run_number }}
diff --git a/.github/workflows/version_check.yml b/.github/workflows/version_check.yml
index 75b757f5a1..ea1b9b829f 100644
--- a/.github/workflows/version_check.yml
+++ b/.github/workflows/version_check.yml
@@ -92,7 +92,7 @@ jobs:
# by github-actions[bot] - this allows the repo owner to approve the PR
- name: Create Pull Request
if: steps.check.outputs.needs_bump == 'true'
- uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
+ uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: auto-bump version to ${{ steps.bump.outputs.new_version }}"