Skip to content

Fix empty firewall allowlist in Codex external detection job (gh-aw-detection)#41525

Merged
pelikhan merged 5 commits into
mainfrom
copilot/fix-firewall-configuration
Jun 25, 2026
Merged

Fix empty firewall allowlist in Codex external detection job (gh-aw-detection)#41525
pelikhan merged 5 commits into
mainfrom
copilot/fix-firewall-configuration

Conversation

Copilot AI commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

When features: gh-aw-detection: true is set with a Codex engine, the detection job's AWF firewall had an empty allowDomains list, causing Codex to fail immediately — api.openai.com, chatgpt.com, and api.github.com were all blocked.

The bug was in buildExternalDetectorExecutionStep: AWFCommandConfig was constructed without AllowedDomains, so BuildAWFConfigJSON emitted no network.allowDomains. Every other execution path (main agent job, Copilot detection) already sets this correctly.

Changes

  • pkg/workflow/threat_detection_external.go — compute AllowedDomains via GetAllowedDomainsForEngine for the detection engine before building AWFCommandConfig; also extend with api-target domains when set, matching the main-agent path

  • pkg/workflow/threat_detection_isolation_test.go — add TestExternalDetectorCodexFirewallDomains to assert that api.openai.com, chatgpt.com, and openai.com appear in the compiled detection job's AWF config

  • smoke-codex.lock.yml recompiled; detection job AWF config now includes:

    "network": {"allowDomains": ["172.30.0.1","api.openai.com","chatgpt.com","host.docker.internal","openai.com"]}


✨ PR Review Safe Output Test - Run 28199065644

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · 77.3 AIC · ⌖ 32.2 AIC · ⊞ 8.7K ·

… AWF command

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Fix Codex detection firewall: add AllowedDomains to external detector AWF command Fix empty firewall allowlist in Codex external detection job (gh-aw-detection) Jun 25, 2026
Copilot AI requested a review from pelikhan June 25, 2026 20:07
@pelikhan pelikhan marked this pull request as ready for review June 25, 2026 20:11
Copilot AI review requested due to automatic review settings June 25, 2026 20:11

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

Fixes a regression in the external threat-detection job path where the Agentic Workflow Firewall (AWF) config omitted network.allowDomains for Codex-based detection runs, causing the engine to fail immediately due to blocked required domains.

Changes:

  • Populate AWFCommandConfig.AllowedDomains for the external detector execution step using GetAllowedDomainsForEngine, and extend with engine.api-target domains when configured.
  • Add a Go test ensuring Codex external detection compilation includes required OpenAI/Codex domains in the detection job output.
  • Recompile workflow lock files so detection jobs now embed the generated AWF network.allowDomains list.
Show a summary per file
File Description
pkg/workflow/threat_detection_external.go Ensures external detection AWF config includes computed allowed domains (plus api-target-derived domains).
pkg/workflow/threat_detection_isolation_test.go Adds coverage to confirm Codex external detection output contains required allowed domains.
.github/workflows/test-quality-sentinel.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/test-project-url-default.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/test-dispatcher.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/test-create-pr-error-handling.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-workflow-call.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-workflow-call-with-inputs.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-update-cross-repo-pr.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-test-tools.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-temporary-id.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-service-ports.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-project.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-pi.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-otel-backends.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-opencode.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-multi-pr.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-crush.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-create-cross-repo-pr.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-copilot.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-copilot-sdk.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-copilot-arm.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-copilot-aoai-entra.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-copilot-aoai-apikey.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-codex.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-claude.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-call-workflow.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-antigravity.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-agent-scoped-approved.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-agent-public-none.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-agent-public-approved.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-agent-all-none.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/smoke-agent-all-merged.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/github-remote-mcp-auth-test.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/docs-noob-tester.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-testify-uber-super-expert.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-repo-chronicle.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-rendering-scripts-verifier.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-reliability-review.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-performance-summary.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-observability-report.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-news.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-multi-device-docs-tester.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-model-resolution.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-model-inventory.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-mcp-concurrency-analysis.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-max-ai-credits-test.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-issues-report.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-hippo-learn.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-geo-optimizer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-function-namer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-formal-spec-verifier.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-file-diet.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-fact.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-experiment-report.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-doc-updater.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-doc-healer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-credit-limit-test.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-compiler-quality.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-community-attribution.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-code-metrics.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-cli-tools-tester.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-cli-performance.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-choice-test.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-caveman-optimizer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-cache-strategy-analyzer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-byok-ollama-test.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-aw-cross-repo-compile-check.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-assign-issue-to-user.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-architecture-diagram.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-ambient-context-optimizer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-agentrx-trace-optimizer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/craft.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/copilot-session-insights.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/copilot-pr-prompt-analysis.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/copilot-pr-nlp-analysis.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/copilot-pr-merged-report.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/copilot-opt.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/copilot-cli-deep-research.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/copilot-agent-analysis.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/contribution-check.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/constraint-solving-potd.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/commit-changes-analyzer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/code-scanning-fixer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/cloclo.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/cli-version-checker.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/cli-consistency-checker.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/claude-code-user-docs-review.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/ci-doctor.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/ci-coach.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/chaos-pr-bundle-fuzzer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/changeset.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/breaking-change-checker.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/brave.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/blog-auditor.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/aw-failure-investigator.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/avenger.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/auto-triage-issues.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/audit-workflows.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/artifacts-summary.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/architecture-guardian.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/archie.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/approach-validator.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/api-consumption-report.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/agent-persona-explorer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/agent-performance-analyzer.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/workflows/ab-testing-advisor.lock.yml Recompiled lockfile; detection AWF config now includes network.allowDomains.
.github/mcp.json JSON formatting cleanup (inline args/tools arrays).

Copilot's findings

Tip

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

  • Files reviewed: 112/112 changed files
  • Comments generated: 1

Comment on lines +439 to +445
// The AWF config JSON in the detection job must include Codex's required domains
// so that the engine can reach api.openai.com and chatgpt.com inside the sandbox.
for _, domain := range []string{"api.openai.com", "chatgpt.com", "openai.com"} {
if !strings.Contains(detectionSection, domain) {
t.Errorf("Codex external detector AWF config must allow domain %q", domain)
}
}
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

🚀 Smoke Pi MISSION COMPLETE! Pi delivered. 🥧

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

🚀 Smoke Gemini MISSION COMPLETE! Gemini has spoken. ✨

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

✅ All tools validated successfully! Agent Container Smoke Test confirms agent container is ready.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

🚀 Smoke Antigravity MISSION COMPLETE! Antigravity has spoken. ✨

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

The threat detection engine failed to produce results.

Review the workflow run logs for details.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

🎬 THE ENDSmoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨

@github-actions

Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot - AOAI (apikey) is now investigating this pull request. Sources say the story is developing...

@github-actions

Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions

Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot - AOAI (Entra) is now investigating this pull request. Sources say the story is developing...

@github-actions

Copy link
Copy Markdown
Contributor

Smoke test FAIL

  • GitHub CLI ✅
  • Web fetch ❌
  • File write ✅
  • Bash verify ✅
  • Build ❌
    Overall: FAIL

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • proxy.golang.org

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "proxy.golang.org"

See Network Configuration for more information.

🥧 Smoke Pi — Powered by Pi · 4.26 AIC · ⌖ 11.4 AIC · ⊞ 4.3K ·

@github-actions

Copy link
Copy Markdown
Contributor

Agent Container Tool Check

Tool Status Version
bash 5.2.21
sh available
git 2.54.0
jq 1.7
yq v4.53.3
curl 8.5.0
gh 2.95.0
node v22.23.0
python3 3.11.15 (PyPy 7.3.23)
go 1.24.13
java 21.0.11
dotnet 10.0.301

Result: 12/12 tools available ✅

Overall Status: PASS

🔧 Tool validation by Agent Container Smoke Test · 17.7 AIC · ⌖ 11.6 AIC · ⊞ 5.4K ·

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: Gemini - 28199065666\n\n- GitHub MCP Testing: ✅\n- Web Fetch Testing: ✅\n- File Writing Testing: ✅\n- Bash Tool Testing: ✅\n- Build gh-aw: ❌\n\nOverall Status: FAIL

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • localhost

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "localhost"

See Network Configuration for more information.

Smoke Gemini — Powered by Gemini ·

@github-actions

Copy link
Copy Markdown
Contributor

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

The threat detection engine failed to produce results.

Review the workflow run logs for details.

Smoke Test: Codex - 28199066075
✅ GitHub PR reads / Serena / Playwright / file / bash / build / memory / cache
❌ Web-fetch unavailable
Skipped: issue field
Overall: FAIL

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex · 4.98 AIC · ⊞ 12.9K ·

@github-actions

Copy link
Copy Markdown
Contributor

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

The threat detection engine failed to produce results.

Review the workflow run logs for details.

Comment Memory

Smoke test lantern
Green builds and quiet browsers
Night keeps the receipts

Note

This comment is managed by comment memory.

It stores persistent context for this thread in the code block at the top of this comment.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex · 4.98 AIC · ⊞ 12.9K ·

@github-actions github-actions Bot 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.

💥 Automated smoke test review - all systems nominal!

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · 77.3 AIC · ⌖ 32.2 AIC · ⊞ 8.7K

(umask 177 && touch /tmp/gh-aw/threat-detection/detection.log)
GH_AW_MAX_AI_CREDITS="${{ vars.GH_AW_DEFAULT_DETECTION_MAX_AI_CREDITS || '400' }}"
printf '%s\n' "{\"\$schema\":\"https://github.com/github/gh-aw-firewall/releases/download/v0.27.10/awf-config.schema.json\",\"apiProxy\":{\"enabled\":true,\"enableTokenSteering\":true,\"maxRuns\":500,\"maxAiCredits\":${GH_AW_MAX_AI_CREDITS},\"maxCacheMisses\":5},\"container\":{\"imageTag\":\"0.27.10,squid=sha256:4d7a79482c47f2390f9fa87663cd9cb728bfb2380d9a9610479fa234c906ea98,agent=sha256:e47878fa4953f5b4d38b4ec12c155aa12ab9befea299ea2d21a8b104de8bcbc8,api-proxy=sha256:4bd2598466928efbd360fd6575b68c6b420a7ec3b7c1be20844c560a0dd2878e\"}}" > "${RUNNER_TEMP}/gh-aw/awf-config.json"
printf '%s\n' "{\"\$schema\":\"https://github.com/github/gh-aw-firewall/releases/download/v0.27.10/awf-config.schema.json\",\"network\":{\"allowDomains\":[\"api.business.githubcopilot.com\",\"api.enterprise.githubcopilot.com\",\"api.github.com\",\"api.githubcopilot.com\",\"api.individual.githubcopilot.com\",\"github.com\",\"host.docker.internal\",\"raw.githubusercontent.com\",\"registry.npmjs.org\",\"telemetry.enterprise.githubcopilot.com\"]},\"apiProxy\":{\"enabled\":true,\"enableTokenSteering\":true,\"maxRuns\":500,\"maxAiCredits\":${GH_AW_MAX_AI_CREDITS},\"maxCacheMisses\":5},\"container\":{\"imageTag\":\"0.27.10,squid=sha256:4d7a79482c47f2390f9fa87663cd9cb728bfb2380d9a9610479fa234c906ea98,agent=sha256:e47878fa4953f5b4d38b4ec12c155aa12ab9befea299ea2d21a8b104de8bcbc8,api-proxy=sha256:4bd2598466928efbd360fd6575b68c6b420a7ec3b7c1be20844c560a0dd2878e\"}}" > "${RUNNER_TEMP}/gh-aw/awf-config.json"

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.

Smoke test review: this firewall allowDomains addition looks correct — verifying the JSON is well-formed.

printf '%s\n' "{\"\$schema\":\"https://github.com/github/gh-aw-firewall/releases/download/v0.27.10/awf-config.schema.json\",\"apiProxy\":{\"enabled\":true,\"enableTokenSteering\":true,\"maxRuns\":500,\"maxAiCredits\":${GH_AW_MAX_AI_CREDITS},\"maxCacheMisses\":5},\"container\":{\"imageTag\":\"0.27.10,squid=sha256:4d7a79482c47f2390f9fa87663cd9cb728bfb2380d9a9610479fa234c906ea98,agent=sha256:e47878fa4953f5b4d38b4ec12c155aa12ab9befea299ea2d21a8b104de8bcbc8,api-proxy=sha256:4bd2598466928efbd360fd6575b68c6b420a7ec3b7c1be20844c560a0dd2878e\"}}" > "${RUNNER_TEMP}/gh-aw/awf-config.json"
printf '%s\n' "{\"\$schema\":\"https://github.com/github/gh-aw-firewall/releases/download/v0.27.10/awf-config.schema.json\",\"network\":{\"allowDomains\":[\"api.business.githubcopilot.com\",\"api.enterprise.githubcopilot.com\",\"api.github.com\",\"api.githubcopilot.com\",\"api.individual.githubcopilot.com\",\"github.com\",\"host.docker.internal\",\"raw.githubusercontent.com\",\"registry.npmjs.org\",\"telemetry.enterprise.githubcopilot.com\"]},\"apiProxy\":{\"enabled\":true,\"enableTokenSteering\":true,\"maxRuns\":500,\"maxAiCredits\":${GH_AW_MAX_AI_CREDITS},\"maxCacheMisses\":5},\"container\":{\"imageTag\":\"0.27.10,squid=sha256:4d7a79482c47f2390f9fa87663cd9cb728bfb2380d9a9610479fa234c906ea98,agent=sha256:e47878fa4953f5b4d38b4ec12c155aa12ab9befea299ea2d21a8b104de8bcbc8,api-proxy=sha256:4bd2598466928efbd360fd6575b68c6b420a7ec3b7c1be20844c560a0dd2878e\"}}" > "${RUNNER_TEMP}/gh-aw/awf-config.json"
cp "${RUNNER_TEMP}/gh-aw/awf-config.json" /tmp/gh-aw/awf-config.json
export GH_AW_MODELS_JSON_PATH="/tmp/gh-aw/models.json"

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.

Smoke test review: confirm imageTag pins remain consistent across all lock files.

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Automation hums at dusk
Bots test the rails with soft sparks
Green lights rhyme with code

Note

This comment is managed by comment memory.

It stores persistent context for this thread in the code block at the top of this comment.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot · 512.9 AIC · ⌖ 12.3 AIC · ⊞ 18.9K ·

@github-actions github-actions Bot 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.

Smoke test review submission complete.

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot · 512.9 AIC · ⌖ 12.3 AIC · ⊞ 18.9K

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot the config is not properly setup for codex. see https://github.com/github/gh-aw/actions/runs/28199066075

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot disable gh-aw-detection feature for all smoke agentic workflows

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

@copilot the config is not properly setup for codex. see https://github.com/github/gh-aw/actions/runs/28199066075

Fixed in 8b0cc6d. The Codex detection path now includes tool/runtime-derived allowlist domains plus Codex GitHub defaults (github.com, api.github.com) and the test now asserts against the specific AWF allowDomains JSON line.

Copilot AI and others added 2 commits June 25, 2026 21:21
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

@copilot disable gh-aw-detection feature for all smoke agentic workflows

Done. Disabled gh-aw-detection for all 28 smoke workflows and recompiled. Changes committed in 0be2513.

@github-actions

Copy link
Copy Markdown
Contributor

``
@copilot review all comments and address the unresolved review feedback on this PR.

Generated by 👨‍🍳 PR Sous Chef · 64.6 AIC · ⌖ 0.929 AIC · ⊞ 17.1K ·

@github-actions

Copy link
Copy Markdown
Contributor

``
@copilot please summarize the remaining blockers and confirm whether any more firewall allowlist changes are needed.

Generated by 👨‍🍳 PR Sous Chef · 64.6 AIC · ⌖ 0.929 AIC · ⊞ 17.1K ·

@pelikhan pelikhan merged commit 33ae87a into main Jun 25, 2026
29 checks passed
@pelikhan pelikhan deleted the copilot/fix-firewall-configuration branch June 25, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants