Sign inSign up free

623. The pull_request_target Trap

hard 8 XP ~1 minQuiz

A workflow runs on pull_request_target, checks out ${{ github.event.pull_request.head.sha }}, and runs npm install && npm test. Why is this dangerous?

Part of CI/CD Pipelines in Practice. Next step: Self-Hosted Runners on a Public Repo

Choose one answer