Validate and bound all external input, set server timeouts and body size limits, and use context deadlines for outbound calls. Run govulncheck against the module graph, pin dependencies, and keep container images minimal and non-root.
← Go theorytheory 0/50 · 0%
Operations · hard
48. Security Hardening
Input validation and supply chain.
Check your understanding
1. Which tool reports known vulnerabilities in dependencies?
2. Request body size should be…