Repository navigation
[docs] network-doctor: add NET-008 Squid IP-exception DNS-leak finding - #11768
Conversation
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟡 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", | |||
|
@copilot address review feedback |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Updated NET-008 to apply to all runtimes and regenerated both diagnosis consumers. Validation passes. Commit: |
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit b715309 |
|
@copilot merge main and resolve conflicts |
…et-008-ad81cb8958d07857 Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Merged |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (2 files)
Coverage comparison generated by |


Caution
Protected files were modified in this change.
This pull request is in
request-reviewmode and requires explicit human scrutiny before merge.Protected files:
README.mdAllow 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.excludein the workflow Markdown frontmatter. For example, to allow.changeset/*, exclude the folder using.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-filesis configured, these paths must also match it. Rungh aw compileafter updating the workflow.Coverage (this run)
reviewQueue.firstTime; deferred queue 0. Cursors at collection:since/updatedSince2026-11-18T05:17:23Z,historyBefore2026-11-04T05:17:23Z,historyFloor2025-10-16T22:26:49Z. This PR does not advance any cursor.no-impact, 7covered, 3no-impactfor adjacent boundaries, and Prevent DNS leaks from Squid IP access exceptions #11562publication-pendinguntil 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.Change: NET-008 (new)
unknown(no release containing Prevent DNS leaks from Squid IP access exceptions #11562 verified)dstexceptions before the domain deny resolved the hostname, so the name reached the resolver even though HTTP access was refused.grep -nE '^acl (allow_api_proxy_ip|allow_ip_[0-9_]+) dst' path/to/squid.conf. Every line should carry-n.dst -nexceptions. 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-serversfor those. A denied name still reaching the resolver with the fixed ACLs goes to SEC-001 escalation, not public reproduction.http_accessexceptions were verified. ThedstACLs insrc/squid/ssl-bump.ts(tls_sni_guard_allowed_ip) and thedstACL built for broker upstreams insrc/squid/api-proxy-upstreams.tstake literal IPs and were not assessed.Current-main evidence
src/squid/config-sections.ts(generateApiProxySectionandgenerateAllowedIpSectionemitdst -n).src/squid/config-sections.test.ts(literal-only api-proxy and allowlisted-IP assertions) andsrc/squid-config-core.test.ts.docs/egress-filtering.mdalready describes the mechanism and the limits of the fix.@lpcox(merged); Prevent DNS leaks from Squid IP access exceptions #11562 was Copilot-authored.Review of other network-relevant merges
/etc/hostsalias, owned by runtime/CI (CI-007), not Squid or DNS policy.Validation
npm run diagnostics:validate: registry valid, 33 findings.npm run diagnostics:renderrun; onlydocs/diagnostics/README.mdis committed. The regenerated.github/agents/diagnose-awf.mdand.github/workflows/shared/diagnosis-findings.mdare left for trusted CI or a reviewer, as they fall outside this workflow's allowed files.