Skip to content

feat: Improve query security and integrity checks#180

Merged
gadenbuie merged 7 commits intomainfrom
feat/check-filter-columns
Dec 22, 2025
Merged

feat: Improve query security and integrity checks#180
gadenbuie merged 7 commits intomainfrom
feat/check-filter-columns

Conversation

@gadenbuie
Copy link
Contributor

@gadenbuie gadenbuie commented Dec 22, 2025

For #166

  • In the "update" tool, ensure that the query returns all original columns, in any order (and additions are allowed).

  • Add simple query filtering to throw an error if obvious non-read-only queries are passed in. By default a wide range of queries are disallowed, but you can allow insert/update/etc (update in place) queries by setting querychat.enable_update_queries = TRUE or QUERYCHAT_ENABLE_UPDATE_QUERIES=true

@gadenbuie gadenbuie merged commit ba50a37 into main Dec 22, 2025
17 checks passed
@gadenbuie gadenbuie deleted the feat/check-filter-columns branch December 22, 2025 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant