From 376f2ba218a241314f6e82b5f6f0691f4a69934d Mon Sep 17 00:00:00 2001 From: Omer Coskun Date: Mon, 9 Dec 2024 16:05:39 +0100 Subject: [PATCH 1/2] Fix: Solana Web3.js Library Supply Chain Attack --- examples/call/package.json | 2 +- examples/hello/package.json | 2 +- examples/nft/package.json | 2 +- examples/swap/package.json | 2 +- examples/token/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/call/package.json b/examples/call/package.json index 75baa2ce..4b8bb204 100644 --- a/examples/call/package.json +++ b/examples/call/package.json @@ -56,7 +56,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.2", + "@solana/web3.js": "^1.95.5", "@zetachain/protocol-contracts": "11.0.0-rc3" } } \ No newline at end of file diff --git a/examples/hello/package.json b/examples/hello/package.json index 75baa2ce..4b8bb204 100644 --- a/examples/hello/package.json +++ b/examples/hello/package.json @@ -56,7 +56,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.2", + "@solana/web3.js": "^1.95.5", "@zetachain/protocol-contracts": "11.0.0-rc3" } } \ No newline at end of file diff --git a/examples/nft/package.json b/examples/nft/package.json index 84fec511..e4ffe5bd 100644 --- a/examples/nft/package.json +++ b/examples/nft/package.json @@ -55,7 +55,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.2", + "@solana/web3.js": "^1.95.5", "@zetachain/protocol-contracts": "11.0.0-rc3" } } diff --git a/examples/swap/package.json b/examples/swap/package.json index 221f9067..3637194c 100644 --- a/examples/swap/package.json +++ b/examples/swap/package.json @@ -56,7 +56,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.2", + "@solana/web3.js": "^1.95.5", "@zetachain/protocol-contracts": "11.0.0-rc3", "@zetachain/toolkit": "13.0.0-rc8" } diff --git a/examples/token/package.json b/examples/token/package.json index 84fec511..e4ffe5bd 100644 --- a/examples/token/package.json +++ b/examples/token/package.json @@ -55,7 +55,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.2", + "@solana/web3.js": "^1.95.5", "@zetachain/protocol-contracts": "11.0.0-rc3" } } From fbf9d57c3aedc6e6fe296f89a5210513baf52f66 Mon Sep 17 00:00:00 2001 From: Omer Coskun Date: Mon, 9 Dec 2024 17:50:37 +0100 Subject: [PATCH 2/2] Fix: Solana Web3.js Library Supply Chain Attack v2.1 --- examples/call/package.json | 2 +- examples/hello/package.json | 2 +- examples/nft/package.json | 2 +- examples/swap/package.json | 2 +- examples/token/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/call/package.json b/examples/call/package.json index 4b8bb204..de6367a7 100644 --- a/examples/call/package.json +++ b/examples/call/package.json @@ -56,7 +56,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.5", + "@solana/web3.js": "^1.95.8", "@zetachain/protocol-contracts": "11.0.0-rc3" } } \ No newline at end of file diff --git a/examples/hello/package.json b/examples/hello/package.json index 4b8bb204..de6367a7 100644 --- a/examples/hello/package.json +++ b/examples/hello/package.json @@ -56,7 +56,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.5", + "@solana/web3.js": "^1.95.8", "@zetachain/protocol-contracts": "11.0.0-rc3" } } \ No newline at end of file diff --git a/examples/nft/package.json b/examples/nft/package.json index e4ffe5bd..c7148d72 100644 --- a/examples/nft/package.json +++ b/examples/nft/package.json @@ -55,7 +55,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.5", + "@solana/web3.js": "^1.95.8", "@zetachain/protocol-contracts": "11.0.0-rc3" } } diff --git a/examples/swap/package.json b/examples/swap/package.json index 3637194c..0a2bae52 100644 --- a/examples/swap/package.json +++ b/examples/swap/package.json @@ -56,7 +56,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.5", + "@solana/web3.js": "^1.95.8", "@zetachain/protocol-contracts": "11.0.0-rc3", "@zetachain/toolkit": "13.0.0-rc8" } diff --git a/examples/token/package.json b/examples/token/package.json index e4ffe5bd..c7148d72 100644 --- a/examples/token/package.json +++ b/examples/token/package.json @@ -55,7 +55,7 @@ "@coral-xyz/anchor": "0.30.0", "@solana-developers/helpers": "^2.4.0", "@solana/spl-memo": "^0.2.5", - "@solana/web3.js": "^1.95.5", + "@solana/web3.js": "^1.95.8", "@zetachain/protocol-contracts": "11.0.0-rc3" } }