From 0e1e9795da0afa902786d35a65b3ae5a27a4988f Mon Sep 17 00:00:00 2001 From: Ashish Kurmi <100655670+ashishkurmi@users.noreply.github.com> Date: Tue, 21 Nov 2023 11:17:53 -0800 Subject: [PATCH] Create anomalous-outbound-calls.yaml --- .github/workflows/anomalous-outbound-calls.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/anomalous-outbound-calls.yaml diff --git a/.github/workflows/anomalous-outbound-calls.yaml b/.github/workflows/anomalous-outbound-calls.yaml new file mode 100644 index 00000000..ce6afe55 --- /dev/null +++ b/.github/workflows/anomalous-outbound-calls.yaml @@ -0,0 +1,16 @@ +name: Anomalous Outbound Calls +on: + workflow_dispatch: +jobs: + unexpected-outbound-calls: + name: AnomalousOutboundCalls + runs-on: ubuntu-latest + steps: + - name: Harden Runner + uses: step-security/harden-runner@v2 + with: + egress-policy: audit + - run: "curl https://attacker.com -L || true" + - run: "curl https://google.com -L || true" + - run: "curl microsoft.com:443 --connect-timeout 5 || true" + - run: "curl amazon.com:443 --connect-timeout 5 || true"