go-security-audit

Audit Go applications for security vulnerabilities in input handling, auth, and TLS.

64|9|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/eduardo-sl/go-agent-skills --skill go-security-audit-eduardo-sl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-security-audit
Source: https://github.com/eduardo-sl/go-agent-skills/tree/main/skills/%28safety%29/go-security-audit
Command: npx skills add https://github.com/eduardo-sl/go-agent-skills --skill go-security-audit-eduardo-sl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured, actionable security review checklist to find and remediate common vulnerabilities in Go applications, ensuring input handling, auth, secrets, and transport security are implemented correctly.

Core Features & Use Cases

  • Input validation guidance: boundary validation, size limits, sanitization recommendations, and URL/email checks.
  • Injection and data safety: enforces parameterized queries, safe dynamic query patterns, and SQL injection avoidance.
  • Auth, secrets, and TLS: JWT validation rules, password handling best practices, secrets management policies, and secure TLS configuration.
  • Operational safeguards: HTTP security headers, rate limiting suggestions, logging redaction, and CI scanning recommendations for govulncheck and gitleaks.
  • Use Case: Use during PR review or security hardening to audit web handlers, auth flows, database access layers, and deployment TLS settings.

Quick Start

Ask the assistant to review the repository for input validation issues, SQL injection risks, authentication/authorization weaknesses, secret leaks, TLS misconfiguration, and missing HTTP security headers.

Frequently Asked Questions about go-security-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a Go web service for SQL injection and input validation vulnerabilities?

A Go security audit identifies input validation vulnerabilities by checking boundary validation, size limits, and sanitization. It enforces parameterized SQL queries to prevent injection risks and ensures data safety across web handlers and database layers.

What security headers and TLS configurations should I check during a Go code review?

A Go code review checks for secure TLS settings and missing HTTP security headers to harden services. The audit verifies transport security configuration and ensures necessary headers are present to protect against common web risks.

How do I check my Go microservices for secret leaks and JWT validation issues?

To check Go microservices for secret leaks and JWT validation issues, review authentication flows and secrets management. The audit identifies exposed secrets, verifies JWT validation rules, and ensures password handling best practices are implemented.

Can I use this security audit for Go libraries and microservices during a pull request review?

Yes, this security audit applies to Go web services, microservices, and libraries during pull request review. It evaluates web handlers, auth flows, and database access layers to find and remediate common vulnerabilities.

What are the best CI scanning tools to detect vulnerabilities and secret leaks in Go applications?

For Go applications, govulncheck and gitleaks are recommended CI scanning tools. They detect known vulnerabilities and secret leaks, complementing manual code reviews by automating security checks across the repository.

How do I implement rate limiting and logging redaction in a Go application?

To implement rate limiting and logging redaction in a Go application, apply operational safeguards during a security hardening audit. The review provides rate limiting suggestions and recommends redaction practices to prevent sensitive data exposure in logs.