AI ENV GUARD

Claude Code Region Not Supported? Audit Browser & CLI Proxy Leaks

—SCORE / 100

Checking…

IP & network

Checking…

WebRTC

Checking…

Timezone

Checking…

Hardware & automation

Checking…

Why Browser Proxies Work While Claude Code CLI Still Leaks Your Real Region

One of the most confusing failures for developers is when Claude web chat opens cleanly in Chrome, yet running claude (Claude Code), Codex CLI, or Anthropic API scripts in the terminal immediately fails with a region restriction or account warning. The reason is architectural: browser extensions such as SwitchyOmega, Proxy Switchy, and anti-detect browser profiles only route traffic generated inside that browser process. Your shell—zsh, bash, PowerShell, Node.js, and Python—ignores browser-level proxy rules and sends HTTPS requests directly through your local ISP unless explicit terminal routing is configured.

Even when you turn on a system-wide proxy client, subtle CLI leaks remain common. Some tools honor HTTPS_PROXY and ALL_PROXY while ignoring macOS/Windows system proxy settings; others leak DNS lookups locally or fail over to direct IPv6 egress when only IPv4 TUN routing is enabled. Mixing a US browser session with direct non-supported terminal API calls on the same Anthropic account creates an instant multi-country login anomaly.

Use a two-layer audit before authenticating Claude Code. First, verify your browser profile right here on envguard.dev to confirm your exit IP is a clean non-hosting ASN (use a dedicated Static Residential ISP Proxy with code GXQVUA_081067 if flagged) with zero WebRTC leak and matching timezone. Second, run the open-source terminal checker github.com/fusae/claude-env-check directly inside the exact shell where you launch Claude Code. Confirm both browser and terminal exit through the same clean IP and supported region before signing in.

AI Account & Stripe Risk Matrix

How Anthropic Claude, Cursor, ChatGPT Plus, and Stripe Radar evaluate your network, browser container, and CLI environment — and the exact fix for each signal.

Risk FactorDetection SignalWhy AI/Stripe Flags ItVerified Fix
Datacenter ASNHosting / VPN / Proxy ASN (is_datacenter, is_vpn, company.type = hosting)Shared cloud and VPN subnets carry dense multi-account abuse history on Claude and Stripe Radar.Switch to a dedicated Static Residential ISP Proxy (code GXQVUA_081067).
WebRTC STUN LeakExtra public IPv4/IPv6 returned by STUN ICE candidatesExposes your real ISP route alongside the proxy IP, signaling proxy/VPN evasion during signup or checkout.Isolate profiles inside an Anti-Detect Browser Container (code YtPJkN) with WebRTC locked.
IP vs System Timezone MismatchIntl.DateTimeFormat timezone differs from IP geolocation timezoneClassic checkout anomaly in Stripe Radar and anti-fraud scoring when a US exit IP reports an Asia/Europe OS clock.Enable Auto IP-Timezone Sync in your browser profile container or align OS timezone to the exit IP.
CLI Direct LeakShell ignores browser proxy; direct egress from local ISPClaude Code, Codex CLI, and API SDKs bypass browser extensions and hit unsupported regions immediately.Export HTTP_PROXY / HTTPS_PROXY or TUN mode and verify with claude-env-check.

US 0% Sales Tax Billing Reference (OR · DE · MT · NH)

Match your exit IP state, browser timezone, and billing ZIP on Stripe AI subscriptions (Claude Pro, Cursor, ChatGPT Plus, Kiro) to avoid extra state sales tax and geo-mismatch declines.

Oregon (OR) — 0%

Portland, OR 97204
America/Los_Angeles

Delaware (DE) — 0%

Wilmington, DE 19801
America/New_York

Montana (MT) — 0%

Billings, MT 59101
America/Denver

New Hampshire (NH) — 0%

Manchester, NH 03101
America/New_York

Some links are affiliate links. The score is a reference, not a guarantee. IP data from ipapi.is, WebRTC via Google STUN, hardware checked locally.

Press ⌘C / Ctrl+C to copy