Repository navigation
Pin SQLite native dependency to secure SQLitePCLRaw bundle - #9993
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the repo’s test-project SQLite dependency strategy to ensure a secure, consistent native SQLite provider by standardizing on SQLitePCLRaw.bundle_e_sqlite3 (v3.0.3) via central package management, replacing the prior sqlite-net-pcl + SQLitePCLRaw.bundle_green approach.
Changes:
- Replaced
sqlite-net-pclandSQLitePCLRaw.bundle_greenreferences in StrawberryShake test projects withSQLitePCLRaw.bundle_e_sqlite3. - Added explicit
SQLitePCLRaw.bundle_e_sqlite3references to EF Core/Mocha/HotChocolate/GreenDonut test projects to override vulnerable transitive SQLite native dependencies. - Centralized the bundle version in
src/Directory.Packages.props(3.0.3) and removed the previous central versions.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.Razor.Tests/StrawberryShake.CodeGeneration.Razor.Tests.csproj | Switches SQLite test dependency to SQLitePCLRaw.bundle_e_sqlite3. |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/StrawberryShake.CodeGeneration.CSharp.Tests.csproj | Switches SQLite test dependency to SQLitePCLRaw.bundle_e_sqlite3. |
| src/StrawberryShake/Client/test/Persistence.SQLite.Tests/StrawberryShake.Persistence.SQLite.Tests.csproj | Switches SQLite test dependency to SQLitePCLRaw.bundle_e_sqlite3. |
| src/Mocha/test/Mocha.Tests/Mocha.Tests.csproj | Adds explicit SQLitePCLRaw.bundle_e_sqlite3 pin alongside EF Core Sqlite for security. |
| src/Mocha/test/Mocha.EntityFrameworkCore.Tests/Mocha.EntityFrameworkCore.Tests.csproj | Adds explicit SQLitePCLRaw.bundle_e_sqlite3 pin alongside EF Core Sqlite for security. |
| src/HotChocolate/Data/test/Data.Sorting.SqlLite.Tests/HotChocolate.Data.Sorting.SqlLite.Tests.csproj | Adds explicit SQLitePCLRaw.bundle_e_sqlite3 pin alongside EF Core Sqlite for security. |
| src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/HotChocolate.Data.Projections.SqlServer.Tests.csproj | Adds explicit SQLitePCLRaw.bundle_e_sqlite3 pin alongside EF Core Sqlite for security. |
| src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/HotChocolate.Data.Filters.SqlServer.Tests.csproj | Adds explicit SQLitePCLRaw.bundle_e_sqlite3 pin alongside EF Core Sqlite for security. |
| src/HotChocolate/Data/test/Data.EntityFramework.Tests/HotChocolate.Data.EntityFramework.Tests.csproj | Adds explicit SQLitePCLRaw.bundle_e_sqlite3 pin alongside EF Core Sqlite for security. |
| src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/GreenDonut.Data.EntityFramework.Tests.csproj | Adds explicit SQLitePCLRaw.bundle_e_sqlite3 pin alongside EF Core Sqlite for security. |
| src/Directory.Packages.props | Centralizes SQLitePCLRaw.bundle_e_sqlite3 version (3.0.3) and removes prior SQLite package versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced Jul 7, 2026
This was referenced Jul 14, 2026
This was referenced Jul 23, 2026
This was referenced Sep 1, 2026
Closed
This was referenced Sep 15, 2026
Closed
[nuget][SUI_Matcher]- Bump the sui-package-updates group with 20 updates
DFE-Digital/SUI_Matcher#405
Closed
This was referenced Sep 22, 2026
Closed
Closed
[nuget][SUI_Matcher]- Bump the sui-package-updates group with 20 updates
DFE-Digital/SUI_Matcher#410
Merged
This was referenced Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SQLitePCLRaw.bundle_e_sqlite33.0.3 inDirectory.Packages.props, replacing the previoussqlite-net-pcl+SQLitePCLRaw.bundle_greenpackages.e_sqlite3provider auto-registers forMicrosoft.Data.Sqlite.Core.SQLitePCLRaw.lib.e_sqlite3advisory (GHSA-2m69-gcr7-jv3q) pulled transitively viaMicrosoft.EntityFrameworkCore.Sqlite.Test plan
dotnet list src/All.slnx package --vulnerablereports no vulnerable packages.Persistence.SQLite,HotChocolate.Data.Sorting.SqlLite, andMocha.EntityFrameworkCore.