Watch
1
0
Fork
You've already forked RedFlag
0

docs: bind the supply-chain claims to the helper

This commit is contained in:
Fimeg 2026-08-25 08:26:05 -04:00
commit c3037655cd
10 changed files with 194 additions and 128 deletions

View file

@ -67,7 +67,7 @@ agent/
| Path | Ecosystems | Mechanism |
|------|-----------|-----------|
| Capability gate | dnf, apt | Token fetched in loop → `consumer.ProcessToken``sudo systemd-run --pipe``redflag-helper` verifies + executes. Agent never runs the install command. |
| Capability gate | dnf, apt | Token fetched in loop → `consumer.ProcessToken``sudo systemd-run --wait` with token/result files`redflag-helper` verifies + executes. Agent never runs the install command. |
| Legacy command | docker, winget, windows_update | Signed command → handler → installer mutation method (type-asserted). |
Discovery (scan, dry-run, hash-resolve) always runs unprivileged through `DiscoveryRunner`. Sudoers grants only discovery commands plus the single helper invocation line — zero sudo otherwise.
@ -101,4 +101,4 @@ Discovery (scan, dry-run, hash-resolve) always runs unprivileged through `Discov
---
*Last reviewed: 2026-06-14*
*Last reviewed: 2026-08-25*