Golang security checker. Inspects source code for security problems by scanning the Go AST.
Gosec can be configured to only run a subset of rules, to exclude certain file paths, and produce reports in different formats. By default all rules will be run against the supplied input files. To recursively scan from the current directory you can supply ‚./…‘ as the input argument.