← All repos

gosec

Go security checker

golangsecuritysecurity-automationsecurity-toolsstatic-analysisstatic-code-analysis
Browse cluster: Static Analysis & Code Quality
1,423commits
184contributors
5languages

Tech stack & purpose

gosec is a Go static analysis tool that inspects source code for security vulnerabilities by scanning the Go Abstract Syntax Tree (AST) and Static Single Assignment (SSA) form. The project identifies security issues across multiple categories, including general secure coding problems, injection risks, file handling vulnerabilities, cryptographic weaknesses, blocklisted imports, Go-specific correctness checks, and taint analysis for tracking data flow in attacks like SQL injection and command injection. Built in Go, gosec can be run as a command-line tool, integrated as a GitHub Action, or used with other analysis frameworks that support the standard Go analysis interface. The project is maintained by securego and licensed under the Apache License 2.0.

Community & reference links

Languages

Go
97.9%
Shell
1.0%
HTML
0.9%
Makefile
0.2%
Dockerfile
0.0%

Contributors (top 30 of 184)