golang-security
Applies Go security best practices to prevent and fix vulnerabilities like injection, crypto misuse, path traversal, and SSRF, with gosec scanning, race detection, fuzz testing, and STRIDE/DREAD threa
What it does
Security best practices and vulnerability prevention for Golang — injection (SQL, command, XSS), cryptography, path traversal, SSRF and HTTP security headers, cookies, secrets management, memory safety, PII in logs, STRIDE/DREAD threat modeling, plus `gosec` SAST, race detection, and fuzz testing. Apply when writing, reviewing, or auditing Go code for security, or when touching crypto, file or network I/O, secrets, user input, or authentication. Not for non-exploitable defensive bugs such as nil panics or slice aliasing (→ See `samber/cc-skills-golang@golang-safety` skill), dependency vulnerability scanning with govulncheck (→ See `samber/cc-skills-golang@golang-dependency-management` skill), or wiring security scanners into CI pipelines (→ See `samber/cc-skills-golang@golang-continuous-integration` skill).
Quality judgment
An exemplary skill document: the description has precise positive and negative triggers with cross-skill routing, the body provides a coherent security thinking model, severity/DREAD framework, quick-reference tables, common mistakes, and anti-patterns, all well organized with clear delegation to reference files. The only weakness is that the main file itself contains almost no inline Go code examples — everything concrete is deferred to references — so the core document alone is less actionable than it could be.