Skip to content

[docs] network-doctor: add NET-008 Squid IP-exception DNS-leak finding - #11768

Merged
lpcox merged 3 commits into
mainfrom
docs/network-doctor-net-008-ad81cb8958d07857
Nov 18, 2026
Merged

lpcox merged 3 commits into
mainfrom
docs/network-doctor-net-008-ad81cb8958d07857

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Caution

Protected files were modified in this change.
This pull request is in request-review mode and requires explicit human scrutiny before merge.

Protected files: README.md

Allow intentional protected-file changes

If this workflow is intended to modify these files, add specific filenames or folder prefixes to safe-outputs.create-pull-request.protected-files.exclude in the workflow Markdown frontmatter. For example, to allow .changeset/*, exclude the folder using .changeset/:

safe-outputs:
  create-pull-request:
    protected-files:
      policy: request-review
      exclude:
        - .changeset/

Keep your existing policy and exclusions. Folder exclusions use path prefixes, not glob patterns, and allow all files beneath that folder, including subfolders. Other protected files still require review. If allowed-files is configured, these paths must also match it. Run gh aw compile after updating the workflow.

Coverage (this run)

  • Intake: 205 pending merged PRs, all in reviewQueue.firstTime; deferred queue 0. Cursors at collection: since/updatedSince 2026-11-18T05:17:23Z, historyBefore 2026-11-04T05:17:23Z, historyFloor 2025-10-16T22:26:49Z. This PR does not advance any cursor.
  • Reviewed 50 of 205 (the first 40 in queue order, plus 10 network-adjacent PRs picked out by a content scan of every one of the 205 bodies). 155 first-time candidates remain for later runs.
  • Receipts are cache-only. 39 no-impact, 7 covered, 3 no-impact for adjacent boundaries, and Prevent DNS leaks from Squid IP access exceptions #11562 publication-pending until this PR is public. The Resolve enclave MCP gateway DNS after network attachment #11393 and Clarify Sigstore installation failures and document proxy requirements #11743 receipts name their owning boundary.
  • npm run diagnostics:freshness: no overdue records.
  • The merged-PR file lists were integrity-filtered, so verification used the default-branch checkout rather than per-PR diffs.

Change: NET-008 (new)

  • Boundary: network · Status: fixed · Version scope: introduced/fixed unknown (no release containing Prevent DNS leaks from Squid IP access exceptions #11562 verified)
  • Expected policy vs defect: the Squid denial of the unlisted hostname is expected policy and not the defect. The defect was that evaluating the API-proxy and explicit-IP dst exceptions before the domain deny resolved the hostname, so the name reached the resolver even though HTTP access was refused.
  • Probe (read-only, secret-safe): grep -nE '^acl (allow_api_proxy_ip|allow_ip_[0-9_]+) dst' path/to/squid.conf. Every line should carry -n.
  • Action: use source with numeric-only dst -n exceptions. Do not widen the allowlist or disable DNS filtering. Direct DNS queries and lookups of allowlisted names are out of scope; use a policy-enforcing resolver via --dns-servers for those. A denied name still reaching the resolver with the fixed ACLs goes to SEC-001 escalation, not public reproduction.
  • Scope limit stated in the record: only the API-proxy and explicit-IP http_access exceptions were verified. The dst ACLs in src/squid/ssl-bump.ts (tls_sni_guard_allowed_ip) and the dst ACL built for broker upstreams in src/squid/api-proxy-upstreams.ts take literal IPs and were not assessed.

Current-main evidence

Review of other network-relevant merges

Validation

  • npm run diagnostics:validate: registry valid, 33 findings.
  • npm run diagnostics:render run; only docs/diagnostics/README.md is committed. The regenerated .github/agents/diagnose-awf.md and .github/workflows/shared/diagnosis-findings.md are left for trusted CI or a reviewer, as they fall outside this workflow's allowed files.
  • No code, workflows, skills, agents or schemas changed. No auto-merge.

Generated by Network Doctor Updater · copilot · routed: sonnet55 high · ~82 AIC · ⌖ ~2 AIC · ⊞ 6K · ◷

@github-actions github-actions Bot added ai-generated documentation Improvements or additions to documentation labels Nov 18, 2026
@lpcox
lpcox marked this pull request as ready for review November 18, 2026 05:32
Copilot AI adaptive review requested due to automatic review settings November 18, 2026 05:32

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.

🟡 Changes recommended

Generated diagnosis consumers omit NET-008, causing parity and freshness checks to fail, while its runtime filter incorrectly excludes affected gVisor runs.

2 open issues
What changed in this PR

This documentation-only PR adds NET-008 to AWF’s diagnosis registry for the Squid IP-exception DNS leak addressed by #11562.

Changes:

  • Documents symptoms, a read-only ACL probe, remediation, scope limits, and supporting references.
  • Adds NET-008 to the registry and symptom lookup indexes.
File Description
docs/​diagnostics/​README.md Adds NET-008 to the generated diagnosis indexes.
docs/​diagnostics/​findings/​network/​NET-008.json Defines the canonical DNS-leak diagnosis and safe response guidance.

Review effort: Max (adaptive)

@@ -0,0 +1,37 @@
{
"$schema": "../../schema.json",
"id": "NET-008",
@lpcox

lpcox commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback

Copilot AI commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback

Updated NET-008 to apply to all runtimes and regenerated both diagnosis consumers. Validation passes. Commit: e158a45.

Copilot AI requested a review from lpcox November 18, 2026 15:04
@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Copilot review passed with no inline comments.

@github-actions[bot] Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-11768 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit b715309

@lpcox

lpcox commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

@copilot merge main and resolve conflicts

…et-008-ad81cb8958d07857

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

@copilot merge main and resolve conflicts

Merged main cleanly; no conflicts required resolution. Merge commit: 8b46dc2.

@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 94.33% 94.33% ➡️ +0.00%
Statements 92.94% 92.94% ➡️ +0.00%
Functions 93.53% 93.53% ➡️ +0.00%
Branches 87.21% 87.20% ➡️ -0.01%
📁 Per-file Coverage Changes (2 files)
File Lines (Before → After) Statements (Before → After)
src/nvx/one-shot-process.ts 84.0% → 81.5% (-2.47%) 76.8% → 74.7% (-2.11%)
src/commands/main-action-cleanup.ts 96.9% → 97.9% (+1.03%) 97.0% → 98.0% (+0.99%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@lpcox
lpcox merged commit e413de2 into main Nov 18, 2026
38 of 40 checks passed
@lpcox
lpcox deleted the docs/network-doctor-net-008-ad81cb8958d07857 branch November 18, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-generated documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A host name the proxy refuses is still resolved, so it leaves the runner in a DNS query

3 participants