What problem does it solve?
This Skill helps you find, prevent, and fix security flaws in Go applications before they ship, especially in code paths that handle user input, authentication, encryption, files, network calls, and logs.
Core Features & Use Cases
- Security Review Guidance: Audit Go code for injection, SSRF, XSS, path traversal, unsafe deserialization, weak crypto, secret leakage, and race conditions.
- Secure Implementation Patterns: Write safer handlers, clients, middleware, and storage code using vetted Go primitives and defense-in-depth defaults.
- Operational Hardening: Apply best practices for JWT validation, password hashing, cookie flags, rate limiting, timeout configuration, security headers, and observability hygiene.
- Use Case: Review a new API endpoint that accepts external input, traces data flow through handlers and services, and returns prioritized remediation steps with clear security rationale.
Quick Start
Use the golang-security skill to review this Go code for vulnerabilities and rewrite any risky parts using secure, production-ready patterns.