Skip to content
← LibraryTechnique entry
CI-PR-TARGETInitial Access

GitHub Actions pull_request_target Injection

pull_request_target runs in base-repo context with secret access; PRs to a workflow that checks out the fork SHA execute attacker code with secrets.

§ Where this technique fits

CI-PR-TARGET is catalogued under the Initial Access tactic of the offensive-security kill-chain. It appears in 1 approved dossier in the registry, typically at step 3 on average.

§ Dossiers chaining this technique

§ What commonly comes next

  1. 01
    Workflow Command Injection
    CI-WORKFLOW-INJECT · Execution
    seen 1×