The Right Way to Handle Permissions in GitHub Actions: A Practical Guide to Staying Secure

GitHub Actions permissions can make or break the security of your CI/CD pipeline. This blog explains how to apply least-privilege principles, why default write permissions in `pull_request` workflows are still safe, and how thoughtful permission design protects you from common supply-chain risks. It also includes simple examples to help you understand what to allow, what to restrict, and how to keep your workflows secure without slowing development.

0 Comments

How Attackers Exploit pull_request_target: Secure Your GitHub CI/CD Workflows

GitHub Actions is powerful—but with great power comes… a long list of workflow security pitfalls. If you’ve spent any time around GitHub Actions, you’ve probably seen people casually using pull_request_target without fully understanding what it does. And honestly, that’s where most of the security issues begin. I’m Shreya Pohekar, and I work as a Security Researcher at Microsoft. Over the years of…

0 Comments