Skip to content

Phase 4: endpoint and secret security - #5

Merged
XonkelX merged 12 commits into
mainfrom
story-4/endpoint-security
Aug 7, 2026
Merged

XonkelX merged 12 commits into
mainfrom
story-4/endpoint-security

Conversation

@XonkelX

@XonkelX XonkelX commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

Completes Phase 4 endpoint and secret security.

  • Enforces strict public-HTTPS endpoint URL policy
  • Adds signed challenge-response endpoint verification and re-verification after URL changes
  • Encrypts endpoint-specific signing secrets with AES-GCM
  • Adds bounded secret rotation with dual-signature grace
  • Prevents delivery to pending, paused, and disabled endpoints
  • Hardens owner sessions with signed cookies, CSRF protection, short TTLs, and logout
  • Adds fail-closed per-key and global daily ingestion quotas
  • Adds restrictive browser-origin policy, CSP, security headers, and safe error responses
  • Updates the threat model and Phase 4 documentation

Validation

  • format-check
  • lint
  • typecheck
  • unit/integration tests
  • Playwright E2E
  • build
  • cost guardrails
  • production dependency audit
  • Phase 4 security regression suite
  • secret scan

@XonkelX
XonkelX merged commit ad3fc5c into main Aug 7, 2026
1 check passed
@XonkelX
XonkelX deleted the story-4/endpoint-security branch August 7, 2026 04:56
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.

1 participant