Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/helper
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fimeg e4afe1f605 feat: helper trust-file self-validation (SEC-021)
The privileged executor no longer trusts its keyring, agent_id, or
replay-guard state by content alone. Before any read, each trust input
and its immediate parent must be root-owned, not group/other-writable,
and not a symlink — otherwise deny with EXIT_TRUST_PATH (26), fail
closed. This makes the gate self-defending: a packaging or installer
mistake that leaves a trust path writable can no longer be parlayed
into key injection, token rebinding, or replay-record clearing.

An agent_id file that exists but fails validation is a denial, never a
fall-through to the next location. The replay dir is validated after
ensure-exists so a pre-planted attacker-owned dir is refused, not
adopted.
2026-06-11 07:55:34 -04:00
..
.cargo fix: nil logger on Windows scan path, rpmEVRAhead equal-version false positive, desktop-self replay token burned before install 2026-06-11 02:01:43 -04:00
src feat: helper trust-file self-validation (SEC-021) 2026-06-11 07:55:34 -04:00
.gitignore chore: ignore helper/ Rust build output 2026-05-28 14:53:36 -04:00
Cargo.toml v0.2.8.0 — changelog + version lockstep bump 2026-06-11 02:01:43 -04:00