Application Security

Secure Coding in Go

Write Go that resists attack. This course teaches the secure way to do what real Go services do: handle untrusted input, build database queries and run commands, render HTML and text, hash passwords and manage secrets, work with files and compressed or serialized data, call other services, and build HTTP handlers. Every lesson contrasts the dangerous pattern with the safe one and has a 'fix this code' exercise. It covers Go's security-relevant standard library (database/sql, os/exec, html/template vs text/template, crypto/rand, crypto/subtle, net/http) and the go-to packages (golang.org/x/crypto for bcrypt/argon2), the Go-specific pitfalls (ignored errors, nil, data races, decompression bombs, SSRF), and the tooling that catches mistakes (govulncheck, gosec, staticcheck). For Go developers who want to build securely; pairs with Secure Code Review and Web Application Security Fundamentals.

8domains / modules
23lessons
157practice questions
44flashcards

0.00 USD

Start this course →

What you'll study

Module 1 — Secure Go Foundations

Module 2 — Injection-Safe Go

Module 3 — Passwords, Crypto & Secrets

Module 4 — Secure HTTP Services

Module 5 — Files, Decoding & Outbound Requests

Module 6 — Modules & Security Tooling

Module 7 — Concurrency, Errors & Hardening

Study & Review

Practice and exam readiness

Related courses

Create a free account to preview lessons. Browse all courses.