InnerHop runs entirely on the user's local machine:
- Loopback Binding Only: By default, the proxy binds strictly to
127.0.0.1. Non-loopback hosts are rejected unlessINNERHOP_ALLOW_REMOTE=1is explicitly set. - Browser Origin / CSRF Guard: Management endpoints (
/api/*) reject browser requests whoseOriginis notlocalhost/127.0.0.1/file:///nullwith403 Forbidden, preventing malicious websites from reading local API keys or altering Harness configurations. - Credential Storage: API keys and configurations are stored locally in
~/.innerhop/config.json(with automatic non-destructive read-only migration from legacy~/.orchestrator/if present, and0600permissions on POSIX systems) and are never transmitted to any telemetry or third-party service. - Safe External Links: Electron IPC
app:openExternalstrictly restricts opened URLs tohttp:andhttps:schemes. - Loop & Retry Bounds: Inner-Hop transitions are hard-capped (
<= 3per HTTP request), and upstream401/403/429errors terminate the turn immediately without automated retry loops.
- Developer API Keys & Local Models Only: InnerHop exclusively supports official developer API Keys (
ANTHROPIC_API_KEY,OPENAI_API_KEY, Google Gemini, DeepSeek, OpenRouter, etc.) and local inference runtimes (e.g., Ollama). - Consumer Subscription Proxying Strictly Blocked: OpenAI and Anthropic Terms of Use prohibit proxying consumer subscription sessions (ChatGPT Plus/Pro, Claude Pro/Max) through third-party gateways or mixing consumer subscription tokens with developer API workflows. InnerHop does not support consumer OAuth passthrough and actively rejects requests carrying consumer ChatGPT session headers (
chatgpt-account-id) with HTTP403.
If you discover a security issue, please avoid opening a public issue with exploit details and contact the repository maintainers privately once the repository URL is published.