Work effectively with AI coding agents. Understand them as language models running in a tool loop with limited context, which is why they guess, game the visible signal and report confidently. Recognise the shortcut and correctness tells in their code across Python, TypeScript/JavaScript, Rust, Java and Go, and know the damage each one does later. Verify changes instead of trusting them, review diffs fast for quality and security, judge when work is truly finished, and choose, design and steer tasks so agents can finish them well.
Security checks switched off to make it work
card 1 of 6
One argument, and the SSL error is gone
builds on: Agents optimise the signal they can see, Trust boundaries and untrusted input
You asked the agent to get the report script talking to the internal metrics API. It failed with `SSLError: CERTIFICATE_VERIFY_FAILED`. Two minutes later the agent reports: "Fixed, the script runs now." The diff adds one argument: `requests.get(url, verify=False)`. The error really is gone. What did you just give away, and what would a real fix have looked like?
Terms on this card
- SSL
- The older name for TLS. It survives in error names such as Python's SSLError.
- the agent
- The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
- diff
- The set of line changes between two versions of the code: removed lines start with '-', added lines with '+'.
- API
- Application programming interface: here, the server endpoint the page calls for data.
- verify=False
- Argument to Python's requests library that turns off TLS certificate checking for that request.
Lesson goal: Recognise protections turned off to get past an error: `verify=False`, Go's `InsecureSkipVerify`, Node's `rejectUnauthorized: false`, `Access-Control-Allow-Origin: *`, disabled CSRF protection and `chmod 777`. Explain the attack each one opens up. ·
the whole lesson