Misconfiguration is now the #2 risk: default credentials, verbose errors, open storage buckets, unnecessary services, missing hardening. Hardening checklist Disable debug mode, directory listing and stack traces in production. Remove default accounts, sample apps and unused endpoints (/actuator, /phpinfo.php). Least-privilege cloud IAM; block public access on storage buckets by default. Same hardened config in every environment, built from code (IaC) and scanned (Checkov, tfsec, ScoutSuite). Security headers Header Value Strict-Transport-Security max-age=63072000; includeSubDomains; preload Content-Security-Policy default-src 'self'; object-src 'none'; frame-ancestors 'none' X-Content-Type-Options nosniff Referrer-Policy strict-origin-when-cross-origin Permissions-Policy camera=()…