Skip to content

ci: use centralized vuln remediation workflow from infra#206

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

ci: use centralized vuln remediation workflow from infra#206
ulziibay-kernel wants to merge 6 commits intomainfrom
security/vuln-remediation-reusable

Conversation

@ulziibay-kernel
Copy link
Copy Markdown
Contributor

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

Replace per-repo workflow + prompt with a thin caller that invokes the reusable 3-stage pipeline (triage → fix → PR) in kernel/infra. Per-repo config in .github/vuln-remediation.json.

Made with Cursor


Note

Low Risk
Low risk CI/config-only change; it affects automated remediation scheduling and scanner scope but does not change application runtime behavior.

Overview
Adds a new GitHub Actions workflow (.github/workflows/vuln-remediation.yml) that runs on a weekly cron (and manually) and delegates remediation to the reusable kernel/security-workflows pipeline, passing server/go.mod for Go versioning and inheriting secrets.

Introduces socket.yml to configure Socket scanning, ignoring shared/cdp-test/ and images/chromium-headful/client/.

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

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 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

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 0b5bcf5. Configure here.

uses: kernel/infra/.github/workflows/vuln-remediation.yml@security/vuln-remediation-reusable
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.

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