Skip to content

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

Merged
austin-barrington merged 1 commit into
mainfrom
feat/security-hardening
Jul 10, 2026
Merged

feat(security): auth-gate cluster routes, enforce GRANT/REVOKE, cap decompression, redact credentials#102
austin-barrington merged 1 commit into
mainfrom
feat/security-hardening

Conversation

@austin-barrington

Copy link
Copy Markdown
Member

…ecompression, redact credentials

- Gate /internal/replicate and raft cluster routes behind auth middleware (#92, #95)
- Enforce per-database GRANT/REVOKE for non-admin users (#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)
- Replace hand-rolled base64 decoder with base64 crate (#96)
- Validate IPC segment lengths in WAL decode to prevent OOM
- Escape backslashes in backtick-quoted identifiers
- Add configurable replicate body limit with auto-resolution
- Add security integration tests for auth gating and privilege enforcement
- Update authentication, configuration, and replication docs
@austin-barrington
austin-barrington merged commit 01b4e9e into main Jul 10, 2026
4 checks passed
@austin-barrington
austin-barrington deleted the feat/security-hardening branch July 10, 2026 17:42
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