Skip to content

fix(ci): prevent shell injection in notify-pr.yml#11

Merged
jpr5 merged 1 commit into
mainfrom
fix/notify-pr-shell-injection
May 15, 2026
Merged

fix(ci): prevent shell injection in notify-pr.yml#11
jpr5 merged 1 commit into
mainfrom
fix/notify-pr-shell-injection

Conversation

@jpr5
Copy link
Copy Markdown
Contributor

@jpr5 jpr5 commented May 15, 2026

PR_TITLE was shell-interpolated in double-quoted jq argument. A malicious PR title with $(command) would execute. Fixed by using jq --arg for all user-controlled values.

@jpr5 jpr5 merged commit 06ffd55 into main May 15, 2026
4 checks passed
@jpr5 jpr5 deleted the fix/notify-pr-shell-injection branch May 15, 2026 20:25
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