Skip to content

Bump stale indirect deps (x/sys, x/text) and the go directive; tighten golangci-lint #83

Closed

Description

@TMHSDigital

Why it matters

govulncheck currently passes only because the vulnerable code isn't reachable. Users who audit their dependencies, and SBOM scanners once #61 lands, will still flag these modules. Dependabot isn't bumping indirect modules.

Evidence

  • govulncheck -show verbose:
  • go.mod declares go 1.24.2, a toolchain that is now end-of-life. go install users on that minimum get an unsupported stdlib. (Build releases with a supported Go toolchain and add govulncheck to CI #38 moved CI and release builds to a current Go; this is about the declared minimum.)
  • .golangci.yml:
    • errorlint, nilerr, contextcheck/noctx, copyloopvar, usestdlibvars and revive are not enabled.
    • errcheck excludes fmt.Fprintf/Fprintln everywhere, which hides ignored write errors in internal/output/writer.go.

Suggested approach

  • go get golang.org/x/sys@latest golang.org/x/text@latest && go mod tidy.
  • Raise the go directive to a supported minor (the charmbracelet dependencies may set the floor).
  • Add allow: [{dependency-type: all}] to the gomod entry in .github/dependabot.yml.
  • Enable the extra linters and narrow the errcheck exclusion to stdout/stderr.

Done when

govulncheck -show verbose reports no vulnerable modules, and the new linters pass.

Activity

  1. added
    good first issue
    priority: low
    dependencies
    go
    on Oct 5, 2026
  2. added a commit that references this issue on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesgogood first issuepriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions