Skip to content

build(deps): Bump github.com/golangci/golangci-lint/v2 from 2.12.2 to 2.13.2 - #1432

Merged
lklimek merged 1 commit into
v1.7-devfrom
dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.13.2
Sep 3, 2026
Merged

lklimek merged 1 commit into
v1.7-devfrom
dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.13.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/golangci/golangci-lint/v2 from 2.12.2 to 2.13.2.

Release notes

Sourced from github.com/golangci/golangci-lint/v2's releases.

v2.13.2

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

  • f34e0bb6c3f4a48513018de81894f5bca1e186c1 build(deps): bump docker/setup-buildx-action from 4.2.0 to 4.3.0 in the github-actions group (#6758)
  • 9af7a1866c0b3b4f43d6d7cb0fba860c4cf615e8 build(deps): bump github.com/stretchr/testify from 1.12.0 to 1.12.1 in /scripts/gen_github_action_config in the scripts group (#6757)
  • 1b907273167eec8b3d84cae636b7798ced4433d5 build(deps): bump github.com/uudashr/iface from 1.5.0 to 1.5.1 (#6749)
  • 6fb5dee3889d231640dce56e5e71c522f13aef7e build(deps): bump honnef.co/go/tools from 0.8.0 to 0.8.1 (#6748)
  • 03da382d2ffa23d706253c9a6061a3ad84482b7a build(deps): bump mvdan.cc/unparam to 2fa3d841b0c8 (#6756)
  • c2bc9bf4762d8c7b267ba852d5fca450445fe5a5 build(deps): github.com/lasiar/canonicalheader from v1.1.2 to a fork (#6761)
  • 61b35d627783c92193f55a477fb4cb3c2d00a83b fix: decrease cache entropy (#6762)

v2.13.1

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

  • c3ab374844721687ee00313e847d6e8a7d4cffa2 build(deps): bump github.com/bombsimon/wsl/v5 from 5.8.0 to 5.9.0 (#6737)
  • e602199aba3a75d917b300815b0ba7f7dbd6360b build(deps): bump github.com/nunnatsa/ginkgolinter from 0.23.1 to 0.24.0 (#6735)
  • 62afbbeaf6d09592bfd9d93ec3795b7eae5d83af build(deps): bump github.com/sirupsen/logrus from 1.10.0 to 1.10.1 (#6734)
  • 0924cfd9899de3a6f89eb2eeeecc01ed471195b4 build(deps): bump gofmt to e84e05053792 (#6740)
  • e2a4f0a347ef99790f5ecbcac33f911a4bab6797 build(deps): bump honnef.co/go/tools from 0.8.0-rc.1 to 0.8.0 (#6738)
  • eac982716187a41e859a6e24bcac18666dd4e1e2 build(deps): bump the github-actions group with 2 updates (#6739)

v2.13.0

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

  • 7c5a9af062793dc58339bae7f5a61bb9904d6f65 build(deps): bump 4d63.com/gocheckcompilerdirectives from 1.3.0 to 1.4.0 (#6584)
  • 6d5618a95711065986cc79041076ed7c6fd7665b build(deps): bump charm.land/lipgloss/v2 from 2.0.3 to 2.0.4 (#6646)
  • c508ecf3b16f8c781b79a5d2457f45abc489075b build(deps): bump charm.land/lipgloss/v2 from 2.0.4 to 2.0.5 (#6658)
  • 6217aab418b3e1706de6194b25ed2185227de6d3 build(deps): bump charm.land/lipgloss/v2 from 2.0.5 to 2.0.6 (#6716)
  • 6b274d25c1e38f136ab75ac9b9e4785fc22f9421 build(deps): bump dev.gaijin.team/go/exhaustruct/v5 from 4.0.0 to 5.0.2 (#6592)

... (truncated)

Changelog

Sourced from github.com/golangci/golangci-lint/v2's changelog.

v2.13.2

Released on 2026-08-28

  1. Bug fixes
    • Decrease cache entropy
  2. Linters bug fixes
    • iface: from 1.5.0 to 1.5.1
    • staticcheck: from 0.8.0 to 0.8.1
    • unparam: from 3f964bcb5673 to 2fa3d841b0c8
    • canonicalheader: from v1.1.2 to a temporary fork

v2.13.1

Released on 2026-08-20

  1. Linters bug fixes
    • ginkgolinter: from 0.23.1 to 0.24.0
    • gofmt: from d62b90e6713d to e84e05053792
    • staticcheck: from 0.8.0-rc.1 to 0.8.0
    • wsl_v5: from 5.8.0 to 5.9.0

v2.13.0

Released on 2026-08-19

  1. Enhancements
    • 🎉 go1.27 support
  2. Bug fixes
    • fix: cache package facts
  3. Linters new features or changes
    • dupword: from 0.1.7 to 0.1.8 (new option skip-raw-strings)
    • errcheck: from 1.10.0 to 1.20.0
    • exhaustruct_v5: from 4.0.0 to 5.0.2 (new configuration)
    • exhaustruct: deprecated and replaced by exhaustruct_v5
    • fatcontext: from 0.9.0 to 0.10.0 (new options: check-loops, check-function-literals)
    • goconst: from 1.10.0 to 1.11.0 (new options: ignore-map-keys, exclude-types)
    • gofumpt: from 0.9.2 to 0.11.0 (new options: extra.group-params, extra.clothe-returns, extra.balance-calls)
    • gomoddirectives: from 0.8.0 to 0.9.0 (new option: replace-allow-all)
    • gosec: from 2.26.1 to 2.27.1
    • govet-modernize: from 0.44.0 to 0.49.0 (fmtappendf is removed. New analyzers atomictypes, embedlit, errorsastype, importcomment, reflecttypeassert, slicesclip, and slicesbackward. waitgroup is renamed waitgroupgo)
    • iface: from 1.4.3 to 1.5.0 (new analyzer: unusedmethod)
    • noinlineerr: from 1.0.5 to 1.0.6
    • nonamedreturns: from 1.0.6 to 1.0.8 (new option: allow-unused-named-returns)
    • recvcheck: from 0.2.0 to 0.3.0 (new default exclusions)
    • unparam: from 5beb8c8f8f15 to 3f964bcb5673
  4. Linters bug fixes
    • clickhouse-go-linter: from 1.2.0 to 1.2.1
    • errname: from 1.1.1 to 1.1.2
    • exhaustruct: from 5.0.2 to 5.0.3

... (truncated)

Commits
  • 27774aa chore: prepare release
  • 61b35d6 fix: decrease cache entropy (#6762)
  • c2bc9bf build(deps): github.com/lasiar/canonicalheader from v1.1.2 to a fork (#6761)
  • f34e0bb build(deps): bump docker/setup-buildx-action from 4.2.0 to 4.3.0 in the githu...
  • 9af7a18 build(deps): bump github.com/stretchr/testify from 1.12.0 to 1.12.1 in /scrip...
  • 03da382 build(deps): bump mvdan.cc/unparam to 2fa3d841b0c8 (#6756)
  • 1b90727 build(deps): bump github.com/uudashr/iface from 1.5.0 to 1.5.1 (#6749)
  • 6fb5dee build(deps): bump honnef.co/go/tools from 0.8.0 to 0.8.1 (#6748)
  • f84535e docs: fix changelog (#6743)
  • 2d351a1 docs: update GitHub Action assets (#6741)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 1, 2026
@Claudius-Maginificent

Copy link
Copy Markdown
Collaborator

🔒 Dependency Security Audit — github.com/golangci/golangci-lint/v2 2.12.2 → 2.13.2

Audited in an isolated worktree, Sergeant Major. Verified twice — the second pass is the one that counts.

Verdict: SAFE TO MERGE. No security concern introduced by this PR. It is, in fact, a net security improvement — though not for the reason the title suggests.


1. Scope — this is not a linter-only bump

Diff is go.mod + go.sum only, matching the expected dependabot pattern. golangci-lint is tool-only, imported from tools/tools.go behind //go:build tools, so it is never linked into a production binary.

But it lives in the main go.mod (there is no tools/go.mod), so it shares the production module graph. MVS consequently raised three direct, production-relevant requirements:

Module Change Production?
golang.org/x/crypto 0.54.0 → 0.55.0 Yes — P2P/privval handshake encryption
golang.org/x/net 0.57.0 → 0.58.0 Yes
github.com/stretchr/testify 1.11.1 → 1.12.1 Test-only

A reviewer auditing the crypto stack would never find this bump from its title. Worth knowing.

2. Module graph delta — 362 modules analysed

Metric Result
Downgrades 0 ✅ — the primary MVS risk, explicitly checked
Upgrades 44
Added / Removed 3 / 3

A dependency bump that silently drags a shared module backwards below a patched version is the failure mode that matters here. There are none.

3. Supply-chain integrity — CLEAN

A changelog is a claim, not evidence. Checked independently:

Check Result
Every changed go.sum hash vs. sum.golang.org transparency log Byte-for-byte match ✅
go mod tidy -diff Exit 0, empty output — nothing smuggled in beyond what tidy generates ✅
GOSUMDB / GOPRIVATE / GOFLAGS sum.golang.org, unset, unset — no verification bypass ✅
PR provenance Single GPG-verified commit, author dependabot[bot] ✅

Module ownership change — investigated, not waved through.
github.com/lasiar/canonicalheader v1.1.2 → github.com/golangci/canonicalheader v0.0.0-20260827115959. A module path changing owner is a textbook supply-chain red flag, so it was run down:

  • golangci/canonicalheader is a genuine GitHub fork of lasiar/canonicalheader, owned by the golangci Organization, created 2026-08-27T11:44:36Z — matching the pseudo-version timestamp exactly.
  • Introduced upstream by golangci-lint PR #6761, authored and merged by ldez, a core maintainer.
  • Checksum present and matching in the public sumdb.

Legitimate upstream fork. Not a hijack. ✅

Also noted: dlclark/regexp2 v1 → /v2 v2.2.1 (a backtracking, ReDoS-capable regex engine) — confined to the lint/TUI path, absent from the production graph. pmezard/go-difflib drops out because testify 1.12 vendored it; two fewer unmaintained modules in the graph.

4. Dependency code review — not just release-note titles

120 commits between v2.12.2 and v2.13.2, overwhelmingly dependency bumps and linter updates. The one substantive non-dependency change was read line by line:

fix: decrease cache entropy (#6762)

It makes lint cache keys module-relative instead of absolute. The concern worth raising is whether weaker cache keying could let a stale cache mask gosec findings in CI. It cannot: file content hashes remain in the key (fmt.Fprintf(key, "file %s %x\n", f, h)), guarded by isCurrentModule() and a ..-escape check. Cache-key integrity is preserved. ✅

5. Vulnerability research

Sources: OSV.dev (batch query across all 362 resolved modules), GitHub Advisory DB, repository Dependabot alerts, upstream release notes, sum.golang.org.

⚠️ govulncheck was NOT treated as evidence here. It fails to load packages in this repo (cgo — dashpay/bls-signatures needs dashbls/bls.hpp, absent locally). A "clean govulncheck" was therefore never actually available to me, so full-graph OSV scanning was used instead. CI's own govulncheck job passes and covers that gap.

Three hits across 362 modules:

ID Severity Module @ version Changed by this PR? Applies?
GO-2026-5932 Info x/crypto 0.55.0 Bumped (forward) No — crypto/openpgp unmaintained-package advisory. Imported nowhere (verified by grep and go list -deps). Affects all versions; pre-existing.
GO-2026-6094 Medium cel-go 0.29.2 No — unchanged Pre-existing, indirect. JSON private fields exposed via NativeTypes/ParseStructTag; fixed in 0.30.0. Go-DB-only, so absent from GitHub's alert set.
GHSA-vp52-pcj8-j9qc High grpc 1.82.1 No — unchanged Pre-existing and real — see §6.

Clean, no known vulnerabilities: golangci-lint 2.13.2, x/net 0.58.0, testify 1.12.1.

Direction of travel is favourable. x/crypto 0.54.0 carries a live CVE — CVE-2026-56854 / GO-2026-6303 (source-address critical option not enforced for non-public-key auth callbacks), plus several unregistered SSH fixes: a nested-certificate stack overflow that recover cannot catch (CWE-674, unauthenticated remote DoS) and a fail-open empty source-address option (CWE-863). All confined to ssh/, which is absent from our build graph — so we were never exposed. Merging retires the advisory from the ledger rather than carrying it.

6. Pre-existing finding — NOT introduced here, NOT a blocker for this PR

SEC-001 [HIGH] — gRPC heap-exhaustion DoS — GHSA-vp52-pcj8-j9qc
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

An unauthenticated remote attacker fragments a payload into millions of 1-byte HTTP/2 DATA frames; per-fragment tracking overhead inflates the heap until OOM/panic. Affects all grpc-go < 1.83.1; this repo resolves 1.82.1.

Exposure is not theoretical — we run network-facing gRPC servers:

  • abci/server/grpc_server.go:46 → grpc.NewServer()
  • cmd/priv_val_server/main.go:126 → grpc.NewServer(opts...) — the validator signing path, and the one I like least.

Confirmed open in the repository's Dependabot alerts (high). Remediation already exists: PR #1433 bumps grpc → 1.83.2. I would merge that one ahead of this one.

7. Observation — this bump changes nothing that actually runs

SEC-002 [MEDIUM] — security-lint tooling drift. Three golangci-lint versions coexist, none agreeing:

Location Version What it is
go.mod:371 + tools/tools.go:12 v2.13.2 what this PR bumps
.github/workflows/lint.yml:63 v2.12 what CI actually runs — the merge gate
Makefile:279 (make lint) v2.8 what contributors actually run

This bump raises the bundled SAST scanner securego/gosec 2.26.1 → 2.28.0 (verified against upstream go.mod at both tags). Because CI pins the v2.12 release binary, that gosec upgrade never executes. The PR creates the appearance of refreshed security tooling while the gate keeps running gosec 2.26.1; make lint is older still.

Not a vulnerability, and not a reason to hold this PR — but no one should credit it with improved SAST coverage. Note that simply pointing CI at go.mod will not work today: go.mod:254 pins denis-tingaikin/go-header v1.0.0 as a direct requirement while golangci-lint needs v0.5.0, and MVS selects the incompatible v1.0.0. That stale requirement needs dropping first.

.golangci.yml was validated against the JSON schema shipped in v2.13.2 — zero errors; canonicalheader is not referenced, so the module move is inert here.


Verdict

Zero new vulnerabilities. Zero downgrades. Full checksum-transparency verification. Two production crypto/net dependencies moved forward, retiring a live x/crypto CVE from the ledger. All 17 CI checks green.

Merging on security grounds. Follow-ups worth raising separately: prioritise #1433 (SEC-001), then converge the three linter pins (SEC-002).

🍬 Tally: 2 findings — 0 CRITICAL, 1 HIGH (pre-existing, fix already in #1433), 1 MEDIUM (pre-existing process drift), plus 1 Medium and 1 Informational advisory catalogued as not-applicable.

🤖 Co-authored by Claudius the Magnificent AI Agent

@Claudius-Maginificent

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Sorry, only users with push access can use that command.

Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.12.2 to 2.13.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/main/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v2.12.2...v2.13.2)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint/v2
  dependency-version: 2.13.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.13.2 branch from e7d6632 to a3a4fef Compare September 2, 2026 14:43
@lklimek
lklimek merged commit 7053c27 into v1.7-dev Sep 3, 2026
16 checks passed
@lklimek
lklimek deleted the dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.13.2 branch September 3, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants