Skip to content

fix: filter CodeQL false positives in SARIF checker - #122

Merged
Coding-Dev-Tools merged 1 commit into
mainfrom
fix/codeql-sarif-false-positive-filter
Aug 5, 2026
Merged

fix: filter CodeQL false positives in SARIF checker#122
Coding-Dev-Tools merged 1 commit into
mainfrom
fix/codeql-sarif-false-positive-filter

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

CodeQL query-filters in config YAML doesn't suppress the py/weak-sensitive-data-hashing finding from SARIF output. Add a _FALSE_POSITIVE_RULES frozenset to check_codeql_sarif.py to skip known intentional patterns (SHA-1 feature hashing with usedforsecurity=False).

CodeQL query-filters in config YAML doesn't reliably suppress specific
rules from SARIF output. Add a _FALSE_POSITIVE_RULES frozenset to the
SARIF checker script to skip known intentional patterns:

- py/weak-sensitive-data-hashing: SHA-1 used for feature hashing (the
  hashing trick) in embedder_deterministic.py, not for security. Code
  sets usedforsecurity=False.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@Coding-Dev-Tools
Coding-Dev-Tools merged commit 0035083 into main Aug 5, 2026
23 checks passed
@Coding-Dev-Tools
Coding-Dev-Tools deleted the fix/codeql-sarif-false-positive-filter branch August 5, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant