{"version":"2.1.326","anchor":"agent-proxy-relay-requires-a-caller-secret-and-drops-local-r","canonical_anchor":"agent-proxy-relay-requires-a-caller-secret-and-drops-local-r","heading":"The agent proxy port can now refuse callers without the session's secret","tier":"notice","area":"Agent Proxy","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/agent-proxy-relay-requires-a-caller-secret-and-drops-local-r","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### The agent proxy port can now refuse callers without the session's secret\n\nClaude Code's agent proxy can now require a session secret and refuses requests without it with a 407 error\n\n**Unclear.** It is not clear when the secret check is switched on.\n\n**What**\n\nClaude Code can run a proxy, a local network port that passes connections on for a session. That proxy can now require each program connecting to it to present the session's secret:\n\n- A connection request without the secret gets a 407 Proxy Authentication Required reply, saying the port serves only the session that started it.\n\n- Connections that have not yet presented the secret are limited in number and time out.\n\n- Connection requests can be limited to a list of allowed hosts and ports.\n\nThe proxy also checks that it is allowed to send before sending. The earlier handling for a local relay, with its leases and tickets, has been removed.\n\n**Why**\n\nOnly the session that owns the port can use it, so another program on the same machine cannot borrow it. If you connect your own tools through this port, they may now be turned away.\n\n- Area: Agent Proxy\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: org\n- Heads-up: yes"}