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:
setup-bun: true
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 ref with secrets inherit widens supply-chain risk

Medium Severity

The reusable workflow uses a mutable @main branch reference. With secrets: inherit and contents: write/pull-requests: write permissions, this introduces a supply-chain risk where changes to kernel/infra's main branch could execute with elevated privileges and full secret access here.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3f22641. Configure here.

1 change: 1 addition & 0 deletions socket.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version: 2