From ea077db62a7a48934b60e6b18891c84d602600eb Mon Sep 17 00:00:00 2001 From: yucheng-berri <293926326+yucheng-berri@users.noreply.github.com> Date: Wed, 14 Oct 2026 01:49:13 -0700 Subject: [PATCH] ci(codeql): document the three adjudicated weak-hashing suppressions --- .github/workflows/codeql.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d767c6a8951..8d40e60b3f6 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -81,6 +81,19 @@ jobs: if: matrix.language == 'python' uses: advanced-security/filter-sarif@2da736ff05ef065cb2894ac6892e47b5eac2c3c0 # v1.1 with: + # Each suppression below is an adjudicated intentional use, not a + # lingering weakness: + # - litellm/llms/oci/common_utils.py: the OCI request-signing spec + # mandates a SHA-256 digest (FIPS-approved, content integrity — + # not password hashing). + # - litellm/proxy/auth/password_policy.py: the HIBP k-anonymity + # protocol requires SHA-1 prefixes for its range queries. + # - litellm/proxy/utils.py: read-only legacy verifier that must hash + # submitted passwords with the OLD algorithm to authenticate + # pre-migration rows (no new SHA-256 rows are written). + # These patterns suppress the rule for the whole file, so any FUTURE + # weak-hashing added to these three files is hidden too — new code + # here needs explicit adjudication before it may rely on this filter. patterns: | -litellm/llms/oci/common_utils.py:py/weak-sensitive-data-hashing -litellm/proxy/auth/password_policy.py:py/weak-sensitive-data-hashing