Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/scripts
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
..
bump-version.sh desktop: drop tauri.conf.json version field, inherit from the crate 2026-06-14 11:48:42 -04:00
dep-scan.sh supply-chain: honest self-attestation posture (dep-scan, build provenance, install guard) 2026-06-14 12:56:42 -04:00
generate-keypair.go feat(security): A-1 Ed25519 key rotation + A-2 replay attack fixes 2026-03-28 21:25:47 -04:00
govulncheck-gate.py supply-chain: gate our own deps, ship the verdict signed 2026-06-14 11:43:23 -04:00
provision-standalone-authority.sh feat: standalone local authority — helper mint mode + local approval flow 2026-06-10 09:04:06 -04:00
release.sh ci: Gitea Actions pipeline — release gate, embedded UI build, guided release script 2026-06-11 02:01:42 -04:00
update-action-pins.sh ci: Gitea Actions pipeline — release gate, embedded UI build, guided release script 2026-06-11 02:01:42 -04:00