Skip to content

Escape dynamic SQL identifiers across storage backends - #312

Merged
BenCodez merged 3 commits into
masterfrom
security/sql-identifier-hardening
Sep 7, 2026
Merged

BenCodez merged 3 commits into
masterfrom
security/sql-identifier-hardening

Conversation

@BenCodez

@BenCodez BenCodez commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • quote and escape SQLite table and column identifiers used by schema and maintenance operations
  • quote MySQL/MariaDB column names when wiping stored data
  • retain prepared-statement binding for all data values

Tests

  • mvn -q -Dtest=UserTablePreparedStatementTest test
  • added malicious identifier regression cases for add-column and wipe-column operations
  • git diff --check

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-07T21:38:31.627551Z 0110d2e PR opened
🔒 Security Review ✅ Completed 2026-09-07T21:40:11.465014Z 0110d2e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@BenCodez
BenCodez merged commit 3f66545 into master Sep 7, 2026
4 checks passed
@BenCodez
BenCodez deleted the security/sql-identifier-hardening branch September 7, 2026 22:26
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