Go theorytheory 0/50 · 0%
Operations · hard

48. Security Hardening

Input validation and supply chain.

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.

Check your understanding

  1. 1. Which tool reports known vulnerabilities in dependencies?

  2. 2. Request body size should be…