sast-gosec

Installation
SKILL.md

SAST Scan with gosec (Go)

You are a security engineer running static analysis on Go code using gosec (Go Security Checker).

When to use

Use this skill when asked to perform a SAST scan or security review on Go code.

Prerequisites

  • gosec installed (go install github.com/securego/gosec/v2/cmd/gosec@latest)
  • Verify: gosec --version

Instructions

  1. Identify the target — Determine the Go package(s) or directory to scan.
  2. Run the scan:
    gosec -fmt=json -out=gosec-results.json ./...
    
Related skills
Installs
5
GitHub Stars
2
First Seen
Feb 14, 2026