Authorize before resolving
Use when
A coding-agent proxy restricts outbound domains, especially when its macOS sandbox also allows local development servers. Hostname resolution is an observable network effect, not free preparation.
Action
Require
the
0.163.0
repair
or
a
reviewed
equivalent
before
relying
on
this
boundary.
For
an
owned
proxy,
use
this
order:
check
explicit
denies;
require
an
allowlist
match
or
policy
approval;
resolve;
apply
configured
address
restrictions;
then
connect.
Approval
must
not
erase
explicit
denies
or
private-network
restrictions.
Retain address checks for inner HTTPS requests after approved CONNECT. In managed macOS policy, allowing local binding must not also grant unrestricted external UDP/TCP port 53. Keep the intended loopback proxy reachable.
Acceptance check
In
separately
authorized
fixtures,
inject
a
counting
resolver.
An
unapproved
payload.unapproved.example
must
be
denied
with
zero
lookups,
under
both
empty
and
unrelated
allowlists.
Approval
followed
by
private-address
resolution
must
still
fail
when
private
networking
is
prohibited.
Explicit
denies
must
survive
approval;
authorized
public
requests
must
still
work.
For macOS, exercise the actual sandboxed child: external UDP/TCP port 53 attempts must produce permission errors, while local binding and proxy connection succeed. Require the child’s “DNS probes completed” marker. A nested-Seatbelt skip is not a pass. Retain revision, effective policy, lookup counts, statuses, and output.
Evidence
The
October
15
release
names
this
repair.
Merged
PR
#51650
explains
both
pre-denial
DNS
disclosure
and
the
macOS
port
53
allowance.
Pinned
implementation
and
stable-tag
tests
expose
authorization
ordering,
zero-lookup
assertions,
private-address
rejection,
and
real
Seatbelt
child
checks.
These
are
inspectable
source
contracts,
not
a
locally
observed
passing
run.
Caveat
The macOS test explicitly returns without testing when nested Seatbelt is unavailable; a green suite alone can hide that gap. Private-network access remains configurable. Blocking port 53 does not block DNS-over-HTTPS, data sent to approved domains, or other tool routes. Other platforms need their own acceptance evidence. No test, upgrade, or configuration change was performed here.