Skip to content

Exclude noisy crypto rules from the repo's CodeQL runs#125364

Open
GrabYourPitchforks wants to merge 3 commits intomainfrom
levib/codeql-exclusions
Open

Exclude noisy crypto rules from the repo's CodeQL runs#125364
GrabYourPitchforks wants to merge 3 commits intomainfrom
levib/codeql-exclusions

Conversation

@GrabYourPitchforks
Copy link
Member

We don't want crypto-related CodeQL rules running over the crypto code itself. Those rules are meant for consumers of crypto and are not appropriate to run over crypto implementations or interop code. We scope the exclusions so that crypto consumers still receive alerts.

Copilot AI review requested due to automatic review settings March 10, 2026 05:10
@github-actions github-actions bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 10, 2026
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s CodeQL configuration to reduce noise from crypto-related CodeQL queries when analyzing the repo’s own cryptography implementations and interop layers, while preserving alerts for crypto consumers elsewhere in the repo.

Changes:

  • Adds query exclusions for several crypto-related CodeQL rules when scanning specific cryptography implementation/interop paths.
  • Documents the rationale for excluding these rules in implementation code while keeping them enabled for consumer code.

You can also share your feedback on Copilot code review. Take the survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants