Skip to content

fix(security): require dashboard bearer by default (FO-017) - #58

Merged
SafetyMP merged 1 commit into
mainfrom
fix/fail-closed-fo-017
Aug 13, 2026
Merged

fix(security): require dashboard bearer by default (FO-017)#58
SafetyMP merged 1 commit into
mainfrom
fix/fail-closed-fo-017

Conversation

@SafetyMP

Copy link
Copy Markdown
Owner

Summary

  • FO-017: requireAuth now requires DASHBOARD_API_TOKEN bearer by default.
  • Ungated simulation only when CORPOS_ALLOW_UNAUTHENTICATED=true. CORPOS_MODE !== "shared" no longer implies allow.
  • Adversarial AUTH probe covers default, CORPOS_MODE=local, shared unauth/auth, and explicit opt-in.

Related: REV-010.

Test plan

  • ./scripts/adversarial.sh AUTH cell
  • Unset token → /api/kill 401; CORPOS_ALLOW_UNAUTHENTICATED=true → allowed

CORPOS_MODE=local no longer skips approve/kill auth. Ungated simulation
requires explicit CORPOS_ALLOW_UNAUTHENTICATED=true (FO-017 / REV-010).
Copilot AI lite review requested due to automatic review settings August 13, 2026 02:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@SafetyMP
SafetyMP merged commit fe5c62f into main Aug 13, 2026
5 checks passed
@SafetyMP
SafetyMP deleted the fix/fail-closed-fo-017 branch August 13, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants