Skip to content

fix(gha-security-review): Pin third-party actions only - #166

Merged
gricha merged 1 commit into
mainfrom
fix/gha-security-review-third-party-pin-only
Aug 8, 2026
Merged

fix(gha-security-review): Pin third-party actions only#166
gricha merged 1 commit into
mainfrom
fix/gha-security-review-third-party-pin-only

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Aligns gha-security-review with internal policy: pin third-party GitHub Actions, not first-party.

The skill previously treated unpinned actions/* / github/* version tags as medium findings ("defense in depth"), which caused false flags against our third-party-only pinning policy and disagreed with warden's builtin security-review workflow guidance.

Changes

  • references/supply-chain.md: require full SHA pins only for third-party/external actions and reusable workflows; explicitly do not report first-party actions/* / github/* version tags or same-repo/vendored actions as supply-chain pinning issues; gate reporting on job privilege; update detection greps, examples, and severity table
  • SKILL.md: tighten Check 6 and Safe Patterns to match

Checks

  • Manual content consistency review against the stated policy and warden's security-review github-workflows notes
  • No automated skill tests in this repo for this change

Risk

Low — skill text only. Reviewers should confirm org-owned internal actions wording matches expectations (treated as first-party within the org trust boundary).

Requested by Greg Pstrucha.

--

View Junior Session [Sentry]

Align supply-chain guidance with internal policy: require full SHA
pins for third-party actions in privileged jobs, and stop flagging
first-party actions/* / github/* version tags as findings.

Co-Authored-By: Greg Pstrucha <greg.pstrucha@sentry.io>
@gricha
gricha marked this pull request as ready for review August 8, 2026 06:32
@gricha
gricha merged commit 24fdb83 into main Aug 8, 2026
12 of 14 checks passed
@gricha
gricha deleted the fix/gha-security-review-third-party-pin-only branch August 8, 2026 06:33

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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.

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 7e127fe. Configure here.

# Find third-party actions pinned to branch names
grep -rn "uses:" .github/workflows/ \
| grep -v "actions/\\|github/\\|\\./" \
| grep -E "@(main|master|develop|latest)"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Detection greps miss third-party actions

Medium Severity

The new third-party filters use substring matches on actions/ and github/, so they drop common external actions whose names contain those strings — including tj-actions/*, aws-actions/*, and google-github-actions/*. Reviewers following these greps can miss unpinned supply-chain findings the rest of the doc still treats as reportable.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 7e127fe. 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