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.

docs: fix SECURITY_SCORECARD.md inaccuracies and document alert #5688 (#2175)

LearningCircuit2472e63bda01
diff --git a/.github/SECURITY_SCORECARD.md b/.github/SECURITY_SCORECARD.md
index 5208f20a8c..15ced6a3b1 100644
--- a/.github/SECURITY_SCORECARD.md
+++ b/.github/SECURITY_SCORECARD.md
@@ -8,8 +8,8 @@ and documents any accepted risks or false positives.
**Summary:**
- ✅ 196/196 GitHub Actions pinned by SHA
- ✅ 4/4 Container images pinned by digest
-- ✅ 3/3 Security tools use official SHA-pinned actions (checkov, pip-audit, zizmor)
-- ⚠️ 0/17 pip commands pinned by hash (version-pinned only - accepted risk, checkov and pip-audit now use official actions)
+- ✅ 2/2 Security tools use official SHA-pinned actions (pip-audit, 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
- ⚠️ APT packages intentionally unpinned (base image controls versions)
@@ -40,18 +40,22 @@ node:20-alpine@sha256:bcd88137d802e2482c9df3cdec71e0431857ebbbdba6973776b5593214
### Official GitHub Actions: COMPLIANT ✅
-Several security tools now use official GitHub Actions with SHA-pinning,
+Two security tools use official GitHub Actions with SHA-pinning,
which provides equivalent security to hash-pinned pip installs:
| Tool | Action | SHA |
|------|--------|-----|
-| Checkov | `bridgecrewio/checkov-action` | `5051a5cfc7e4c71d95199f81ffafbb490c7e6213` |
| pip-audit | `pypa/gh-action-pip-audit` | `f9e2142a494d0d5d0d84e508e22a802af02cd086` |
-| zizmor | `zizmorcore/zizmor-action` | (container-based with internal hash verification) |
+| zizmor | `zizmorcore/zizmor-action` | `135698455da5c3b3e55f73f4419e481ab68cdd95` |
These official actions run their tools in containers with internal integrity verification,
which OSSF Scorecard accepts as equivalent to hash pinning.
+> **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)
+> and [checkov#5866](https://github.com/bridgecrewio/checkov/issues/5866).
+
### pip install: VERSION-PINNED (Accepted Risk) ⚠️
Scorecard flags `pip install package==version` because it prefers hash pinning.
@@ -61,16 +65,26 @@ The remaining pip commands use exact version pinning.
| File | Line | Command | Status |
|------|------|---------|--------|
-| Dockerfile | 47-48 | `pip install pip==24.3.1 pdm==2.26.2 playwright==1.57.0` | Version-pinned |
-| check-env-vars.yml | 41 | `pip install loguru==0.7.3 sqlalchemy==2.0.36...` | Version-pinned |
-| e2e-research-test.yml | 55 | `pip install -e .` | Local package (N/A) |
-| fuzz.yml | 48-49 | `pip install pip==25.0` `pip install pdm==2.26.2` | Version-pinned |
-| mypy-type-check.yml | 40,48,49 | `pip install pdm==2.26.2 mypy==1.14.1...` | Version-pinned |
-| publish.yml | 137,326 | `pip install pdm==2.26.2` `pip install wheel==0.45.1` | Version-pinned |
-| responsive-ui-tests-enhanced.yml | 88-89 | `pip install pip==25.0` `pip install -e .` | Version-pinned + local |
-| semgrep.yml | 42 | `pip install semgrep==1.87.0` | Version-pinned |
-| update-precommit-hooks.yml | 35-36 | `pip install pip==25.0 pre-commit-update==0.6.2` | Version-pinned |
-| validate-image-pinning.yml | 74 | `pip install pyyaml==6.0.2` | Version-pinned |
+| Dockerfile | 49-50 | `pip3 install pip==26.0` `pip install pdm==2.26.2...` | Version-pinned |
+| Dockerfile | 194 | `pip3 install pip==26.0` | Version-pinned |
+| check-env-vars.yml | 36 | `pip install loguru==0.7.3 sqlalchemy==2.0.36...` | Version-pinned |
+| checkov.yml | 33 | `pip install checkov==3.2.499` | Version-pinned |
+| fuzz.yml | 51-52 | `pip install pip==25.0` `pip install pdm==2.26.2` | Version-pinned |
+| mypy-type-check.yml | 39,47-48 | `pip install pdm==2.26.2 mypy==1.14.1...` | Version-pinned |
+| publish.yml | 139,328 | `pip install pdm==2.26.2` `pip install wheel==0.46.2` | Version-pinned |
+| puppeteer-e2e-tests.yml | 65 | `pip install -e .` | Local package |
+| responsive-ui-tests-enhanced.yml | 97-98 | `pip install pip==25.0` `pip install -e .` | Version-pinned + local (Alert #5688) |
+| semgrep.yml | 36 | `pip install semgrep==1.87.0` | Version-pinned |
+| update-precommit-hooks.yml | 35-38 | `pip install pip==25.0` `pip install pre-commit-update==0.6.1` | **Hash-pinned** |
+| validate-image-pinning.yml | 67 | `pip install pyyaml==6.0.2` | Version-pinned |
+| backwards-compatibility.yml | 66-68 | `pip install --upgrade pip` `pip install pytest` `pip install -e .` | Intentionally unpinned |
+| backwards-compatibility.yml | 106-107 | `pip install --upgrade pip` `pip install pytest` | Intentionally unpinned |
+| backwards-compatibility.yml | 154-155 | `pip install --upgrade pip` `pip install "local-deep-research==..."` | Intentionally unpinned |
+| backwards-compatibility.yml | 169 | `pip install -e .` | Local package |
+
+> **Note:** `backwards-compatibility.yml` intentionally uses unpinned pip commands
+> because it tests compatibility with prior PyPI releases of local-deep-research.
+> Pinning these commands would defeat the purpose of the compatibility tests.
**Why we don't use hash pinning:**
@@ -88,6 +102,15 @@ The remaining pip commands use exact version pinning.
5. **Local packages**: `pip install -e .` installs the local source code and cannot be hash-pinned.
+6. **Bootstrap commands**: `pip install pip==X.Y.Z` cannot be hash-pinned because pip is the
+ tool performing the verification — it cannot verify its own integrity during a self-upgrade.
+
+### Specific OSSF Scorecard Alerts
+
+| Alert | File | Lines | Description | Status |
+|-------|------|-------|-------------|--------|
+| #5688 | responsive-ui-tests-enhanced.yml | 97-98 | `pip install pip==25.0` (bootstrap) and `pip install -e .` (local source) | Accepted limitation |
+
### npm Commands: MOSTLY COMPLIANT (21/24) ⚠️
The 3 "unpinned" npm commands are operational commands, not package installations:
@@ -162,12 +185,12 @@ is a safe operation on localhost data.
We have automated verification for our pinning strategy:
- `.github/workflows/validate-image-pinning.yml` - Validates Docker image digests
- Pre-commit hooks verify action SHA pinning
-- All pip install commands use explicit version specifiers
+- All pip install commands use explicit version specifiers (except `backwards-compatibility.yml` which intentionally tests with unpinned versions)
### Review Cadence
These decisions are reviewed quarterly to ensure they remain appropriate:
-- **Next review:** Q2 2025
+- **Next review:** Q2 2026
- **Owner:** Security team
## References
diff --git a/.github/workflows/responsive-ui-tests-enhanced.yml b/.github/workflows/responsive-ui-tests-enhanced.yml
index 6a9fbe49f8..1d3ca55043 100644
--- a/.github/workflows/responsive-ui-tests-enhanced.yml
+++ b/.github/workflows/responsive-ui-tests-enhanced.yml
@@ -92,6 +92,9 @@ jobs:
xdg-utils \
imagemagick
+ # OSSF Scorecard alert #5688: These pip commands cannot be hash-pinned.
+ # pip bootstrap cannot verify its own hash; -e . installs local source.
+ # Accepted limitation documented in .github/SECURITY_SCORECARD.md
- name: Install Python dependencies
run: |
python -m pip install pip==25.0