You and AI

Ask the AI desk

What does AI mean for you?

The daily briefing

Trust · AI desk · stabiele SDK-release · makersbewijs

Who routes your AI traffic? Anthropic SDK 2.14 makes code override hidden proxy settings again

TL;DRAnthropic Python SDK 2.14.0 fixes a routing bug: environment variables could override an explicit proxy or trust_env=False. That affects who may sit on the path of AI requests, but the maker reports no leak or attack.

You and AI. Our lens: what changes for you, for us and for whoever makes the decisions?

Anthropic released version 2.14.0 of its official Python SDK on 24 November. Its most concrete change is not a smarter model but the road to the model. In earlier versions, the HTTP_PROXY, HTTPS_PROXY, ALL_PROXY and NO_PROXY environment variables could determine the network route even when a developer explicitly passed proxy= in code or used trust_env=False to say that environment settings should not be trusted. In 2.14.0, that deliberate code choice takes priority again.

The difference is technically small and operationally important. A proxy is an intermediary for network traffic. Organisations use proxies for access control, logging, filtering and egress policy, among other things. A developer may also deliberately send traffic directly or through a particular gateway. If a variable on the machine or in a container silently changes that choice, the request may pass through an administrator, logging layer or security product that was not part of the application configuration.

The fix handles two decisions separately. When proxy= is supplied to DefaultHttpxClient or DefaultAsyncHttpxClient, all requests now use that proxy and proxy environment variables are not read for routing. When trust_env=False is used, the clients ignore those variables. Without either explicit choice, normal environment-driven behaviour remains available. The commit changes the same logic in the synchronous and asynchronous clients.

The release also contains an intentional, visible behaviour change. A host listed in NO_PROXY could previously be reached directly even when proxy= had been set. After the upgrade, that host instead travels through the explicitly selected proxy. Anyone who wants a particular host outside that route must configure an explicit mount, for example an appropriate all://host entry set to None. An upgrade without retesting exceptions can therefore produce a working but different network path.

Anthropic added nine test combinations for both client types. They cover a default HTTPS_PROXY, a NO_PROXY exception, trust_env set to True and False, an explicit proxy against HTTPS_PROXY, ALL_PROXY and NO_PROXY, and a mount that disables proxy use. The tests inspect which transport proxy the client selected. That is useful maker evidence for the corrected decision logic, but not a measurement of live internet connections, proxy logging or data protection.

For You and AI, the central question is therefore not only which model produces an answer but who controls the path to that model. Application code, container configuration and the proxy operator may each hold part of that power. The SDK fix makes the first choice more predictable. It does not say whether a chosen proxy stores content, who can access its logs, which region is used or how a later router or model provider handles the request.

A safe check uses two clean local environments with versions 2.13 and 2.14, a local mock destination, a dummy API key and a local logging proxy. Test four cases: only an environment proxy, proxy= alongside NO_PROXY, trust_env=False and an explicit exclusion mount. Measure only direct versus proxied routing, status and optionally latency. Stop if any external connection occurs, content or credentials enter a log, or production configuration is required.

The release is marked stable on GitHub. It also adds SDK support for Google-managed data controls and compliance-review objects. Those are separate management surfaces, not proof that every organisation can use them or that controls are active. This article therefore stays with the documented proxy fix: one small execution boundary that teams can verify without turning it into a general safety certificate.

For you and us

A developer may believe the application uses a chosen network route while settings on a laptop, container or server send the request through another intermediary. The fix makes that choice more explicit; it does not make the selected proxy trustworthy by itself.

Your next step
Test 2.14.0 locally with a dummy proxy and no real prompts or keys. Check proxy=, trust_env=False, NO_PROXY and an explicit exclusion mount separately, recording only which route is actually used.

Good to know
Anthropic labels this a bug fix, not a CVE. The commit contains targeted regression tests, but no demonstrated attack, data leak, user harm, end-to-end network test or independent audit.

Original sources

Read the daily dossier

What do you think?

A reader average appears after three ratings.

Rate this article

More on this topic

Trust · Incidentanalyse · AI en jij · Published

ZDR is not a vault: your prompt travels through an AI chain you often cannot see

TL;DRDragos tracked nearly two million prompts with unique decoys and found indications of three provider compromises, hidden intermediaries and data policies that were not upheld. OpenRouter, Together AI and Phala published concrete measures and incident details. The lesson is not that every AI service leaks, but that every extra hop can see your data.

Read the context and sources

Trust · Release-analyse · AI en jij · Published

OpenAI Python 3.59 tightens four agent boundaries — but does not make your agent safe by itself

TL;DRThe new stable SDK release checks an upload directory after path resolution, removes known credential headers from error objects, rejects empty webhook secrets and stops non-finite numbers before a local tool handler in a beta agent session. These are small boundaries with real effects, not a general safety certificate.

Read the context and sources

Trust · Productanalyse · AI en jij · Published

Google opens Workspace to AI agents — but MCP is not proof of safety

TL;DRGoogle is making managed MCP servers and a Workspace CLI generally available. Under organizational policy, agents can reach Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat and Tasks. The new gateway enables oversight, but Google does not measure how many wrong actions it actually prevents.

Read the context and sources

A place in your morning

Henkjan de Krijger
30 years on the internet. Builder of Nexy and Mijndomein. Publisher of this briefing.

Every morning: You and AI.

What changes for you and us? The developments that matter, different perspectives and a useful next step in one short briefing.

Tap your Google account: the daily briefing goes to that address. Free, one-click unsubscribe.

Continue with Google

Sign in to save your preferences.

Privacy and terms