Skip to content

fix(auth): harden sensitive authenticated routes - #3

Merged
CubityFirst merged 2 commits into
mainfrom
codex/auth-hardening
Jul 28, 2026
Merged

fix(auth): harden sensitive authenticated routes#3
CubityFirst merged 2 commits into
mainfrom
codex/auth-hardening

Conversation

@CubityFirst

Copy link
Copy Markdown
Owner

Summary

  • add per-user rate limiting to sensitive authenticated routes and direct-IP limiting to OIDC userinfo
  • require current-password reauthentication for account deletion, including the settings UI and 2FA flow
  • re-check account moderation before consuming force-change-password tokens
  • add fail-closed regression coverage for rate limiting, moderation, and OAuth response semantics

Validation

  • pnpm --filter auth test — 47 files / 371 tests passed
  • pnpm --filter auth typecheck — passed
  • pnpm --filter @annex/frontend test — 67 files / 822 tests passed
  • pnpm --filter @annex/frontend build — passed (existing chunk-size warnings only)
  • pnpm --filter cubedocs-e2e exec playwright test tests/2fa.spec.ts --list — 28 tests discovered successfully; live E2E execution requires the development stack

@CubityFirst
CubityFirst merged commit 9060b6f into main Jul 28, 2026
1 check passed
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