The OpenAI Codex provider fails to perform TLS certificate or hostname verification when retrying authenticated requests after a failed TLS handshake. An attacker positioned on the network path can intercept the connection, trigger a certificate failure, and impersonate the endpoint. This allows the attacker to steal bearer tokens, read request contents, or alter responses.