Repository navigation
Description
Problem
The final Beta security review (#72) found that the release image's complete dependency inventory is not checked for known vulnerabilities. Existing JavaScript auditing, PR dependency review, Dependabot, CodeQL, pinned sources, SBOMs and provenance provide useful controls, but do not cover this release gate.
Reviewed source: ca99c6c53410b5710d159698e5b1a82a2176fcf1 on main.
Evidence
.github/workflows/bun-audit.yml:47runsbun audit --audit-level=moderate, with a weekly schedule. This covers the JavaScript dependency graph..github/workflows/dependency-review.yml:22reviews dependency changes in PRs. Cargo Dependabot is configured, but this does not establish a complete recurring audit of the deployed controller graph..github/workflows/ci.yml:235-245formats, lints, tests and checks Rust without a RustSec/Cargo advisory audit.docker/production/Dockerfile:54-67builds a custom Caddy binary with a pinned community Go module. Its complete transitive build graph is not represented by a checked-in Go manifest for PR dependency review.- The production image also contains CrowdSec, Valkey, the PostgreSQL base and installed OS packages (
docker/production/Dockerfile:79,98,100,114). .github/workflows/release-pipeline.yml:183-194builds and publishes the image with SBOM/provenance, but no vulnerability policy evaluates that inventory before publication. The development image has the same gap.- Inspection of the workflow and release scripts found no Cargo advisory audit, Go vulnerability check or equivalent complete runtime image vulnerability gate.
This is a confirmed coverage gap, not evidence that any current dependency is vulnerable. A newly disclosed advisory affecting an unchanged pinned Rust, Go or OS dependency can leave source tests, JavaScript auditing and SBOM generation green while an affected release is published.
Acceptance criteria
- Audit the complete locked Cargo graph against current advisory data on relevant changes and on a recurring schedule.
- Check the actual custom Caddy Go module graph/binary, including community module dependencies; assess and record reachable findings.
- Scan the complete immutable production image, including copied binaries and OS packages, before the release is made available to users.
- Re-scan supported deployed/released images periodically so newly disclosed advisories are detected without requiring a dependency-changing PR.
- Bind every report to the exact source revision and image digest; fail the release gate according to an explicit severity policy. Any exception must have a reason, owner and expiry.
- Validate both a failing synthetic/advisory fixture and a passing build; preserve existing least-privilege workflow and pinned-tool conventions.
Priority and release impact
P2 security hardening. This work, or a documented equivalent exact-candidate assessment, is required to satisfy the dependency/container evidence criterion in #72 before #75 closes. Do not infer a clean dependency inventory from existing green checks alone.
References: RustSec, Go vulnerability management, Docker SBOM attestations.
Activity
RentnerKev commentedon Oct 6, 2026
Implemented by #190, with available runtime corrections in #192. The complete locked Cargo graph, exact production OCI candidate, actual copied Go binaries and original community-module version, and deployed Alpha 6/dev image paths have been exercised. Scanner/database errors remain failures; clean and adverse evidence are tested separately. Release, dev and preview publication require a fresh approved exact-source/digest assessment before registry access.
The complete assessments expose unresolved upstream findings, tracked privately under the broader #72 review. They still block Beta publication. Binary symbol fallback is retained as conservative evidence and is not treated as proof of application reachability or non-exposure.