Skip to content

[CI] Security audit workflow - #840

Merged
sayakpaul merged 5 commits into
mainfrom
security-audit-workflow
May 11, 2026
Merged

sayakpaul merged 5 commits into
mainfrom
security-audit-workflow

Conversation

@sayakpaul

Copy link
Copy Markdown
Member

Similar to huggingface/kernels#526.

Could we get the following two secrets configured?

  • ANTHROPIC_API_KEY
  • SLACK_WEBHOOK_URL_SECURITY

@sayakpaul
sayakpaul requested review from danieldk and drbh as code owners May 11, 2026 05:57
Comment on lines +6 to +7
pull_request:
types: [opened, synchronize, reopened]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just to flag this cc @drbh . I am generally more in favor of doing this after reviewing and merging, because we are feeding untrusted input to an agent that has relatively high privileges (CI).

The kernels-community case is a bit different, because the moment we have merged a PR, the builders start already and potentially compromised code is rolled out to users. So it makes sense to do this on the PR.

However, that also means that we have to review code very carefully before running any CI on PRs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, that is what I had in mind as well. I guess it's a compromise.

@danieldk

Copy link
Copy Markdown
Member

@sayakpaul will set up the secrets now.

Comment thread .github/workflows/security-audit.yml Resolved
Comment thread .github/workflows/security-audit.yml Resolved
Comment thread .github/workflows/security-audit.yml Resolved
Comment thread .github/workflows/security-audit.yml Resolved
Comment thread .github/workflows/security-audit.yml Resolved
sayakpaul and others added 2 commits May 11, 2026 16:57
Co-authored-by: Daniël de Kok <me@danieldk.eu>
Co-authored-by: Daniël de Kok <me@danieldk.eu>
@sayakpaul
sayakpaul requested a review from danieldk May 11, 2026 07:58

@danieldk danieldk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very nice!!!

@drbh drbh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm, looking forward to seeing what this surfaces

@sayakpaul
sayakpaul merged commit d7d1339 into main May 11, 2026
10 checks passed
@sayakpaul
sayakpaul deleted the security-audit-workflow branch May 11, 2026 21:45
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.

3 participants