Security
- fix: resolve 17 remaining CodeQL security alerts:
- 5x py/clear-text-logging-sensitive-data: Changed
logger.infotologger.debugfor OAuth configuration values inconfig.pyandweb/oauth/storage/__init__.py - 4x py/log-injection: Converted f-string logger calls to
%-style format with inline sanitization inweb/api/search.py,web/api/documents.py,web/oauth/authorization.py - 3x py/stack-trace-exposure: Removed exception variable from
logger.errorinweb/api/consolidation.py; documents.py endpoints use generic error messages - 1x py/tarslip: Replaced
tar.extractall()with member-by-member extraction after path traversal validation inembeddings/onnx_embeddings.py - 1x py/polynomial-redos: Added
{0,50}bound todate_rangeregex capture groups inutils/time_parser.py - 3x py/url-redirection: Added
_sanitize_state()helper to strip non-safe characters from OAuth state parameter before inclusion in redirect URLs inweb/oauth/authorization.py
- 5x py/clear-text-logging-sensitive-data: Changed
Full Changelog: v10.17.8...v10.17.9