-
Notifications
You must be signed in to change notification settings - Fork 0
Security Guidelines
github-actions[bot] edited this page Jul 11, 2026
·
3 revisions
This page summarizes secure configuration practices for applications that use
Elio. It complements the vulnerability reporting policy in SECURITY.md.
- Use a supported Elio release line.
- Track security updates for OpenSSL, nghttp2, liburing, RDMA-Core, CUDA, and other optional dependencies enabled in your build.
- Rebuild and retest applications after dependency updates.
- Keep
verify_certificateenabled for outbound HTTPS, WebSocket, and SSE clients unless a test environment explicitly requires otherwise. - Load trusted CA paths before connecting to production services.
- Configure ALPN when using HTTP/2.
- Treat private keys and certificates as application secrets; do not embed them in source code or examples.
- Set request, response, header, and RPC frame limits to match the application protocol instead of relying only on defaults.
- Use read/connect timeouts for network-facing clients and servers.
- Close or cancel slow peer operations when they exceed application policy.
- Validate application-level message contents after Elio parses transport frames.
- Reject unexpected HTTP methods, paths, headers, RPC method IDs, and payload sizes before invoking privileged business logic.
- Treat data from peers as untrusted even when TLS is enabled.
- Run tests with sanitizers in development and CI for code that handles untrusted input.
- Monitor logs for repeated parse failures, connection resets, oversized payloads, and timeout errors.
- Use least-privilege service accounts and filesystem permissions for applications that bind sockets or load certificates.
- Review exposed TCP, Unix-domain socket, RDMA, WebSocket, SSE, and RPC endpoints before deploying.
Report suspected vulnerabilities privately through the process in
SECURITY.md.