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: pin puppeteer version and document APT package strategy

LearningCircuit7c3bc14d3581
diff --git a/.github/SECURITY_SCORECARD.md b/.github/SECURITY_SCORECARD.md
index 3d814d9408..9313f044cd 100644
--- a/.github/SECURITY_SCORECARD.md
+++ b/.github/SECURITY_SCORECARD.md
@@ -11,6 +11,7 @@ and documents any accepted risks or false positives.
- ⚠️ 0/20 pip commands pinned by hash (version-pinned only - accepted risk)
- ⚠️ 21/24 npm commands pinned (3 are operational commands)
- ⚠️ 1 false positive for downloadThenRun
+- ⚠️ APT packages intentionally unpinned (base image controls versions)
## Pinned-Dependencies
@@ -105,6 +106,43 @@ This is NOT downloading and running a remote script. It's formatting local JSON
The scorecard pattern-matches `curl | python` as potentially dangerous, but this
is a safe operation on localhost data.
+### APT Packages: INTENTIONALLY UNPINNED ⚠️
+
+**Files affected:** `publish.yml`, `e2e-research-test.yml`, `responsive-ui-tests-enhanced.yml`, `Dockerfile`
+
+| File | Packages | Runner/Base |
+|------|----------|-------------|
+| publish.yml | libsqlcipher-dev, patchelf | ubuntu-22.04 |
+| e2e-research-test.yml | jq | ubuntu-22.04 |
+| responsive-ui-tests-enhanced.yml | wget, gnupg, ca-certificates, fonts-liberation, etc. | ubuntu-latest |
+| Dockerfile | curl, git, build-essential, etc. | python:3.13.9-slim@sha256:... |
+
+**Rationale for NOT pinning APT packages:**
+
+1. **Version availability**: Old APT package versions are removed from Ubuntu archives after 6-12 months.
+ Pinning to `package=1.2.3-1ubuntu1` causes builds to fail when that version is removed.
+
+2. **Base image controls versions**: Docker base images are SHA-pinned, which deterministically controls
+ which APT package versions are available. The combination of `python:3.13.9-slim@sha256:326df678...`
+ and `apt-get install curl` produces the same result every time that base image is used.
+
+3. **Runner stability**: GitHub workflow runners use pinned Ubuntu versions (e.g., `ubuntu-22.04`)
+ which provide consistent package versions throughout the runner's lifecycle.
+
+4. **Version variation**: APT package version strings vary between Ubuntu releases and architectures,
+ making cross-platform pinning impractical.
+
+5. **Industry consensus**: Security experts recommend pinning the base image/runner rather than
+ individual packages. Base image pinning provides stronger guarantees with lower maintenance burden.
+
+**Mitigations in place:**
+
+- ✅ Docker base images pinned to SHA256 digests (see Docker Images section above)
+- ✅ GitHub runner versions pinned where practical (ubuntu-22.04)
+- ✅ Dependabot configured to monitor for security updates
+- ✅ Step-security/harden-runner audits all egress traffic
+- ✅ Minimal package sets installed (only what's needed)
+
### Enforcement
We have automated verification for our pinning strategy:
diff --git a/.github/workflows/responsive-ui-tests-enhanced.yml b/.github/workflows/responsive-ui-tests-enhanced.yml
index 9ea9153464..1a3a15e066 100644
--- a/.github/workflows/responsive-ui-tests-enhanced.yml
+++ b/.github/workflows/responsive-ui-tests-enhanced.yml
@@ -101,7 +101,7 @@ jobs:
working-directory: tests/ui_tests
run: |
npm ci
- npx puppeteer browsers install chrome
+ npx [email protected] browsers install chrome
- name: Set up test directories
run: |