Skip to content

Add least-privilege permissions to triage workflow#1576

Merged
tashian merged 1 commit intomasterfrom
carl/cicd-security-hardening
Mar 3, 2026
Merged

Add least-privilege permissions to triage workflow#1576
tashian merged 1 commit intomasterfrom
carl/cicd-security-hardening

Conversation

@tashian
Copy link
Contributor

@tashian tashian commented Mar 3, 2026

Summary

  • Add explicit permissions: block (pull-requests: write, issues: write) to the triage workflow that triggers on pull_request_target, constraining the GITHUB_TOKEN to only the scopes actually needed

Ref: StepSecurity hackerbot-claw analysis

Test plan

  • Verify triage workflow still labels PRs and adds to project board on next external PR

🤖 Generated with Claude Code

Add explicit permissions: block (pull-requests: write, issues: write) to
constrain GITHUB_TOKEN scope on pull_request_target trigger.

Ref: https://www.stepsecurity.io/blog/hackerbot-claw-github-actions-exploitation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the needs triage Waiting for discussion / prioritization by team label Mar 3, 2026
@tashian tashian merged commit 3faba15 into master Mar 3, 2026
15 of 16 checks passed
@tashian tashian deleted the carl/cicd-security-hardening branch March 3, 2026 00:28
@hslatman hslatman added this to the v0.29.1 milestone Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs triage Waiting for discussion / prioritization by team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants