golang-security

Scan Golang code for vulnerabilities using govulncheck and golangci-lint.

Updated May 30, 2026
One-click install
npx skills add https://github.com/ozan-fn/mqtt-capture --skill golang-security-ozan-fn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-security
Source: https://github.com/ozan-fn/mqtt-capture/tree/main/.agents/skills/golang-security
Command: npx skills add https://github.com/ozan-fn/mqtt-capture --skill golang-security-ozan-fn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires golang, govulncheck, golangci-lint, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides security best practices and vulnerability checks for Golang code, helping to prevent common security issues like injection, cryptography flaws, and memory safety issues.

Core Features & Use Cases

  • Security Best Practices: Offers guidance on security principles and patterns for Golang development.
  • Vulnerability Checks: Includes tools for static analysis and vulnerability scanning.
  • Use Case: Use this Skill when reviewing or writing Golang code to ensure security compliance and identify potential vulnerabilities.

Quick Start

Use the golang-security skill to scan your Golang project for vulnerabilities.

Frequently Asked Questions about golang-security

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

FAQPage Schema
How do I check my Golang code for security vulnerabilities?

To check Golang code for security vulnerabilities, you can perform static analysis and vulnerability scanning using govulncheck and golangci-lint to detect injection flaws and improper cryptography usage.

What are common security issues in Golang that static analysis can find?

Static analysis in Golang can find common security issues such as injection vulnerabilities, improper cryptography usage, and memory safety problems by assessing the code against established security best practices.

Do I need Golang installed to run vulnerability checks with govulncheck and golangci-lint?

Yes, you need Golang installed to run vulnerability checks, as the security assessment requires the Golang environment alongside specific tools like govulncheck and golangci-lint to perform static analysis.

What is the best way to apply security best practices when writing Golang code?

The best way to apply security best practices in Golang code is to utilize automated vulnerability checks that assess for injection and memory safety problems during your development and review process.

Can golangci-lint detect improper cryptography usage in Go projects?

Yes, golangci-lint can be configured to detect improper cryptography usage in Go projects by running static analysis checks to ensure your codebase adheres to established security principles.