You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add production hardening for security and reliability
Security Fixes:
- Add 10mb JSON body size limit to prevent DoS attacks
- Validate EVM_ACCOUNT_INDEX to prevent NaN injection
- Add HTTP server timeouts (120s request, 65s keepalive)
Reliability Fixes:
- Implement session cleanup (30min timeout, check every 5min)
- Update session timestamps on activity to prevent premature cleanup
- Prevent memory leaks from abandoned sessions
These changes ensure the server is production-ready and resilient.
0 commit comments