Code RoomSSL certificate verification disabled
HardPrep Room Coding #4280

SSL certificate verification disabled

Vibe & agenticSecuritySenior~18 min

Asked to 'fix the connection errors' to an upstream payments API, an AI produced this Python client. The errors went away. Explain what it actually did, what attack it enables, and the correct fix.

Implement
review_tls_settings(settings: list[str]) → list[str]
Examples
in[["check_hostname=false","verify_mode=CERT_NONE","ca_bundle=/etc/ssl/certs/ca.pem","min_tls_version=1.2"]]out["cert_verification_disabled","hostname_check_disabled"]
in[["check_hostname=true","verify_mode=CERT_REQUIRED","ca_bundle=/etc/ssl/certs/ca.pem","min_tls_version=1.3"]]out[]
in[["min_tls_version=1.0","ca_bundle="]]out["missing_ca_bundle","weak_tls_version"]
What a strong answer looks like

Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it (tests, edge cases, reading critically), and how you’d re-prompt or decompose to get it right.

0:00 of about 18 min

Vibe & agentic: describe the solution in plain language (or narrate it) and the coach grades your approach.

Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.