
Go security audit
Audits Go code for injection, auth, secrets, crypto and TLS flaws, reporting findings
Go security audit is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 90
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Go security audit
This skill guides an agent through a read-only security review of a Go codebase. It covers input validation, SQL and command injection, SSRF, path traversal, authentication and authorization, secret handling, cryptography, TLS, headers, cookies and CSRF, and it orders findings by severity with file and line references and a suggested fix. It offers three modes: a targeted check of one concern, a review of changed lines, and a full sweep that can split the work into independent passes.
The workflow starts by running govulncheck, gosec and go vet when they are installed, then combines their output with manual review of the logic that the scanners miss. Each suspicious sink is traced back to an entry point, and findings are rated as blockers, warnings or suggestions depending on whether the input is attacker-controlled. Detailed reference notes on injection, auth and transport, threat modelling and crypto are loaded only when needed.
The skill expects a Go project with the Go toolchain available. The scanners govulncheck, gosec and gitleaks are optional. Dependency CVE checks and concurrency review are handled by separate skills.
When your agent uses it
Security review for Go applications: input validation, SQL and command injection, SSRF, path traversal, auth, secrets, cryptography, TLS, CSRF and cookies, OWASP Top 10. Use when performing security reviews, checking for vulnerabilities, hardening Go services, or reviewing auth implementations. Trigger examples: "security review", "check vulnerabilities", "OWASP", "SQL injection", "input validation", "secrets management", "auth review". Not for: dependency CVEs (go-dependency-audit), concurrency safety (go-concurrency-review).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Glob, Grep, Bash(go:*), Bash(gofmt:*), Bash(govulncheck:*), Bash(gosec:*), Bash(gitleaks:*)(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 5 files (29 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Download the skill folder from https://github.com/eduardo-sl/go-agent-skills and copy it into your agent's skills folder.
What it does
- Injection review
- Checks SQL, command, SSRF, path traversal, archive and template injection paths from entry point to sink.
- Auth and session checks
- Reviews password hashing, JWT validation, authorization middleware and per-user ownership checks.
- Secrets handling
- Looks for hardcoded credentials, committed keys and secrets written to logs.
- Cryptography audit
- Flags weak randomness, non-constant-time comparisons, unsafe ciphers and outdated hashes.
- TLS and headers
- Reviews TLS settings, security headers, cookie flags, CSRF protection and CORS policy.
- Severity-ranked report
- Produces findings with file and line, the exploit path and a fix, sorted by severity.
Good for
- Review a Go HTTP service for SQL injection before a release
- Check an authentication middleware for JWT and authorization flaws
- Scan a Go repository for hardcoded secrets and leaked keys
- Audit a Go API for SSRF and path traversal risks
- Run a full OWASP-style security review of a Go backend
Go security audit FAQ
Does Go security audit change my code?
No. It is read-only and reports findings without editing code.
Which tools does Go security audit need?
The Go toolchain is required. govulncheck, gosec and gitleaks are optional, and the skill notes any that are missing and continues.
When does Go security audit trigger?
It triggers on requests such as security review, OWASP, SQL injection, input validation, secrets management or auth review. Dependency CVE checks and concurrency safety are left to other skills.
What does Go security audit check for auth?
It covers password hashing with bcrypt or argon2id, constant-time comparisons, JWT signature, expiry, issuer and audience checks, and per-request authorization including ownership.
Does Go security audit run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Go security audit?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Go security audit?
The closest alternatives to Go security audit are Security review, Go dependency audit, Security review, Source code scanning and Security review edho ferdian.
Where this comes from
- Description: from the skill's own SKILL.md.
More from eduardo-sl/go-agent-skills

Guides Go agents in designing HTTP REST APIs, handlers, middleware and shutdown
- Open source
- 90 GitHub stars
- Developer tools

Reviews Go project structure, dependency direction and module boundaries
- Open source
- 90 GitHub stars
- Developer tools

Guides an AI agent to build Go command-line tools with clean flags, streams and exit codes
- Open source
- 90 GitHub stars
- Developer tools

Guides Go code toward constructor injection, explicit wiring and no global state
- Open source
- 90 GitHub stars
- Developer tools

Guides Go code toward idiomatic design patterns like functional options and factories
- Open source
- 90 GitHub stars
- Developer tools

Guides building Go GraphQL servers with gqlgen, covering N+1 batching and query limits
- Open source
- 90 GitHub stars
- Developer tools




