Skip to content

Commit 61a58d7

Browse files
fix(deps): address Semgrep supply chain security findings
## Go modules - Upgrade github.com/ethereum/go-ethereum v1.13.15 -> v1.17.2 (fixes CVE-2026-22862, CVE-2026-22868, CVE-2026-26314) - Note: btcd CVE-2024-38365 requires separate refactoring effort; the existing replace directive pins to v0.22.3 which predates the v0.23 rewrite where the bug was introduced - Note: tss-lib is already replaced with threshold-network/tss-lib fork via replace directive (GHSA-h24c-6p6p-m3vx) ## JavaScript (yarn resolutions + npm overrides) - solidity/ecdsa, solidity/random-beacon: add yarn resolution for web3-eth-accounts@1.2.11 to remove scrypt-shim (MAL-2022-5972), add npm override for get-func-name>=2.0.2 (CVE-2023-43646) - solidity-v1/dashboard: upgrade axios ^0.21.2 -> ^1.8.2 (CVE-2026-25639); add overrides for http-cache-semantics>=4.1.1 (CVE-2022-25881), get-func-name>=2.0.2, terser>=4.8.1 (CVE-2022-25858), decompress>=4.2.1 (CVE-2020-12265) - solidity-v1: add overrides for http-cache-semantics>=4.1.1, get-func-name>=2.0.2 - token-stakedrop: add overrides for bsock>=0.1.10 (CVE-2023-50475), http-cache-semantics>=4.1.1, get-func-name>=2.0.2 Note: bsock@0.1.9 inside bcoin's bundledDependencies cannot be overridden via npm overrides; requires updating the bcoin fork
1 parent 7825c53 commit 61a58d7

File tree

13 files changed

+57610
-65183
lines changed

13 files changed

+57610
-65183
lines changed

go.mod

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/keep-network/keep-core
22

3-
go 1.24
3+
go 1.24.0
44

55
toolchain go1.24.1
66

@@ -26,8 +26,8 @@ require (
2626
github.com/btcsuite/btcd/v2 v2.0.0-00010101000000-000000000000
2727
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
2828
github.com/checksum0/go-electrum v0.0.0-20220912200153-b862ac442cf9
29-
github.com/ethereum/go-ethereum v1.13.15
30-
github.com/ferranbt/fastssz v0.1.2
29+
github.com/ethereum/go-ethereum v1.17.2
30+
github.com/ferranbt/fastssz v0.1.4
3131
github.com/go-test/deep v1.0.8
3232
github.com/google/gofuzz v1.2.0
3333
github.com/graph-gophers/graphql-go v1.3.0
@@ -47,20 +47,24 @@ require (
4747
github.com/mitchellh/mapstructure v1.5.0
4848
github.com/multiformats/go-multiaddr v0.14.0
4949
github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7
50-
github.com/spf13/cobra v1.5.0
51-
github.com/spf13/pflag v1.0.5
50+
github.com/spf13/cobra v1.8.1
51+
github.com/spf13/pflag v1.0.6
5252
github.com/spf13/viper v1.12.0
5353
go.uber.org/zap v1.27.0
54-
golang.org/x/crypto v0.32.0
54+
golang.org/x/crypto v0.44.0
5555
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8
56-
golang.org/x/sync v0.10.0
57-
golang.org/x/term v0.28.0
58-
google.golang.org/protobuf v1.36.3
56+
golang.org/x/sync v0.18.0
57+
golang.org/x/term v0.37.0
58+
google.golang.org/protobuf v1.36.11
5959
google.golang.org/protobuf/dev v0.0.0-00010101000000-000000000000
6060
)
6161

6262
require (
63+
github.com/ProjectZKM/Ziren/crates/go-runtime/zkvm_runtime v0.0.0-20251001021608-1fe7b43fc4d6 // indirect
64+
github.com/crate-crypto/go-eth-kzg v1.5.0 // indirect
6365
github.com/davecgh/go-spew v1.1.1 // indirect
66+
github.com/emicklei/dot v1.6.2 // indirect
67+
github.com/ethereum/c-kzg-4844/v2 v2.1.6 // indirect
6468
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
6569
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6670
github.com/pion/datachannel v1.5.10 // indirect
@@ -83,32 +87,30 @@ require (
8387
github.com/pmezard/go-difflib v1.0.0 // indirect
8488
github.com/stretchr/testify v1.11.1 // indirect
8589
github.com/wlynxg/anet v0.0.5 // indirect
90+
golang.org/x/telemetry v0.0.0-20251008203120-078029d740a8 // indirect
8691
)
8792

8893
require (
89-
github.com/Microsoft/go-winio v0.6.1 // indirect
94+
github.com/Microsoft/go-winio v0.6.2 // indirect
9095
github.com/StackExchange/wmi v1.2.1 // indirect
9196
github.com/aead/siphash v1.0.1 // indirect
9297
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 // indirect
9398
github.com/benbjohnson/clock v1.3.5 // indirect
9499
github.com/beorn7/perks v1.0.1 // indirect
95-
github.com/bits-and-blooms/bitset v1.10.0 // indirect
100+
github.com/bits-and-blooms/bitset v1.20.0 // indirect
96101
github.com/btcsuite/btcd/btcutil v1.1.1 // indirect
97102
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f // indirect
98103
github.com/cespare/xxhash/v2 v2.3.0 // indirect
99-
github.com/consensys/bavard v0.1.13 // indirect
100-
github.com/consensys/gnark-crypto v0.12.1 // indirect
104+
github.com/consensys/gnark-crypto v0.18.1 // indirect
101105
github.com/containerd/cgroups v1.1.0 // indirect
102106
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
103-
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
104107
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
105-
github.com/deckarep/golang-set/v2 v2.1.0 // indirect
108+
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
106109
github.com/decred/dcrd/dcrec/edwards/v2 v2.0.0 // indirect
107110
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
108111
github.com/deepmap/oapi-codegen v1.6.0 // indirect
109112
github.com/docker/go-units v0.5.0 // indirect
110113
github.com/elastic/gosigar v0.14.3 // indirect
111-
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
112114
github.com/flynn/noise v1.1.0 // indirect
113115
github.com/francoispqt/gojay v1.2.13 // indirect
114116
github.com/fsnotify/fsnotify v1.6.0 // indirect
@@ -125,9 +127,9 @@ require (
125127
github.com/hashicorp/golang-lru v1.0.2 // indirect
126128
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
127129
github.com/hashicorp/hcl v1.0.0 // indirect
128-
github.com/holiman/uint256 v1.2.4 // indirect
130+
github.com/holiman/uint256 v1.3.2 // indirect
129131
github.com/huin/goupnp v1.3.0 // indirect
130-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
132+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
131133
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 // indirect
132134
github.com/ipfs/boxo v0.27.2 // indirect
133135
github.com/ipfs/go-cid v0.5.0 // indirect
@@ -162,7 +164,6 @@ require (
162164
github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc // indirect
163165
github.com/minio/sha256-simd v1.0.1 // indirect
164166
github.com/mitchellh/go-homedir v1.1.0 // indirect
165-
github.com/mmcloughlin/addchain v0.4.0 // indirect
166167
github.com/mr-tron/base58 v1.2.0 // indirect
167168
github.com/multiformats/go-base32 v0.1.0 // indirect
168169
github.com/multiformats/go-base36 v0.2.0 // indirect
@@ -199,29 +200,28 @@ require (
199200
github.com/spf13/cast v1.5.0 // indirect
200201
github.com/spf13/jwalterweatherman v1.1.0 // indirect
201202
github.com/subosito/gotenv v1.3.0 // indirect
202-
github.com/supranational/blst v0.3.11 // indirect
203+
github.com/supranational/blst v0.3.16 // indirect
203204
github.com/tklauser/go-sysconf v0.3.12 // indirect
204205
github.com/tklauser/numcpus v0.6.1 // indirect
205206
github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect
206207
go.opencensus.io v0.24.0 // indirect
207-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
208-
go.opentelemetry.io/otel v1.38.0 // indirect
209-
go.opentelemetry.io/otel/metric v1.38.0 // indirect
210-
go.opentelemetry.io/otel/trace v1.38.0 // indirect
208+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
209+
go.opentelemetry.io/otel v1.40.0 // indirect
210+
go.opentelemetry.io/otel/metric v1.40.0 // indirect
211+
go.opentelemetry.io/otel/trace v1.40.0 // indirect
211212
go.uber.org/dig v1.18.0 // indirect
212213
go.uber.org/fx v1.23.0 // indirect
213214
go.uber.org/mock v0.5.0 // indirect
214215
go.uber.org/multierr v1.11.0 // indirect
215-
golang.org/x/mod v0.22.0 // indirect
216-
golang.org/x/net v0.34.0 // indirect
217-
golang.org/x/sys v0.29.0 // indirect
218-
golang.org/x/text v0.21.0 // indirect
219-
golang.org/x/time v0.5.0 // indirect
220-
golang.org/x/tools v0.29.0 // indirect
216+
golang.org/x/mod v0.29.0 // indirect
217+
golang.org/x/net v0.47.0 // indirect
218+
golang.org/x/sys v0.40.0 // indirect
219+
golang.org/x/text v0.31.0 // indirect
220+
golang.org/x/time v0.9.0 // indirect
221+
golang.org/x/tools v0.38.0 // indirect
221222
gonum.org/v1/gonum v0.15.1 // indirect
222223
gopkg.in/ini.v1 v1.67.0 // indirect
223224
gopkg.in/yaml.v2 v2.4.0 // indirect
224225
gopkg.in/yaml.v3 v3.0.1 // indirect
225226
lukechampine.com/blake3 v1.3.0 // indirect
226-
rsc.io/tmplfunc v0.0.3 // indirect
227227
)

0 commit comments

Comments
 (0)