clusev/docs/superpowers/plans
boban 57a3dd51b6 feat(security): signed confirm-action tokens + airtight backup-code reveal
Two hardening features completed in parallel (each with its own spec + tests),
sharing call sites (TwoFactorSetup, WebauthnKeys, routes) so committed together:

- ConfirmAction token hardening: destructive confirm flows now carry a server-issued,
  single-use, signed token (App\Support\Confirm\ConfirmToken) instead of trusting a
  client-mutable event/params/auditTarget. Every #[On] apply handler consumes + validates
  the token (forged/replayed/direct-bypass calls no-op). Server-scoped per action; closes
  the codebase-wide confirm-bypass + audit-forgery vector across Security, Sessions, Users,
  WebauthnKeys, Servers\Show, Services, System, Files.
- Backup-code airtight reveal: codes are revealed via a transient channel, not a persisted
  Livewire property, so a captured/replayed snapshot can't re-render them; the recovery
  download is grant-gated.

Full suite green (162).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 18:35:33 +02:00
..
2026-06-14-account-recovery.md docs(plan): account recovery implementation plan 2026-06-14 16:47:12 +02:00
2026-06-14-optional-pluggable-2fa.md docs: implementation plan for optional pluggable 2FA 2026-06-14 20:20:37 +02:00
2026-06-14-server-details-hardening-polish.md docs(plan): server-details UX + hardening polish implementation plan 2026-06-14 10:17:28 +02:00
2026-06-14-webauthn-yubikey.md docs(plan): WebAuthn/YubiKey 2nd-factor implementation plan 2026-06-14 18:16:10 +02:00
2026-06-15-recovery-codes-airtight-reveal.md feat(security): signed confirm-action tokens + airtight backup-code reveal 2026-06-15 18:35:33 +02:00