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: remove unpinned npm install from audit workflow

LearningCircuita76b69f155af
diff --git a/.github/workflows/npm-audit.yml b/.github/workflows/npm-audit.yml
index b728d0ccd6..b4dc26bc02 100644
--- a/.github/workflows/npm-audit.yml
+++ b/.github/workflows/npm-audit.yml
@@ -50,12 +50,13 @@ jobs:
run: |
echo "=== Running npm audit on root package.json ==="
if [ -f "package.json" ]; then
- # Generate lockfile if it doesn't exist (required for npm audit)
+ # Require committed lockfile for reproducible security audits
if [ ! -f "package-lock.json" ]; then
- echo "📦 Generating package-lock.json..."
- npm i --package-lock-only --ignore-scripts
+ echo "::error::Missing package-lock.json. Please commit your lockfile for security audits."
+ echo "AUDIT_FAILED=true" >> "$GITHUB_ENV"
+ else
+ npm audit --audit-level=moderate || echo "AUDIT_FAILED=true" >> "$GITHUB_ENV"
fi
- npm audit --audit-level=moderate || echo "AUDIT_FAILED=true" >> "$GITHUB_ENV"
else
echo "No package.json found in root"
fi
@@ -66,12 +67,13 @@ jobs:
echo "=== Running npm audit on tests/ui_tests ==="
if [ -f "tests/ui_tests/package.json" ]; then
cd tests/ui_tests
- # Generate lockfile if it doesn't exist (required for npm audit)
+ # Require committed lockfile for reproducible security audits
if [ ! -f "package-lock.json" ]; then
- echo "📦 Generating package-lock.json..."
- npm i --package-lock-only --ignore-scripts
+ echo "::error::Missing tests/ui_tests/package-lock.json. Please commit your lockfile for security audits."
+ echo "AUDIT_UI_FAILED=true" >> "$GITHUB_ENV"
+ else
+ npm audit --audit-level=moderate || echo "AUDIT_UI_FAILED=true" >> "$GITHUB_ENV"
fi
- npm audit --audit-level=moderate || echo "AUDIT_UI_FAILED=true" >> "$GITHUB_ENV"
else
echo "No package.json found in tests/ui_tests"
fi