Skip to content

feat(security): auth-gate cluster routes, enforce GRANT/REVOKE, cap decompression, redact credentials - #103

Merged
austin-barrington merged 2 commits into
mainfrom
fix/beta-ops-hardening
Jul 10, 2026
Merged

feat(security): auth-gate cluster routes, enforce GRANT/REVOKE, cap decompression, redact credentials#103
austin-barrington merged 2 commits into
mainfrom
fix/beta-ops-hardening

Conversation

@austin-barrington

Copy link
Copy Markdown
Member

Security hardening for v0.8.5-beta:

…ecompression, redact credentials

Security hardening for v0.8.5-beta:

- Gate /internal/replicate and raft cluster routes behind auth middleware (#92, #95)
- Enforce per-database GRANT/REVOKE for non-admin users, fix docs that
  incorrectly said these were no-ops (#72, #77)
- Cap gzip decompressed body size to prevent decompression bombs (#93)
- Require auth on statement summary endpoint, redact passwords in ring
  buffer (#75, #76)
- Validate origin node ID on replication endpoints against cluster
  membership (#13)
- Add configurable replicate body limit with auto-resolution (#95)
- Validate IPC segment lengths in WAL decode to prevent OOM
- Escape backslashes in backtick-quoted identifiers
- Replace hand-rolled base64 decoder with base64 crate (#96)
- Use saturating_mul for precision timestamp overflow (#16)
- Add WAL writer supervision, writer_alive health signal (#94)
- Add disk space monitoring with statvfs, Prometheus gauges, and
  read-only mode (#64)
- Add CQ scheduler end-to-end validation (#63)
- Add security integration tests for auth gating and privilege enforcement
- Update authentication, configuration, and replication docs
@austin-barrington
austin-barrington merged commit 692f61e into main Jul 10, 2026
4 checks passed
@austin-barrington
austin-barrington deleted the fix/beta-ops-hardening branch July 10, 2026 20:17
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