Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/web
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fimeg 0b1b8124b0 crypto: forward-only key-path ceiling + OSV resilience + token serialization
SEC-028 -- a rotated-out server signing key must stop being trusted even when the agent cannot phone home. pubkey.go: bounded stale-cache window on public-key fetch failure; past the window (or when cache age is unknown) it fails closed instead of trusting the cached key indefinitely. Window length is operator policy (command_signing.stale_key_max_age_hours, default 168h/7d) delivered fleet-wide via GET /agents/:id/config; the [1h, 30d] clamp and the existence of the ceiling are doctrine, not knobs. verification.go: CheckKeyRotation refuses when the named key_id is not in the server active set (no primary fallback), and applies the same bounded-stale ceiling to the active-set fetch-failure path so key_id'd commands are no weaker than keyless ones. Server carries the default + 1-720h validation; web surfaces it in Security Settings.

SEC-029 -- the standalone OSV.dev client retries transient transport/5xx/429 with exponential backoff and trips a process-wide circuit breaker after a run of failures, fast-failing to 'unreachable'. Verdict semantics unchanged and still fail-closed; the resilience only stops a transient scanner blip from forcing an operator override.

GATE-004 #4 -- Consumer.ProcessToken holds a mutex so the replay-state guards are never raced by a concurrent caller. Today's single caller (the poll loop) never overlaps; this enforces the one-token-at-a-time invariant for future callers (local-API trigger, retry worker).

RAF/verification/03 and RAF/security/05 document the key-path and OSV changes. ETHOS #3, #4; forward-only doctrine.
2026-06-14 12:57:04 -04:00
..
public ui: replace stale vite.svg reference with RedFlag favicon 2026-05-22 14:20:26 -04:00
src crypto: forward-only key-path ceiling + OSV resilience + token serialization 2026-06-14 12:57:04 -04:00
.env.example refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
Dockerfile fix: README, .env.example, ErrorBoundary, client-logger, HEALTHCHECK, Docker hygiene 2026-06-08 18:23:39 -04:00
index.desktop.html feat: FEAT-002 local agent API, desktop tray spine, screenshot handler 2026-06-08 17:08:58 -04:00
index.html ui: replace stale vite.svg reference with RedFlag favicon 2026-05-22 14:20:26 -04:00
nginx.conf refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
package-lock.json web: wire FilterBar + useFilterUrl across pages 2026-06-11 17:47:39 -04:00
package.json web: wire FilterBar + useFilterUrl across pages 2026-06-11 17:47:39 -04:00
postcss.config.js refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
tailwind.config.js v0.2.1.3: fix dry-run version targeting, migration 046, helper cgroup access, UI refresh 2026-05-31 11:52:36 -04:00
tsconfig.json refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
tsconfig.node.json refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
vite.config.ts refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
vite.desktop.config.ts desktop: fix tray icon depth, entry routing, socket error UX 2026-06-12 13:19:51 -04:00
vitest.config.ts web: wire FilterBar + useFilterUrl across pages 2026-06-11 17:47:39 -04:00