remove-unused-dependencies (#3814)
What changed, and why it matters
This commit removes unused third-party software libraries (dependencies) from the Cake Wallet project's configuration files. It does not change any app code, wallet logic, or user-facing behavior. Removing unused dependencies generally improves build hygiene and slightly reduces the amount of external code that could contain future bugs, but it is not a security fix for any known vulnerability.
No immediate security action is required. Treat this as routine maintenance. Verify that the removed dependencies are genuinely unused in the current codebase and that CI builds still pass. Continue normal dependency scanning for remaining packages.
Security signals we found
Removal of unused third-party dependencies reduces the transitive attack surface
No source-code changes or functional patches are present
No vendor statement describes this as a security fix
No CVE, advisory, or researcher attribution is present in the commit
Evidence from the diff
The commit ‘remove-unused-dependencies (#3814)’ deletes entries from pubspec.yaml, pubspec_base.yaml, pubspec_overrides.yaml, and pubspec.lock across multiple Flutter packages (cw_bitcoin, cw_core, cw_evm, cw_solana, etc.). Removed packages include flutter_mobx, bitbox, socks_socket, borsh_annotation, solana, yaml, lottie, animate_do, equatable, progressive_blur, and several others. No Dart/Flutter source files were modified. The change is purely a dependency cleanup.
Changed components
pubspec.yaml files across cw_* packagespubspec_base.yamlpubspec_overrides.yamlpubspec.lockInspect captured patch +6 / −97
### cw_bitcoin/pubspec.yaml
@@ -2,7 +2,6 @@ name: cw_bitcoin
description: A new Flutter package project.
version: 0.0.1
publish_to: none
-author: Cake Wallet
homepage: https://cakewallet.com
environment:
@@ -15,15 +14,10 @@ dependencies:
path_provider: ^2.0.11
http: ^1.1.0
mobx: ^2.6.0
- flutter_mobx: ^2.3.0
intl: any
shared_preferences: ^2.0.15
cw_core:
path: ../cw_core
- bitbox:
- git:
- url: https://github.com/cake-tech/bitbox-flutter.git
- ref: Add-Support-For-OP-Return-data
rxdart: ^0.28.0
cryptography: ^2.0.5
blockchain_utils:
@@ -57,17 +51,13 @@ dependencies:
ref: d1242cea90f84b00200e7bcab914a5af750e23fb
trezor_flutter:
git:
- url: https://github.com/cake-tech/trezor-flutter
+ url: https://github.com/cake-tech/trezor-flutter.git
ref: 591d4b8c821b9c10561f848b866324a9a8dcb489
path: trezor-flutter
bitbox_flutter:
git:
url: https://github.com/cake-tech/bitbox_flutter.git
ref: 3d1c607f14c6d5bace2971ec4c10b5201053cc56
- socks_socket:
- git:
- url: https://github.com/sneurlax/socks_socket
- ref: e6232c53c1595469931ababa878759a067c02e94
ur:
git:
url: https://github.com/bukata-sa/bc-ur-dart
### cw_bitcoin_cash/pubspec.yaml
@@ -2,7 +2,6 @@ name: cw_bitcoin_cash
description: A new Flutter package project.
version: 0.0.1
publish_to: none
-author: Cake Wallet
homepage: https://cakewallet.com
environment:
@@ -13,10 +12,7 @@ dependencies:
flutter:
sdk: flutter
bip39: ^1.0.6
- bip32: ^2.0.0
- path_provider: ^2.0.11
mobx: ^2.6.0
- flutter_mobx: ^2.3.0
cw_core:
path: ../cw_core
cw_bitcoin:
### cw_core/pubspec.yaml
@@ -12,13 +12,10 @@ dependencies:
flutter:
sdk: flutter
http: ^1.1.0
- file: ^7.0.0
path_provider: ^2.1.5
mobx: ^2.6.0
- flutter_mobx: ^2.3.0
intl: any
encrypt: ^5.0.1
- decimal: ^2.3.3
cake_backup:
git:
url: https://github.com/cake-tech/cake_backup.git
### cw_dogecoin/pubspec.yaml
@@ -2,7 +2,6 @@ name: cw_dogecoin
description: "A new Flutter package project."
version: 0.0.1
publish_to: none
-author: Cake Wallet
homepage: https://cakewallet.com
environment:
@@ -13,10 +12,7 @@ dependencies:
flutter:
sdk: flutter
bip39: ^1.0.6
- bip32: ^2.0.0
- path_provider: ^2.0.11
mobx: ^2.6.0
- flutter_mobx: ^2.3.0
cw_core:
path: ../cw_core
cw_bitcoin:
### cw_evm/pubspec.yaml
@@ -2,7 +2,6 @@ name: cw_evm
description: A new Flutter package project.
version: 0.0.1
publish_to: none
-author: Cake Wallet
homepage: https://cakewallet.com
environment:
@@ -13,14 +12,9 @@ dependencies:
flutter:
sdk: flutter
web3dart: ^2.7.1
- eth_sig_util: ^0.0.9
- erc20: ^1.0.1
bip39: ^1.0.6
bip32: ^2.0.0
hex: ^0.2.0
- http: ^1.1.0
- hive: ^2.2.3
- collection: ^1.17.1
path: ^1.8.0
shared_preferences: ^2.0.15
mobx: ^2.0.7+4
### cw_monero/pubspec.yaml
@@ -14,12 +14,7 @@ dependencies:
bip39: ^1.0.6
bip32: ^2.0.0
ffi: ^2.0.1
- http: ^1.1.0
- path_provider: ^2.0.11
mobx: ^2.6.0
- flutter_mobx: ^2.3.0
- intl: any
- encrypt: ^5.0.1
polyseed: ^0.0.7
cw_core:
path: ../cw_core
### cw_mweb/pubspec.yaml
@@ -12,7 +12,6 @@ dependencies:
sdk: flutter
grpc: 4.0.1
path_provider: ^2.1.2
- plugin_platform_interface: ^2.0.2
ffi: ^2.1.0
protobuf: ^3.1.0
fixnum: ^1.1.1
### cw_nano/pubspec.yaml
@@ -2,7 +2,6 @@ name: cw_nano
description: A new Flutter package project.
version: 0.0.1
publish_to: none
-author: Cake Wallet
homepage: https://cakewallet.com
environment:
@@ -14,12 +13,7 @@ dependencies:
sdk: flutter
mobx: ^2.6.0
bip39: ^1.0.6
- bip32: ^2.0.0
- decimal: ^2.3.3
- libcrypto: ^0.2.2
- ed25519_hd_key: ^2.2.0
hex: ^0.2.0
- http: ^1.1.0
shared_preferences: ^2.0.15
nanoutil:
git:
### cw_solana/pubspec.yaml
@@ -13,12 +13,9 @@ dependencies:
sdk: flutter
cw_core:
path: ../cw_core
- http: ^1.1.0
- hive: ^2.2.3
bip39: ^1.0.6
mobx: ^2.3.0+1
shared_preferences: ^2.0.15
- bip32: ^2.0.0
hex: ^0.2.0
on_chain:
git:
### cw_tron/pubspec.yaml
@@ -13,8 +13,6 @@ dependencies:
sdk: flutter
cw_core:
path: ../cw_core
- cw_evm:
- path: ../cw_evm
on_chain:
git:
url: https://github.com/cake-tech/on_chain.git
@@ -25,7 +23,6 @@ dependencies:
ref: 59fdf29d72068e0522a96a8953ed7272833a9f57
mobx: ^2.3.0+1
bip39: ^1.0.6
- hive: ^2.2.3
shared_preferences: ^2.0.15
dev_dependencies:
### cw_wownero/pubspec.yaml
@@ -12,12 +12,7 @@ dependencies:
flutter:
sdk: flutter
ffi: ^2.0.1
- http: ^1.1.0
- path_provider: ^2.0.11
mobx: ^2.6.0
- flutter_mobx: ^2.3.0
- intl: any
- encrypt: ^5.0.1
polyseed: ^0.0.7
cw_core:
path: ../cw_core
### cw_zano/pubspec.yaml
@@ -14,10 +14,7 @@ dependencies:
bip39: ^1.0.6
bip32: ^2.0.0
ffi: ^2.0.1
- http: ^1.1.0
- path_provider: ^2.0.11
mobx: ^2.6.0
- flutter_mobx: ^2.3.0
intl: any
decimal: ^2.3.3
cw_core:
### cw_zcash/pubspec.yaml
@@ -14,16 +14,13 @@ dependencies:
mobx: ^2.6.0
bip39: ^1.0.6
mutex: ^3.1.0
-
path: any
- flat_buffers: any
zkool:
git:
url: https://github.com/cake-tech/zkool2.git
ref: cb3e96f10e58a8fc8632b40636a0c64aa21fb653
-
- path_provider: any
sqflite_common_ffi: any
+
dependency_overrides:
decimal: ^2.3.3
### pubspec.lock
@@ -27,7 +27,7 @@ packages:
source: hosted
version: "10.0.1"
animate_do:
- dependency: "direct main"
+ dependency: "direct overridden"
description:
path: "."
ref: "94ca5c43abd93901fcd97b47102b6e5d37ce67ca"
@@ -269,15 +269,6 @@ packages:
url: "https://github.com/dart-lang/tools"
source: git
version: "2.1.2"
- borsh_annotation:
- dependency: "direct overridden"
- description:
- path: "packages/borsh_annotation"
- ref: ab60e9d4c7d7271037597154ad2a835812054ed6
- resolved-ref: ab60e9d4c7d7271037597154ad2a835812054ed6
- url: "https://github.com/espresso-cash/espresso-cash-public"
- source: git
- version: "0.3.2"
breez_sdk_spark_flutter:
dependency: "direct overridden"
description:
@@ -854,7 +845,7 @@ packages:
source: git
version: "1.0.0"
equatable:
- dependency: "direct main"
+ dependency: "direct overridden"
description:
path: "."
ref: f98a58960545ba72b51d0eacf746af393a0c6b24
@@ -1378,7 +1369,7 @@ packages:
source: git
version: "3.1.2"
flutter_spinkit:
- dependency: "direct main"
+ dependency: "direct overridden"
description:
path: "."
ref: bf8508db798f1e31dea152b9b762f223d90d3449
@@ -1983,7 +1974,7 @@ packages:
source: git
version: "1.3.0"
lottie:
- dependency: "direct main"
+ dependency: "direct overridden"
description:
path: "."
ref: "1eef993a7a69cd05cfcc4c9eac4f2d89ecfab2d1"
@@ -2860,15 +2851,6 @@ packages:
url: "https://github.com/sneurlax/socks_socket"
source: git
version: "1.1.1"
- solana:
- dependency: "direct main"
- description:
- path: "packages/solana"
- ref: ab60e9d4c7d7271037597154ad2a835812054ed6
- resolved-ref: ab60e9d4c7d7271037597154ad2a835812054ed6
- url: "https://github.com/espresso-cash/espresso-cash-public"
- source: git
- version: "0.31.2+1"
source_gen:
dependency: "direct overridden"
description:
### pubspec_base.yaml
@@ -12,7 +12,6 @@ dependencies:
shared_preferences: 2.5.3
# provider: ^6.0.3
rxdart: ^0.28.0
- yaml: ^3.1.1
fast_scanner:
git:
url: https://github.com/MrCyjaneK/fast_scanner
@@ -43,14 +42,11 @@ dependencies:
dotted_border: ^2.0.0+2
smooth_page_indicator: ^1.0.0+2
flutter_inappwebview: ^6.1.5
- flutter_spinkit: ^5.1.0
uni_links:
git:
url: https://github.com/cake-tech/uni_links
ref: 1989db3f5d625e2fffbad7b85a3b1b8c78c6dfa1
path: uni_links
- lottie: ^3.3.1
- animate_do: ^2.1.0
cupertino_icons: ^1.0.5
encrypt: 5.0.2
crypto: ^3.0.2
@@ -61,7 +57,6 @@ dependencies:
connectivity_plus: ^6.1.3
keyboard_actions: ^4.0.1
another_flushbar: ^1.12.29
- progressive_blur: ^0.0.2
archive: ^4.0.3
cryptography: ^2.0.5
file_picker:
@@ -94,7 +89,6 @@ dependencies:
bloc: ^9.0.0
flutter_bloc: ^9.1.0
bloc_concurrency: ^0.3.0
- equatable: ^2.0.0
sensitive_clipboard:
git:
url: https://github.com/cake-tech/sensitive_clipboard
@@ -119,7 +113,6 @@ dependencies:
git:
url: https://github.com/cake-tech/nostr_tools.git
ref: 089d5a2dd751429a040ba10fb24fcbae564053e5
- solana: ^0.31.0+1
ledger_flutter_plus:
git:
url: https://github.com/vespr-wallet/ledger-flutter-plus
### pubspec_overrides.yaml
@@ -112,11 +112,6 @@ dependency_overrides:
url: https://github.com/dart-lang/tools
ref: b1312b18df67b0be3101ca15c03dfd8d7c9383bb
path: ./pkgs/boolean_selector
- borsh_annotation:
- git:
- url: https://github.com/espresso-cash/espresso-cash-public
- ref: ab60e9d4c7d7271037597154ad2a835812054ed6
- path: ./packages/borsh_annotation
breez_sdk_spark_flutter:
git:
url: https://github.com/breez/breez-sdk-spark-flutter
@@ -1339,11 +1334,6 @@ dependency_overrides:
git:
url: https://github.com/sneurlax/socks_socket
ref: e6232c53c1595469931ababa878759a067c02e94
- solana:
- git:
- url: https://github.com/espresso-cash/espresso-cash-public
- ref: ab60e9d4c7d7271037597154ad2a835812054ed6
- path: ./packages/solana
source_gen:
git:
url: https://github.com/dart-lang/source_genWhy this scored 18/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.