Script injection in GitHub Actions and how to prevent it

No script injection in workflows · actions.script_injection

Why it matters

An issue title or branch name pasted into run: with ${{ }} is executed as shell. Passing it through an environment variable makes it data again.

How to fix it

Does your repository pass this check?

Free for public GitHub repositories, no account needed. 50+ DevOps and security checks in about ten seconds.

Related checks