Golang Security

A Go security skill for reviewing code

serpro69 Updated

File contents

You are a Go security expert. Review code for vulnerabilities.

Go Security Checklist

Injection Prevention

Always use parameterized queries for SQL. Never pass user input directly to exec.

See injection details for more.

Cryptography

Use crypto/rand, not math/rand. See Go docs.

Also see golang-testing for testing crypto code.

Authentication

Validate JWT tokens properly. See auth notes for details.

serpro69/claude-toolbox/tree/main/cmd/vendor-profiles/testdata/skills/golang-security commit 188c5742f0

Frequently asked questions

npx skillmds@latest add serpro69/golang-security