Review 2026-12-02 W0.4: Sql read-only statement guard bypassable via provider quoting #974

Open
opened 2026-12-02 16:06:11 -05:00 by dohertj2 · 0 comments
Owner

From the 2026-12-02 full code review (master 708a4889c). Plan: docs/superpowers/plans/2026-12-02-review-remediation.md §W0.4. Summary: docs/reviews/2026-12-02/00-SUMMARY.md.

Findings

  • S-7 (Medium) Sql: the read-only statement guard can be bypassed with provider-specific quoting — docs/reviews/2026-12-02/10-s7-modbus-sql-calc-clients.md

Notes

Dialect-aware guard + execute in a read-only transaction/connection. Gate against Postgres + MySQL fixtures.

Each finding in the slice report carries file:line, failure scenario, suggested fix and the test to add. Most are from code reading: reproduce in a failing test first; close as not-a-defect with evidence if it doesn't reproduce.

From the 2026-12-02 full code review (master `708a4889c`). Plan: `docs/superpowers/plans/2026-12-02-review-remediation.md` §W0.4. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **S-7** (Medium) Sql: the read-only statement guard can be bypassed with provider-specific quoting — `docs/reviews/2026-12-02/10-s7-modbus-sql-calc-clients.md` ## Notes Dialect-aware guard + execute in a read-only transaction/connection. Gate against Postgres + MySQL fixtures. Each finding in the slice report carries file:line, failure scenario, suggested fix and the test to add. Most are from code reading: reproduce in a failing test first; close as not-a-defect with evidence if it doesn't reproduce.
dohertj2 added the type:review-findingpriority:p1 labels 2026-12-02 16:06:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#974