You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there are several places in the codebase where trusted data (like table names) is directly interpolated into SQL queries without sanitization. While these inputs are currently from trusted sources, this practice could lead to bugs and potential security vulnerabilities if the trust assumptions change in the future.
Objectives
Review all SQL query construction points in the codebase
Implement proper input sanitization for:
Table names
Column names
Other SQL identifiers
Consider creating utility functions for SQL identifier sanitization
Background
Currently, there are several places in the codebase where trusted data (like table names) is directly interpolated into SQL queries without sanitization. While these inputs are currently from trusted sources, this practice could lead to bugs and potential security vulnerabilities if the trust assumptions change in the future.
Objectives
References
Impact
This improvement will:
/cc @gibber9809
The text was updated successfully, but these errors were encountered: