# I Audited 77.5k-Star free-claude-code (1,310 Files): Solid Proxy, Inflated Free-Token Math, and a Default 0.0.0.0:8082 Trap

> Source: <https://dev.to/tomtoptomtop/i-audited-775k-star-free-claude-code-1310-files-solid-proxy-inflated-free-token-math-and-a-1h41>
> Published: 2026-12-06 06:32:00+00:00

**Recommendation:** Before running free-claude-code, set HOST=127.0.0.1, or enable PROXY_AUTH_ENABLED=true and replace the default "freecc" token, since the proxy binds 0.0.0.0:8082 unauthenticated by default.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

`Alishahryar1/free-claude-code` is sitting near the top of GitHub Trending today with **77,450 stars** and **12,104 forks**. Its repo tagline promises 12 coding harnesses, 61 providers, "1.3B+ free tokens per month," browser sessions, and "ToS friendly" routing.

Instead of skimming the README, I pulled the repo tree (**1,310 files**, **1,088 Python modules**) and audited `pyproject.toml`, `LICENSE`, `provider_catalog.py`, `settings.py`, `admin_security.py`, `dependencies.py`, `commands.py`, and `scripts/install.sh` directly.

The short verdict: the routing engine itself is genuinely engineered—not a throwaway 200-line wrapper—but there are **three concrete gotchas** in the source you should fix *before* you launch it on your work laptop.

Before poking holes, give credit where the codebase earns it:

`api/` 102 files, `core/` 111 files, `providers/` 164 files):`/v1/messages`), OpenAI Chat Completions (`/v1/chat/completions`), OpenAI Responses (`/v1/responses`), or Gemini (`:generateContent`).` application/model_fallback/runner.py`):` ContinuationSeed`) and provider admission controls (` providers/admission*.py`), so rate-limited upstream keys degrade gracefully instead of crashing an agent run.`api/admin_security.py`):` require_loopback_admin` checks `request.client.host`, `Host`, and `Origin` against loopback addresses, blocking DNS rebinding and cross-site localhost attacks against the settings dashboard.
If you already juggle multiple API keys and want one local router across Claude Code, Codex, OpenCode, Cline, or Aider, this is serious plumbing.

`0.0.0.0:8082` LAN Bind With Proxy Auth Disabled
The Admin UI is locked to loopback. **The inference proxy endpoints are not.**

Check `src/free_claude_code/config/settings.py` (lines 750–760):

```
host: NonEmptyString = Field(default="0.0.0.0", validation_alias="HOST")
port: int = Field(default=8082, validation_alias="PORT")
open_admin_browser: bool = Field(default=True, validation_alias="FCC_OPEN_BROWSER")
proxy_auth_enabled: bool = Field(
    default=False,
    validation_alias="PROXY_AUTH_ENABLED",
)
proxy_auth_token: NonEmptyString = Field(
    default="freecc",
    validation_alias="ANTHROPIC_AUTH_TOKEN",
)
```

Trace the startup path to confirm nothing overrides it:

`scripts/install.sh` does `HOST` or `PROXY_AUTH_ENABLED`.` src/free_claude_code/cli/commands.py` passes `ServerSockets.reserve(settings.host, settings.port)` straight to Uvicorn.`src/free_claude_code/api/dependencies.py` short-circuits `require_proxy_auth` with `if not settings.proxy_auth_enabled: return`.
On an office LAN, hotel Wi-Fi, or coffee-shop network, anyone who reaches `http://<your-lan-ip>:8082/v1/messages` can spend your configured paid API keys—or proxy requests through your connected ChatGPT / GitHub Copilot OAuth sessions—with zero authentication.

**Fix before first run:** Set `HOST=127.0.0.1`. If you actually need LAN access, enable `PROXY_AUTH_ENABLED=true` and replace the default `"freecc"` token.

Parsing all **61 `ProviderDescriptor` entries** in `src/free_claude_code/config/provider_catalog.py` breaks down as follows:

| Category ( `provider_catalog.py` ) | Count | Examples | Who Pays? | 
|---|---|---|---|
| `CONNECTED_ACCOUNT` (OAuth) | **2** | `openai` (`chatgpt.com/backend-api/codex` ),`github_copilot` (`github-copilot-sdk>=1.0.34` ) | Your existing subscription | 
| Local runtimes | **3** | `ollama` ,`lmstudio` ,`llamacpp` | Your own GPU/RAM | 
| `CONFIG_API_KEY` cloud providers | **56** | NVIDIA NIM, OpenRouter, Groq, Cerebras, Google AI Studio, Anthropic, OpenAI API, Bedrock, Vertex, DeepSeek, etc. | Mix of paid APIs + rate-limited upstream free tiers | 

Free Claude Code grants **zero** tokens of its own. The "1.3B+ free tokens" headline adds up theoretical monthly caps across separate third-party free tiers that you register individually. You still hit every provider's RPM/RPD throttle, weaker agentic tool-calling accuracy compared to native frontier Claude models, and free-tier prompt logging policies (such as Google AI Studio's free tier).

`3.14.10`, and `AGPL-3.0-only`
Three operational details buried past the hero section:

`1,998` lines, `69.2 KB`):`=1`` install_claude=1`, `install_codex=1`, `install_pi=1`, `install_opencode=1`, `install_hermes=1`, `install_dsh=1`, `install_grok=1`, `install_muse=1`, `install_aider=1`, `install_agy=1`; only `install_cline=0`), pulling vendor install scripts from 9 separate domains plus optional `rtk v0.44.2` and `headroom-ai[mcp]==0.40.0`. Deselect everything you don't actually run during the prompt.`pyproject.toml` specifies `requires-python = "==3.14.10"` (managed via `uv`). Fine on unrestricted machines, annoying in locked-down corporate environments.`NOASSERTION` because `LICENSE` prepends a three-line copyright header, yet line 3 explicitly declares `SPDX-License-Identifier: AGPL-3.0-only`. Fine for local personal use; if your team modifies and hosts it as a shared internal gateway, AGPL network-copyleft disclosure rules apply.
If you already maintain multiple free/paid keys (NVIDIA NIM, OpenRouter, DeepSeek, local Ollama) and want clean multi-harness routing with automatic failover, `free-claude-code` is worth a look—**after** you lock `HOST=127.0.0.1` and turn on custom proxy auth.

If you expected zero-signup free Claude Opus out of the box, save yourself the setup time.

For your daily coding agent setup, are you sticking to one native subscription, or routing across multi-provider proxies?
