LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

golang-security

Security best practices and vulnerability prevention for Golang. Covers injection (SQL, command, XSS), cryptography, filesystem safety, network security, cookies, secrets management, memory safety, and logging. Apply when writing, reviewing, or auditing Go code for security, or when working on any risky code involving crypto, I/O, secrets management, user input handling, or authentication. Includes configuration of security tools.

1,714stars111forksUpdated 5/18/2026
SecurityCode Review#security#vulnerability-prevention#golang#cryptography#secure-coding#code-review

Security Assessment

Critical Risk(25/100)

Detected risks:

Remote Code Execution([references/injection.md] Exec()
Secret Exposure([references/secrets.md] AWS_ACCESS_KEY, [references/secrets.md] PASSWORD =, [references/secrets.md] SECRET =)
Sensitive File Access([references/secrets.md] .env, [references/filesystem.md] /etc/passwd)
Security Score25/100

About golang-security

The golang-security skill provides comprehensive guidance on securing Go (Golang) applications, focusing on best practices and vulnerability prevention. It addresses critical security areas such as injection attacks (SQL, command, XSS), cryptography, filesystem safety, network security, cookie management, secrets handling, memory safety, and logging. The skill is designed to help developers write, review, or audit Go code with a security-first mindset, emphasizing the principle of defense in depth. By guiding users through threat modeling, input validation, and secure defaults, it reduces the likelihood of vulnerabilities and ensures that risky code areas are properly assessed.

FAQ

How do I use golang-security when reviewing a pull request?

You can use the Review mode, which starts from the changed files and traces call sites and data flows into adjacent code. This helps identify vulnerabilities that may not appear directly in the diff but could be triggered by it.

Is golang-security compatible with my Go project?

Yes, it is designed for projects using Golang and is compatible with AI coding agents like Claude Code. It requires Go and the govulncheck tool to perform certain security checks.

What limitations or prerequisites should I be aware of?

The skill assumes access to Go development tools and optionally govulncheck for vulnerability scanning. It is intended for users familiar with Go coding practices, security auditing, and handling sensitive operations.

Can I use golang-security to write new secure code?

Yes, the Coding mode guides users in writing new code or fixing vulnerabilities. It can also run background agents to search for common vulnerability patterns while implementing features.

Does the skill provide a severity scoring system for vulnerabilities?

Yes, it uses DREAD-based severity levels ranging from Low to Critical, helping prioritize fixes and focus on the most impactful security issues.

All Files

14 files
references/checklist.md3.9 KB
View
references/network.md5.5 KB
View
references/cryptography.md9.2 KB
View
references/third-party.md4.6 KB
View
SKILL.md12.4 KB
View
references/injection.md6.3 KB
View
references/architecture.md9.8 KB
View
references/memory-safety.md4.6 KB
View
evals/evals.json48.9 KB
View
references/logging.md3.5 KB
View
references/cookies.md4.2 KB
View
references/secrets.md4.2 KB
View
references/filesystem.md5.2 KB
View
references/threat-modeling.md7.6 KB
View

Install golang-security

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

samber/cc-skills-golang

Related Skills

short-form-video

14

multi-asset-morning-briefing

7,907

content-strategy

2,901

doherty-threshold

2,901