Using pull_request_target with Unsafe Code Checkout
GitHub Actions workflow: on: pull_request_target followed by actions/checkout@v3. pull_request_target runs with base repository secrets. Checking out PR code provides access. Attackers submit PRs with malicious workflow code. Combined with secrets, enables repository compromise.