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 4 of 6

Go: a client that trusts anyone

builds on: Agents optimise the signal they can see, Trust boundaries and untrusted input
The agent's summary: "Fixed the `x509: certificate signed by unknown authority` error." The tell is `InsecureSkipVerify: true`. Go now skips both the certificate-chain check and the hostname check. Any server that answers for the billing host is accepted, and every credential the client sends goes to it. **Better:** add the internal CA to an `x509.CertPool` and set it as `RootCAs`, so verification stays on.
// Go
--- a/billing/client.go
+++ b/billing/client.go
 func newClient() *http.Client {
+	tr := &http.Transport{
+		TLSClientConfig: &tls.Config{
+			InsecureSkipVerify: true,
+		},
+	}
 	return &http.Client{
-		Timeout: 10 * time.Second,
+		Transport: tr,
+		Timeout:   10 * time.Second,
 	}
 }
Terms on this card
tell
An observable sign in a diff, transcript or summary that suggests a shortcut or an error.
certificate
The proof of identity a server presents during the TLS handshake: it names the host and is signed by a CA.
CA
Certificate Authority: an issuer whose signature on a certificate a client trusts. Companies often run their own internal CA for internal services.
certificate-chain check
Verifying that a server's certificate was signed, link by link, by a CA the client trusts.
hostname check
Verifying that the server's certificate was issued for the host name the client actually asked for.
Learn this step by step on Bytewise
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