github_check_workflow_pr_target
Detect dangerous pull_request_target and checkout pattern in GitHub Actions to prevent arbitrary code execution from fork pull requests.
Instructions
Detect dangerous pull_request_target + checkout pattern that enables arbitrary code execution from fork PRs. Detects ACT-002.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name |