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): remove pip-audit in favor of OSV-Scanner (#3108)

LearningCircuitdd5f8d1c9535
diff --git a/.github/SECURITY_SCORECARD.md b/.github/SECURITY_SCORECARD.md
index 15ced6a3b1..65a999d396 100644
--- a/.github/SECURITY_SCORECARD.md
+++ b/.github/SECURITY_SCORECARD.md
@@ -8,7 +8,7 @@ and documents any accepted risks or false positives.
**Summary:**
- ✅ 196/196 GitHub Actions pinned by SHA
- ✅ 4/4 Container images pinned by digest
-- ✅ 2/2 Security tools use official SHA-pinned actions (pip-audit, zizmor)
+- ✅ 1/1 Security tools use official SHA-pinned actions (zizmor)
- ⚠️ 2/27 pip commands pinned by hash (remainder version-pinned — accepted risk)
- ⚠️ 21/24 npm commands pinned (3 are operational commands)
- ⚠️ 1 false positive for downloadThenRun
@@ -40,17 +40,20 @@ node:20-alpine@sha256:bcd88137d802e2482c9df3cdec71e0431857ebbbdba6973776b5593214
### Official GitHub Actions: COMPLIANT ✅
-Two security tools use official GitHub Actions with SHA-pinning,
+One security tool uses an official GitHub Action with SHA-pinning,
which provides equivalent security to hash-pinned pip installs:
| Tool | Action | SHA |
|------|--------|-----|
-| pip-audit | `pypa/gh-action-pip-audit` | `f9e2142a494d0d5d0d84e508e22a802af02cd086` |
| zizmor | `zizmorcore/zizmor-action` | `135698455da5c3b3e55f73f4419e481ab68cdd95` |
-These official actions run their tools in containers with internal integrity verification,
+This official action runs the tool in a container with internal integrity verification,
which OSSF Scorecard accepts as equivalent to hash pinning.
+> **Note:** pip-audit was removed because it duplicates OSV-Scanner's coverage (both
+> query the OSV database) and its internal use of pip's dependency resolver conflicts
+> with PDM's `[tool.pdm.resolution.overrides]`, causing persistent CI failures.
+
> **Note:** Checkov previously used `bridgecrewio/checkov-action` but was reverted to CLI
> installation (`pip install checkov==3.2.499`) due to a known bug with multiple
> consecutive action calls. See [checkov-action#170](https://github.com/bridgecrewio/checkov-action/issues/170)
diff --git a/.github/workflows/security-tests.yml b/.github/workflows/security-tests.yml
index f1c956c55e..2c93bcc638 100644
--- a/.github/workflows/security-tests.yml
+++ b/.github/workflows/security-tests.yml
@@ -89,30 +89,9 @@ jobs:
sarif_file: bandit-results.sarif
category: bandit
- # Export PDM's resolved lock to a flat, pinned requirements file.
- # pip-audit is run with --no-deps so it audits exactly these pins
- # without re-resolving (which would hit the arxiv ↔ requests override).
- - name: Export requirements from PDM lock
- run: pdm export --no-hashes -o /tmp/requirements-audit.txt
-
- # Using official pip-audit action with SHA-pinning for OSSF Scorecard compliance
- - name: Check for known vulnerabilities with pip-audit
- uses: pypa/gh-action-pip-audit@1220774d901786e6f652ae159f7b6bc8fea6d266 # v1.1.0
- with:
- inputs: /tmp/requirements-audit.txt
- vulnerability-service: osv
- summary: true
- # nltk 3.9.2 Zip Slip in downloader — no fix released yet.
- # Transitive dep; project never calls nltk.download() at runtime.
- #
- # pygments 2.19.2 ReDoS in GUID regex (CVE-2026-4539) — no fix released.
- # Transitive dep via rich; no user input is passed to Pygments highlighting.
- ignore-vulns: |
- CVE-2025-14009
- CVE-2026-4539
- # Increase OSV API timeout from default 15s to 120s to handle
- # transient api.osv.dev slowness that causes release-gate failures.
- internal-be-careful-extra-flags: --no-deps --timeout 120
+ # Dependency vulnerability scanning is handled by OSV-Scanner
+ # (osv-scanner.yml), which reads pdm.lock directly and doesn't
+ # fight PDM's resolution overrides the way pip-audit did.
- name: Run SQL injection tests
env:
@@ -202,7 +181,7 @@ jobs:
python -c "import json; data=json.load(open('bandit-report.json')); print(f' High: {len([i for i in data.get(\"results\", []) if i[\"issue_severity\"] == \"HIGH\"])}'); print(f' Medium: {len([i for i in data.get(\"results\", []) if i[\"issue_severity\"] == \"MEDIUM\"])}'); print(f' Low: {len([i for i in data.get(\"results\", []) if i[\"issue_severity\"] == \"LOW\"])}')" || true
fi
echo ""
- echo "pip-audit results: See job summary above (summary: true enabled)"
+ echo "Dependency vulnerabilities: covered by OSV-Scanner (osv-scanner.yml)"
- name: Upload security reports
if: always()