Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/vuln-remediation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Vulnerability Remediation

on:
schedule:
- cron: '0 3 * * 3'
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
remediate:
uses: kernel/security-workflows/.github/workflows/vuln-remediation.yml@main
with:
go-version-file: 'server/go.mod'
secrets: inherit
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Mutable branch ref for secrets-inheriting reusable workflow

Medium Severity

The reusable workflow at kernel/infra is referenced by a mutable branch name (@security/vuln-remediation-reusable) rather than a pinned commit SHA, while also using secrets: inherit with contents: write and pull-requests: write permissions. Any push to that branch in kernel/infra would immediately execute new code with this repo's full secrets and write token, without any change or review in this repo. All other reusable workflow calls in this repo are local; this is the first external reference and warrants SHA pinning.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 0b5bcf5. Configure here.

4 changes: 4 additions & 0 deletions socket.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: 2
projectIgnorePaths:
- "shared/cdp-test/"
- "images/chromium-headful/client/"
Loading