Skip to content

ci: add centralized vuln remediation workflow#94

Open
ulziibay-kernel wants to merge 3 commits intomainfrom
security/vuln-remediation-reusable
Open

ci: add centralized vuln remediation workflow#94
ulziibay-kernel wants to merge 3 commits intomainfrom
security/vuln-remediation-reusable

Conversation

@ulziibay-kernel
Copy link
Copy Markdown
Contributor

@ulziibay-kernel ulziibay-kernel commented Apr 9, 2026

Thin caller to the reusable 3-stage pipeline (triage → fix → PR) in kernel/infra. Per-repo config in .github/vuln-remediation.json.

Made with Cursor


Note

Medium Risk
Adds an automated scheduled GitHub Actions workflow that can open PRs and push changes, which impacts repo contents and CI behavior. Risk is moderate because it delegates execution to an external reusable workflow on main.

Overview
Introduces a new Vulnerability Remediation GitHub Actions workflow (.github/workflows/vuln-remediation.yml) that runs on a weekly schedule and via manual dispatch, with permissions to write contents and create PRs.

The workflow delegates remediation to kernel/security-workflows/.github/workflows/vuln-remediation.yml@main, enables setup-bun, and inherits repository secrets; adds socket.yml with version: 2 for tooling configuration.

Reviewed by Cursor Bugbot for commit 3d06ccc. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mcp Ready Ready Preview, Comment Apr 10, 2026 5:24pm

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

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

uses: kernel/infra/.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.

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