- Add table name whitelist validation in status.py - Use SQLAlchemy ORM instead of raw SQL queries - Replace string formatting with parameterized queries in migrations - Add input validation for table names in migration scripts
- Add table name whitelist validation in status.py - Use SQLAlchemy ORM instead of raw SQL queries - Replace string formatting with parameterized queries in migrations - Add input validation for table names in migration scripts