SlackBuilds Repository

15.0 > Development > gosec (2.30.0)

Gosec checks Go source code for common security problems, including
unsafe cryptography, injection risks, and insecure file permissions.
It supports configurable rules and reports in JSON, SARIF, and other
formats.

The SlackBuild compiles offline using the supplied vendor archive.
Analyzed projects must have their own dependencies available separately.

Run "gosec ./..." inside a Go module. Use "gosec -help" for rules and
options, or "gosec -fmt=json -out=results.json ./..." for a JSON report.
Findings normally produce a nonzero exit status. The -no-fail option
allows a successful exit even when findings are reported.

Normal security scanning does not require an AI service. Optional fix
suggestions contact an external provider when configured and can send
source code or findings to that service. Do not configure these options
for confidential code without reviewing the provider and data policy.

This requires: google-go-lang

Maintained by: Moletastic
Keywords: sast,golang,security,static-analysis
ChangeLog: gosec

Homepage:
https://github.com/securego/gosec

Source Downloads:
gosec-2.30.0.tar.gz (afb5c16a8051444fcc7ea7fb0dd0161b)
gosec-2.30.0-vendor.tar.gz (371c52bca6eb4e6190a98ca6b9a1ab9a)

Download SlackBuild:
gosec.tar.gz
gosec.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
• README
• gosec.SlackBuild
• gosec.info
• slack-desc

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds