Skip to content

fix(ci): pass PR title via env to prevent script injection - #300

Merged
fubuloubu merged 1 commit into
mainfrom
ci/fix-prtitle-injection
Oct 23, 2026
Merged

fubuloubu merged 1 commit into
mainfrom
ci/fix-prtitle-injection

Conversation

@fubuloubu

Copy link
Copy Markdown
Member

Passes the PR title to commitlint through an env var instead of interpolating it into the run: script.
Prevents script injection via crafted PR titles under pull_request_target.

@fubuloubu
fubuloubu merged commit 0c5b175 into main Oct 23, 2026
12 of 13 checks passed
@fubuloubu
fubuloubu deleted the ci/fix-prtitle-injection branch October 23, 2026 17:52
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