gosec
Find security issues in Go source code
Changes since last week
no change.
Known vulnerabilities (3)
Vulnerabilities are known advisories that Grype matches against the dependencies declared in each project's release source (manifests and lockfiles, including development and build dependencies). A match does not mean the tool is exploitable: the vulnerable code may be unused, test-only, or not shipped in the released binary. OSV: also reported by OSV-Scanner. Released binary: for Go tools, whether govulncheck found the vulnerable code in the shipped Linux binary. KEV: listed in the CISA Known Exploited Vulnerabilities catalog. EPSS: FIRST's estimated probability of exploitation in the next 30 days. Both describe the vulnerability in general, not its exploitability through this tool; a match in a workflow file refers to a GitHub Action, not to shipped code. Select an advisory for every catalog tool it matches. If a match is wrong or does not apply, use Dispute; accepted disputes are annotated here and listed on the corrections page, and the match stays visible.
| Severity | Advisory | Package | Version | Fixed in | OSV | Released binary | KEV | EPSS | Declared in | Dispute |
|---|---|---|---|---|---|---|---|---|---|---|
| Unknown | GO-2026-5932 source | golang.org/x/cryptogolang | v0.58.0 | no fix listed | ✓ | module in binary | no | — | go.mod | Dispute |
| Unknown | GO-2026-6860 sourceCVE-2026-78661 | golang.org/x/netgolang | v0.61.0 | 0.62.0 | ✓ | module in binary | no | 0.2% | go.mod | Dispute |
| Unknown | GO-2026-6866 sourceCVE-2026-97045 | golang.org/x/netgolang | v0.61.0 | 0.62.0 | ✓ | module in binary | no | 0.2% | go.mod | Dispute |
Second opinion: OSV-Scanner
OSV-Scanner found 3 advisories in the same files; 3 of Grype's matches are confirmed by it (marked ✓ above). 0 advisories were reported only by OSV-Scanner.
Vulnerable code in the released binary
govulncheck analyzed gosec from gosec_2.30.0_linux_amd64.tar.gz, built with go1.27.3. 0 advisories have vulnerable functions compiled into it: 0 in the Go standard library and 0 in dependencies.
Of the 3 Go advisories Grype matched in the source, 0 are in modules or code paths that are not in the shipped binary.
The Go linker removes unreachable functions, so a vulnerable function in the binary is likely reachable. Standard-library advisories are fixed by rebuilding with a newer Go release.
No vulnerable functions found in the binary.
Release integrity
Verdict: verified for gosec_2.30.0_linux_amd64.tar.gz. The download matches GitHub's recorded digest.
- Checksums file: yes
- Signatures: yes
- SLSA provenance: no
- SBOM published with the release: no
| Check | Result | Detail |
|---|---|---|
| Cosign signature | signed with a project key | signed with the project's own key; the public key is not checked |
| GitHub immutable release | verified | GitHub attests the file is unchanged since the release was published |
Verified means a signature, provenance, or attestation was checked against an identity in securego/gosec's own GitHub Actions workflows.
Repository security (OpenSSF Scorecard)
Score 6.6/10, assessed 2026-10-19 (OpenSSF public dataset). Scorecard viewer
All checks
| Check | Score | Reason |
|---|---|---|
| Dangerous-Workflow | 0 | dangerous workflow patterns detected |
| Fuzzing | 0 | project is not fuzzed |
| Security-Policy | 0 | security policy file not detected |
| CII-Best-Practices | 5 | badge detected: Passing |
| Pinned-Dependencies | 7 | dependency not pinned by hash detected -- score normalized to 7 |
| Signed-Releases | 8 | 5 out of the last 5 releases have a total of 5 signed artifacts. |
| Token-Permissions | 8 | detected GitHub workflow tokens with excessive permissions |
| Code-Review | 9 | Found 23/25 approved changesets -- score normalized to 9 |
| Binary-Artifacts | 10 | no binaries found in the repo |
| License | 10 | license file detected |
| Maintained | 10 | 30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10 |
| Packaging | 10 | packaging workflow detected |
| SAST | 10 | SAST tool is run on all commits |
| Branch-Protection | — | internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md |
GitHub Actions workflow audit (zizmor)
1 potential issues in 5 workflow files at this release: 0 high, 0 medium, 1 low severity (medium or high confidence only). Each is a pattern to review, not a confirmed vulnerability.
All findings
| Severity | Rule | Location | Note |
|---|---|---|---|
| Low | self-repository use GitHub's dedicated self-repository syntax | .github/workflows/action-integration.yml:25 | this step |
Dependencies (79)
By ecosystem: golang 59, github 19, unknown 1.
Licenses (as declared in the SBOM): unknown 79.
golang (59)
| Name | Version | License | Declared in |
|---|---|---|---|
cloud.google.com/go | v0.123.0 | go.mod | |
cloud.google.com/go/auth | v0.24.1 | go.mod | |
cloud.google.com/go/compute/metadata | v0.10.0 | go.mod | |
github.com/anthropics/anthropic-sdk-go | v1.82.0 | go.mod | |
github.com/bahlo/generic-list-go | v0.2.0 | go.mod | |
github.com/buger/jsonparser | v1.6.1 | go.mod | |
github.com/BurntSushi/toml | v1.6.0 | go.mod | |
github.com/ccojocar/zxcvbn-go | v1.0.4 | go.mod | |
github.com/cespare/xxhash/v2 | v2.3.0 | go.mod | |
github.com/coder/websocket | v1.8.15 | go.mod | |
github.com/felixge/httpsnoop | v1.1.0 | go.mod | |
github.com/go-logr/logr | v1.4.4 | go.mod | |
github.com/go-logr/stdr | v1.2.2 | go.mod | |
github.com/go-task/slim-sprig/v3 | v3.0.0 | go.mod | |
github.com/google/go-cmp | v0.7.0 | go.mod | |
github.com/google/pprof | v0.0.0-20261016150608-1facf8f91b50 | go.mod | |
github.com/google/s2a-go | v0.1.11 | go.mod | |
github.com/google/uuid | v1.6.0 | go.mod | |
github.com/googleapis/enterprise-certificate-proxy | v0.3.23 | go.mod | |
github.com/googleapis/gax-go/v2 | v2.26.2 | go.mod | |
github.com/gookit/color | v1.6.3 | go.mod | |
github.com/gorilla/websocket | v1.5.3 | go.mod | |
github.com/invopop/jsonschema | v0.14.0 | go.mod | |
github.com/lib/pq | v1.12.3 | go.mod | |
github.com/Masterminds/semver/v3 | v3.5.0 | go.mod | |
github.com/mozilla/tls-observatory | v0.0.0-20250923143331-eef96233227e | go.mod | |
github.com/onsi/ginkgo/v2 | v2.33.1 | go.mod | |
github.com/onsi/gomega | v1.44.0 | go.mod | |
github.com/openai/openai-go/v3 | v3.82.0 | go.mod | |
github.com/pb33f/go-yaml | v0.1.1 | go.mod | |
github.com/pb33f/ordered-map/v2 | v2.3.2 | go.mod | |
github.com/santhosh-tekuri/jsonschema/v6 | v6.0.3 | go.mod | |
github.com/standard-webhooks/standard-webhooks/libraries | v0.0.1 | go.mod | |
github.com/stretchr/objx | v0.8.0 | go.mod | |
github.com/stretchr/testify | v1.12.1 | go.mod | |
github.com/tidwall/gjson | v1.20.0 | go.mod | |
github.com/tidwall/match | v1.2.0 | go.mod | |
github.com/tidwall/pretty | v1.2.2 | go.mod | |
github.com/tidwall/sjson | v1.2.5 | go.mod | |
github.com/xo/terminfo | v1.2.0 | go.mod | |
go.opentelemetry.io/auto/sdk | v1.2.1 | go.mod | |
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp | v0.72.0 | go.mod | |
go.opentelemetry.io/otel | v1.47.0 | go.mod | |
go.opentelemetry.io/otel/log | v1.47.0 | go.mod | |
go.opentelemetry.io/otel/metric | v1.47.0 | go.mod | |
go.opentelemetry.io/otel/trace | v1.47.0 | go.mod | |
go.yaml.in/yaml/v3 | v3.0.5 | go.mod | |
golang.org/x/crypto | v0.58.0 | go.mod | |
golang.org/x/mod | v0.42.0 | go.mod | |
golang.org/x/net | v0.61.0 | go.mod | |
golang.org/x/sync | v0.24.0 | go.mod | |
golang.org/x/sys | v0.49.0 | go.mod | |
golang.org/x/text | v0.43.0 | go.mod | |
golang.org/x/tools | v0.52.0 | go.mod | |
google.golang.org/api | v0.304.0 | go.mod | |
google.golang.org/genai | v1.75.0 | go.mod | |
google.golang.org/genproto/googleapis/rpc | v0.0.0-20261012220534-4341edf3f941 | go.mod | |
google.golang.org/grpc | v1.84.0 | go.mod | |
google.golang.org/protobuf | v1.36.12 | go.mod |
github (19)
| Name | Version | License | Declared in |
|---|---|---|---|
actions/cache | v6 | .github/workflows/ci.yml | |
actions/checkout | v7 | .github/workflows/action-integration.yml | |
actions/github-script | v9 | .github/workflows/action-integration.yml | |
actions/setup-go | v7 | .github/workflows/ci.yml | |
actions/upload-artifact | v7 | .github/workflows/action-integration.yml | |
ccojocar/barry | main | .github/workflows/ci.yml | |
codecov/codecov-action | v7 | .github/workflows/ci.yml | |
CycloneDX/gh-gomod-generate-sbom | v2 | .github/workflows/release.yml | |
docker/build-push-action | v7 | .github/workflows/release.yml | |
docker/login-action | v4 | .github/workflows/release.yml | |
docker/metadata-action | v6 | .github/workflows/release.yml | |
docker/setup-buildx-action | v4 | .github/workflows/release.yml | |
docker/setup-qemu-action | v4 | .github/workflows/release.yml | |
github/codeql-action/upload-sarif | v4 | .github/workflows/action-integration.yml | |
golangci/golangci-lint-action | v9 | .github/workflows/ci.yml | |
goreleaser/goreleaser-action | v7 | .github/workflows/release.yml | |
securego/gosec | master | .github/workflows/ci.yml | |
securego/gosec | v2.29.0 | .github/workflows/scan.yml | |
sigstore/cosign-installer | v4.1.2 | .github/workflows/release.yml |
unknown (1)
| Name | Version | License | Declared in |
|---|---|---|---|
./ | UNKNOWN | .github/workflows/action-integration.yml |
History
| Week | Version | Dependencies | Critical | High | Medium | Low | Unknown | Changes |
|---|---|---|---|---|---|---|---|---|
| 2026-11-02 | v2.30.0 | 79 | 0 | 0 | 0 | 0 | 3 | — |
| 2026-11-01 | v2.30.0 | 79 | 0 | 0 | 0 | 0 | 3 | — |
SBOM minimum elements
Scored by sbomlyze on the generated source SBOM. A source SBOM usually lacks supplier and hash data, so these scores mostly reflect what the project's manifests declare.
| Standard | Score | Checks passed | Failed checks |
|---|---|---|---|
| NTIA 2021 | 71 | 5/7 | Supplier Name, Dependency Relationship |
| CISA 2025 | 50 | 5/10 | Software Producer, Dependency Relationship, License Information, Component Hash, SBOM Author |
| BSI TR-03183 | 44 | 4/9 | Component Creator, Distribution Licences, SHA-512 Hash, Dependency Relationship, SBOM Creator Contact |
Evidence
Downloads for this week: CycloneDX SBOM · Grype report
Permanent copy of the raw SBOM, Grype, OSV-Scanner, and govulncheck output and release checks: release report-2026-11-02, folder supply-chain-shard-*/securego__gosec/.
7 manifests and lockfiles scanned
.github/workflows/action-integration.yml, .github/workflows/ci.yml, .github/workflows/release.yml, .github/workflows/scan.yml, action.yml, go.mod, go.sum
Full JSON for this project · Atom feed of weekly changes
Badges
shields.io endpoints refreshed with each weekly scan. They report this week's result for the latest release, nothing more.
[](https://rezmoss.github.io/awesome-security-pipeline/projects/securego/gosec/index.html)
[](https://rezmoss.github.io/awesome-security-pipeline/projects/securego/gosec/index.html)
How this report is made
Every Sunday a GitHub Actions workflow resolves each catalog tool to its latest release and runs the checks below. Every tool is installed from its own latest release and verified against its published checksum or digest. Nothing from the scanned projects is built or executed; release binaries are analyzed as files.
| Tool | What it does here | Version this week |
|---|---|---|
| Syft | Generates a CycloneDX SBOM from each release's manifests and lockfiles. | 1.55.0 |
| Grype | Matches the SBOM against known vulnerabilities. | 0.121.0 |
| OSV-Scanner | Checks the same files against the OSV database to confirm or add matches. | 2.7.0 |
| govulncheck | For Go tools, finds which advisories have vulnerable code compiled into the released Linux binary. | 1.9.0 |
| zizmor | Audits the project's GitHub Actions workflows for injection, unpinned actions, and excessive permissions. | 1.31.1 |
| OpenSSF Scorecard | Scores repository security practices such as code review, branch protection, and pinned dependencies. | 5.6.0 |
| Cosign | Verifies Sigstore signatures on the release binary or its checksums file. | 3.1.4 |
| slsa-verifier | Verifies SLSA build provenance published with the release. | 2.7.1 |
| GitHub CLI attestations | Verifies GitHub artifact attestations for the release binary. | — |
| sbomlyze | Diffs each SBOM against last week and scores NTIA, CISA, and BSI minimum elements. Maintained by this repository's maintainer. | 0.6.0 |