What changed, and why it matters
This commit updates the SQLite-related Dart/Flutter packages used by the Stack Wallet app. It bumps versions of the database library (drift), the underlying SQLite bindings (sqlite3), and related tooling. The change also removes the direct dependency on sqlite3_flutter_libs and adds sqlcipher_flutter_libs as a transitive dependency. The commit message gives no reason for the update, so we cannot tell from the diff alone whether it fixes a security bug, a compatibility issue, or something else. Updating dependencies is a routine maintenance action, but because this touches the encrypted local database layer of a cryptocurrency wallet, any underlying vulnerability could have high impact.
Treat as a routine dependency refresh pending further review. Verify the upstream drift/sqlite3/sqlcipher changelogs for security fixes, confirm SQLCipher encryption is still correctly initialized after the removal of the direct sqlite3_flutter_libs dependency, run the existing test suite, and perform a build/runtime smoke test on all supported platforms. Do not assume malicious intent without additional evidence.
Security signals we found
Dependency update for SQLite/Drift database stack
New transitive package sqlcipher_flutter_libs introduced
sqlite3_flutter_libs moved from direct to transitive dependency and marked '+eol'
No commit-level explanation or changelog reference provided
Affects local database layer of a wallet application
Evidence from the diff
The diff updates pubspec.lock and the pubspec.template.yaml generator. Direct dependencies changed: sqlite3 2.9.0 -> 3.5.2, drift ^2.28.2 -> 2.34.4, drift_flutter ^0.2.7 -> 0.3.1, drift_dev ^2.28.3 -> 2.34.4. sqlite3_flutter_libs is no longer a direct dependency (it remains transitive at 0.6.0+eol), and sqlcipher_flutter_libs 0.7.0+eol and native_toolchain_c 0.19.3 appear as new transitive dependencies. The ‘+eol’ suffix on the flutter libs packages suggests they are end-of-life/legacy packaging. No code changes, migration notes, or security rationale are present in the commit or supplied references.
Changed components
pubspec.lockscripts/app_config/templates/pubspec.template.yamldrift ORM/database runtimesqlite3 bindingssqlcipher_flutter_libs transitive dependencylocal encrypted wallet databaseInspect captured patch +33 / −18
diff --git a/pubspec.lock b/pubspec.lock
index 82c90c1..e2fa574 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -849,26 +849,26 @@ packages:
dependency: "direct main"
description:
name: drift
- sha256: "970cd188fddb111b26ea6a9b07a62bf5c2432d74147b8122c67044ae3b97e99e"
+ sha256: bab55d542d63765f6250ee3e2c62e11bfa1145d4ec2ffa05353c8fb4e10b52c1
url: "https://pub.dev"
source: hosted
- version: "2.31.0"
+ version: "2.34.4"
drift_dev:
dependency: "direct dev"
description:
name: drift_dev
- sha256: "917184b2fb867b70a548a83bf0d36268423b38d39968c06cce4905683da49587"
+ sha256: "5c0e6ae3c2afcfc2e3f66ea51e7268622906a1e29fd0ee82e6a9b17bfd73a9b0"
url: "https://pub.dev"
source: hosted
- version: "2.31.0"
+ version: "2.34.4"
drift_flutter:
dependency: "direct main"
description:
name: drift_flutter
- sha256: c07120854742a0cae2f7501a0da02493addde550db6641d284983c08762e60a7
+ sha256: "91acf4bee7c3c84467cba46455aa70e5292a3b889f4582645d74f2e5a8c106f2"
url: "https://pub.dev"
source: hosted
- version: "0.2.8"
+ version: "0.3.1"
dropdown_button2:
dependency: "direct main"
description:
@@ -1704,6 +1704,14 @@ packages:
url: "https://github.com/cypherstack/nanodart"
source: git
version: "2.0.1"
+ native_toolchain_c:
+ dependency: transitive
+ description:
+ name: native_toolchain_c
+ sha256: a1c26117c48cebe5677b0cf0e33a980a79a7c5577effc86f52e5a0d309cdcb60
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.19.3"
native_toolchain_cmake:
dependency: transitive
description:
@@ -2182,30 +2190,38 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.10.2"
+ sqlcipher_flutter_libs:
+ dependency: transitive
+ description:
+ name: sqlcipher_flutter_libs
+ sha256: "38d62d659d2fb8739bf25a42c9a350d1fdd6c29a5a61f13a946778ec75d27929"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.7.0+eol"
sqlite3:
dependency: "direct main"
description:
name: sqlite3
- sha256: f393d92c71bdcc118d6203d07c991b9be0f84b1a6f89dd4f7eed348131329924
+ sha256: "4c7fe79840389aaeaf05fd093f795b631b5a98e2bd28d54e555c100f4a9c7a1c"
url: "https://pub.dev"
source: hosted
- version: "2.9.0"
+ version: "3.5.2"
sqlite3_flutter_libs:
- dependency: "direct main"
+ dependency: transitive
description:
name: sqlite3_flutter_libs
- sha256: ccd29dd6cf6fb9351fa07cd6f92895809adbf0779c1d986acf5e3d53b3250e33
+ sha256: "3ed7553eee7bb368f8950f58ba29f634e06e813c029aff6a0d60862b96de8454"
url: "https://pub.dev"
source: hosted
- version: "0.5.25"
+ version: "0.6.0+eol"
sqlparser:
dependency: transitive
description:
name: sqlparser
- sha256: "337e9997f7141ffdd054259128553c348635fa318f7ca492f07a4ab76f850d19"
+ sha256: "772bb2f6f5bce0631a60f26b57d6e8882e1105c22345b05c163ee6ee5d7ba32d"
url: "https://pub.dev"
source: hosted
- version: "0.43.1"
+ version: "0.45.0"
stack_trace:
dependency: transitive
description:
diff --git a/scripts/app_config/templates/pubspec.template.yaml b/scripts/app_config/templates/pubspec.template.yaml
index 0993949..d656ba8 100644
--- a/scripts/app_config/templates/pubspec.template.yaml
+++ b/scripts/app_config/templates/pubspec.template.yaml
@@ -230,8 +230,7 @@ dependencies:
ref: dea799c20bc917f72b18c916ca96bc99fb1bd1c5
path: packages/solana
calendar_date_picker2: ^1.0.2
- sqlite3: 2.9.0
- sqlite3_flutter_libs: 0.5.25
+ sqlite3: 3.5.2
camera_linux:
git:
url: https://github.com/cypherstack/camera-linux
@@ -255,8 +254,8 @@ dependencies:
git:
url: https://github.com/cypherstack/namecoin_dart
ref: 73a29731ba493595fed331d92c7a4b5604fd6e23
- drift: ^2.28.2
- drift_flutter: ^0.2.7
+ drift: 2.34.4
+ drift_flutter: 0.3.1
path: ^1.9.1
mweb_client: ^0.2.0
fixnum: ^1.1.1
@@ -288,7 +287,7 @@ dev_dependencies:
import_sorter: ^4.6.0
flutter_lints: ^3.0.1
isar_community_generator: 3.3.0-dev.2
- drift_dev: ^2.28.3
+ drift_dev: 2.34.4
flutter_native_splash:
image: assets/icon/splash.png
Why this scored 35/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.