Skip to content

Add direct Codex Action vulnerability triage - #3

Draft
jeffreyolio wants to merge 4 commits into
GetJobber:mainfrom
jeffreyolio:slack-vulnerability-triage
Draft

Add direct Codex Action vulnerability triage#3
jeffreyolio wants to merge 4 commits into
GetJobber:mainfrom
jeffreyolio:slack-vulnerability-triage

Conversation

@jeffreyolio

@jeffreyolio jeffreyolio commented Jul 22, 2026

Copy link
Copy Markdown

What's in this PR?

Alternative A: adds an organization-owned reusable workflow that runs Barnacle dependency-vulnerability triage directly with openai/codex-action.

Codex receives read-only GitHub permissions, a narrow network allowlist, the shared triage skill, and a JSON output schema. It may prepare a workspace patch but cannot push or open a pull request. A separate job without the OpenAI key validates the result, applies any patch, opens a draft pull request, and uploads Barnacle's versioned result artifact.

This PR is mutually exclusive with the GitHub Agentic Workflow in #4; reviewers should choose one execution model.

Before

Repositories would need to duplicate the Codex prompt, permission profile, publication controls, and result contract.

After

Repositories call one small reusable workflow while Barnacle owns dispatch, Slack review, and lifecycle tracking.

QA Instructions

  • Confirm Codex cannot write repository contents or pull requests and the publishing job does not receive the OpenAI key.
  • After this workflow and one caller are merged, dispatch a synthetic no-change finding and confirm it produces barnacle-triage-<attempt_id> without opening a pull request.
  • Dispatch a controlled remediation and confirm only the publishing job opens a draft pull request, reports its URL in the result artifact, and never merges it.

References

@jeffreyolio jeffreyolio changed the title Add reusable Codex vulnerability triage workflow Add reusable Codex vulnerability triage backends Jul 22, 2026
@jeffreyolio jeffreyolio changed the title Add reusable Codex vulnerability triage backends Add direct Codex Action vulnerability triage Jul 22, 2026
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