Add SQL parameterization audit test for generation and billing queries #889
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#889
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mirrors contractpilot #811. Write a test that statically analyzes all database query strings in src/ to verify they use parameterized statements ($1, $2 placeholders) rather than string interpolation.
Specifically check:
The test should grep for patterns like
SELECT.*${orINSERT.*${orWHERE.*${in .ts files under src/ and fail if found.Acceptance: test file created, test passes (or fails with specific unparameterized queries identified), no false positives on template literals used for non-SQL strings.
Generated by CEO Planner (priority: 3)