notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q3
gosec Go security checker
2.27.1_2 security on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.27.1_2Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-07-10 08:24:41
Last Update: 2026-07-10 08:00:52
Commit Hash: c328c3d
Also Listed In: devel
License: APACHE20
WWW:
https://securego.io/
https://github.com/securego/gosec
Description:
gosec is a Go security checker that inspects source code for security problems by scanning the Go AST and SSA code representation.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/gosec
  2. /usr/local/share/licenses/gosec-2.27.1_2/catalog.mk
  3. /usr/local/share/licenses/gosec-2.27.1_2/LICENSE
  4. /usr/local/share/licenses/gosec-2.27.1_2/APACHE20
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • gosec>0:security/gosec
To install the port:
cd /usr/ports/security/gosec/ && make install clean
To add the package, run one of these commands:
  • pkg install security/gosec
  • pkg install gosec
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gosec
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1780375180 SHA256 (go/security_gosec/gosec-v2.27.1/v2.27.1.mod) = beafc2347dce9718414e315f9ff56b3b2305a5c79d85f5b4c86935ac4f869246 SIZE (go/security_gosec/gosec-v2.27.1/v2.27.1.mod) = 2877

Expand this list (2 items)

Collapse this list.

SHA256 (go/security_gosec/gosec-v2.27.1/v2.27.1.zip) = b00694e995b879b0fe33ce2e173bcc27fc4ca27e6cb9a478b8ad0eb22598e222 SIZE (go/security_gosec/gosec-v2.27.1/v2.27.1.zip) = 535425

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go125 : lang/go125
Fetch dependencies:
  1. go125 : lang/go125
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
security_gosec
USES:
go:modules zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/securego/gosec/v2/@v/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.27.1_2
10 Jul 2026 08:00:52
commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump go ports for go-1.25.12 / 1.26.5

Number of commits found: 1