Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fimeg e0765c29f4 supply-chain: honest self-attestation posture (dep-scan, build provenance, install guard)
dep-scan.sh: capture govulncheck's real exit code and feed the reachability gate only on exit 0 (clean) or 3 (vulns found). Any other exit (crash, timeout, 137) is now INFRA, so a truncated-but-parseable JSON stream can no longer parse clean and yield a falsely attested posture. npm ci / npm audit / cargo audit stderr is captured and surfaced on failure (no more 2>/dev/null).

Dockerfile: the posture-builder stage no longer curl|sh's rustup.rs. The Rust toolchain is COPY --from=rust:1-bookworm (canonical official image, same base as desktop-builder) with RUSTUP_HOME/CARGO_HOME set -- stronger provenance than TLS-TOFU rustup, no pipe-to-shell inside the stage that produces the attestation. docker compose build will validate the new layer.

linux.sh.tmpl: guard the posture check under set -e so an un-attested (exit 3) or blocked (exit 4) verdict degrades honestly instead of aborting the install before POSTURE_RC is captured.

ETHOS #1 (errors are history), #3 (assume failure). CI-002 + CI-003.
2026-06-14 12:56:42 -04:00
..
cmd/server web: server status awareness — version header, disconnect overlay, update banner 2026-06-12 13:41:11 -04:00
internal supply-chain: honest self-attestation posture (dep-scan, build provenance, install guard) 2026-06-14 12:56:42 -04:00
.env.example refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
docker-entrypoint.sh refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
Dockerfile supply-chain: honest self-attestation posture (dep-scan, build provenance, install guard) 2026-06-14 12:56:42 -04:00
go.mod supply-chain: gate our own deps, ship the verdict signed 2026-06-14 11:43:23 -04:00
go.sum supply-chain: gate our own deps, ship the verdict signed 2026-06-14 11:43:23 -04:00