What problem does it solve?
It prevents common and high-impact security flaws in Go applications by providing practical, defense-in-depth guidance for validating inputs, using safe cryptography, securing filesystem and network access, handling cookies/secrets correctly, and writing secure logs.
Core Features & Use Cases
- Go security audit workflow: Review or audit Go code using a trust-boundary-first approach, STRIDE threat modeling, and DREAD-based severity prioritization.
- Vulnerability prevention patterns: Covers injection risks (SQL/command/XSS/SSRF), cryptographic misuse (AES-GCM/nonce safety, TLS rules), filesystem safety (os.Root, ZipSlip, zip bomb limits), and safer error/log handling.
- Operational verification guidance: Recommends concrete tooling and test strategies such as govulncheck, security linters, and go test -race.
Quick Start
Use the golang-security skill to audit a Go change set for injection, auth flaws, unsafe crypto, path traversal, insecure cookies, secrets handling, and sensitive logging by following its review checklist.