# Network and privacy boundaries / 网络与隐私边界 本页根据当前源码列明客户端的出网类别与触发条件,不是网关运营方的留存政策,也不把静态核对冒充抓包或安全审计。README 中英文隐私摘要均链接到这里。 This page describes client behavior established by source inspection on 2026-11-27 and reviewed for #947 on 2026-12-05. It is a categorized map, not an exhaustive host allowlist: user-defined endpoints, installed extensions and third-party account services can add destinations. The source links below are the verification entry points. No live account, model request, credential import or traffic capture was used for this documentation change. ## What receives a model payload The adapter selects a sender for the selected model lane. An EAC model goes through the EAC sender, a Kilo model through Kilo, and a configured aggregate model through its resolved provider. Other model integrations have their own sender paths. This branching does not establish a second EAC copy of requests sent on every other lane. EAC's sender serializes that EAC turn's complete shaped request body and posts it to the gateway's `/chat/completions`; the gateway can see its prompts, context, tool results and attached images before forwarding it to the model provider. This is the shared paid-channel trust boundary, including the model content rather than only metadata. Package sealing does not hide that content from the gateway operator. The EAC authorization panel in the plugin and standalone console displays this boundary and offers an explicit “I understand EAC can see the request body” action. It records an acknowledgement timestamp in this browser's local storage, scoped to the management API and notice version. This is a local notice record, not a server-side consent log or a request gate: inference and authorization remain available, and the record is not sent to the gateway. Clearing browser storage removes the record. This acknowledgement cannot supply the operator policies that are still missing. Retries, continuation/recovery and configured fallback chains can send subsequent model requests. Request shaping can alter the payload before it is sent. Enabled extensions can participate in request hooks within their declared permissions. A configured egress proxy, proxy environment variables or a network extension can also be part of the transport path. Choosing a provider is therefore not a guarantee of a direct connection with no intermediary. Verification: [`src/adapter.js`](../src/adapter.js) (`request` lane branch and `postSealedTurn`), [`src/eac.js`](../src/eac.js) (`postSealedStreamed`), [`src/aggregate.js`](../src/aggregate.js) (`resolveProvider` and poster), [`src/combos.js`](../src/combos.js), [`src/egress.js`](../src/egress.js), [`src/extensions.js`](../src/extensions.js). ## Other network activity | Category | Destinations established in source | Trigger and data boundary | | --- | --- | --- | | Keyless model listings and inference | `opencode.ai` and `api.kilo.ai` by default | Catalog refresh and selected model requests use the corresponding lane. Listing requests differ from generation requests; a model's presence is not proof of current access. | | EAC catalog and authorization | The gateway unlocked by the installed artifact; GitHub authorization flow | EAC availability, listing and login use the gateway. Authorization uses gateway start/poll/ack routes and a per-user token; an EAC model request sends its model payload. Package sealing can be extracted by an installer and does not provide a retention policy. | | Announcement feed | This repository's `feed/announcements.json` via raw GitHub, jsDelivr and `gh-proxy.com`; a configured `feedUrl` can name another permitted URL | Unmanaged plugin installs poll on the configured feed cadence and support manual refresh. These are metadata requests, not a blanket upload of the local dashboard. The configured destination receives a network request and its normal connection metadata. | | Plugin update checks and files | raw GitHub, `cdn.jsdelivr.net`, `gcore.jsdelivr.net`, `gh-proxy.com`; GitHub API/git/Atom commit-resolution paths | Self-managed installs schedule checks unless `updateCheckHours` is zero; managed installs skip the plugin's update checks. Installing an update is a separate operation. Artifact downloads use manifest/hash/signature verification. A valid project signature authenticates the project's artifact, not an official upstream Magpie release. | | Extension market | `Ebony-Vinyl/ofm-extensions` registry and signature through raw GitHub, both jsDelivr edges and `gh-proxy.com`, unless overridden | Plugin startup and six-hour ticks request a refresh; a fresh cache can avoid network access and mirrors are attempted in order. Installing extension code is separate; automatic extension updates require their own setting. File/cover downloads and enabled extensions have additional permission-controlled paths. | | Egress IP/country | `api.ipify.org`, `ipinfo.io`, `ipapi.co` | `src/probe.js` detects changes in the public exit IP, including VPN/proxy changes, so region availability can be refreshed. Startup/refresh/watch paths request the public IP and, where available, country; the plugin watch runs approximately every two minutes. The echo service observes the exit IP and normal connection metadata. The IP requests contain no model request body or conversation content. This is distinct from a model availability probe, which sends a small synthetic `ping` turn. | | Feedback collector | No default destination in this source version; an explicit `settings.feedbackUrl` selects a self-hosted collector | Feedback is disabled when no collector is configured. Starting GitHub login and submitting a feedback form are user actions. Submission sends only `kind`, `title`, `detail`, `version`, `platform` and `page`, with a collector-issued Bearer token after GitHub device-flow sign-in. It does not automatically collect or upload all local data, credentials or conversations. Details and authentication boundaries are described below. | | Aggregate providers | The enabled provider's registry endpoint or the user's Base URL override | Inference, Test and Discover contact the resolved provider. API keys are sent as that provider's authentication; redaction of management output does not mean the key never leaves the machine. A registry entry alone does not enable it. | | Imported subscriptions | `chatgpt.com`, `auth.openai.com`, `api.anthropic.com`, `cloudcode-pa.googleapis.com`, `oauth2.googleapis.com`; user endpoints for generic API subscriptions | Explicitly imported accounts can be used for inference and quota actions; token refresh occurs when needed. These paths send the imported account's authentication to the provider. Empty initial account storage is not an automatic import of native CLI accounts. | | Built-in account channels | Each supported channel's login, quota/credit and model endpoints | The channel pack mounts when its required host services exist; login/import, account actions and selected inference use that channel's services. Local account pools are supported. Mounting the pack does not establish that an account is logged in or that every provider receives inference. | | Optional outlet subscriptions and recommendations | Configured proxy/subscription services; `api.github.com` repository-stat endpoints | An enabled outlet can fetch its subscription and perform configured proxy health checks. The recommendations view refreshes cached repository statistics through GitHub; opening a linked website is a separate browser action. | Verification: [`src/feed.js`](../src/feed.js), [`src/updater.js`](../src/updater.js), [`src/extensions.js`](../src/extensions.js), [`src/probe.js`](../src/probe.js), [`src/subscriptions.js`](../src/subscriptions.js), [`src/picks.js`](../src/picks.js), [`src/eac-login.js`](../src/eac-login.js), [`index.js`](../index.js), [`vendor/channel-pack/NOTICE.md`](../vendor/channel-pack/NOTICE.md), and the channel pack's source tree. Specific hosts can change with configuration or upstream service changes. ## Native CLI credential discovery and local storage The subscription sidecar starts with an empty account list unless its own private store already contains imported accounts. Constructing it does not call native discovery. The `discover()` and `importLocal()` operations read only these known native credential locations under the configured home directory: - Codex: `~/.codex/auth.json` - Claude Code: `~/.claude/.credentials.json` - Gemini CLI: `~/.gemini/oauth_creds.json` Discovery parses local files to report candidate providers; local import is a separate action that copies the chosen account into the sidecar. Both the plugin and standalone subscription views require an explicit discovery action. Activating the standalone page or opening its local-discovery panel does not read these files: the panel lists all three paths and their purpose before the user clicks its read button. Each provider then has a separate import button. Credential discovery and import failures show fixed messages without credential-file contents. These facts do not justify a claim that every plugin start imports or transmits native CLI credentials. They also do not establish behavior for every third-party CLI or the embedded engine's own integrations. The plugin's own stores live under `DSH_HOME/our-free-model/`; the standalone service uses its own data directory by default. Private settings/credential files use permission-restriction code, while features requiring authentication send the relevant credentials to their service. Management responses redact keys/tokens or expose presence/fingerprints rather than the raw secrets. Anyone able to read the local files is within the local trust boundary. A local forwarding key and a LAN relay key are distinct; the LAN relay exchanges its key for the local key at ingress. Verification: [`src/subscriptions.js`](../src/subscriptions.js) (`NATIVE`, constructor, `discover`, `importLocal`, `resolve`, quota/token paths), [`client.js`](../client.js) (subscription discovery button), [`packages/standalone/frontend/agents.tsx`](../packages/standalone/frontend/agents.tsx), [`src/forward.js`](../src/forward.js), [`src/open-external.js`](../src/open-external.js). ## Feedback submission and authentication Both feedback clients in this source version have an empty default collector address. An unset or empty `feedbackUrl` fails locally with HTTP 503; it does not fall back to an old collector. The feedback navigation entry is currently hidden. A user who explicitly configures a collector chooses that operator as a separate trust boundary. HTTPS is required, with HTTP allowed only for loopback development. The supported feedback form uses GitHub device flow: the host calls the configured collector's `/api/auth/start` and `/api/auth/poll`, the user authorizes in the browser, and the collector returns its own session token. That token is stored locally in `feedbackAuth`; subsequent submissions send it in `Authorization: Bearer …` to the collector's `/api/feedback`. The management page receives sign-in state and login name, not that token. The collector's GitHub identity processing and its own retention policy remain the configured operator's responsibility. Only a user-submitted form sends `kind` (`bug` or `wish`), `title` (up to 120 characters), `detail` (up to 8,000 characters), `version`, `platform` and `page` (up to 64 characters each). Title and details are user input; version, platform and page describe the client context. The client does not attach the local database, credential files, logs or conversation history. Any sensitive material the user types or pastes into title/details is part of the submitted content. Login polling is part of the user-started device flow, not a background upload of all local data. Verification: [`src/feed.js`](../src/feed.js) (`feedbackBaseOf`, `createFeedback`), [`packages/standalone/feedback.mjs`](../packages/standalone/feedback.mjs), [`index.js`](../index.js) (feedback submit route), [`packages/standalone/frontend/feedback.tsx`](../packages/standalone/frontend/feedback.tsx), [`client.js`](../client.js) (`FeedbackPage`). ## What remains unverified Client source does not establish an operator's access logs, body logs, retention period, training use, subprocessors, jurisdiction or deletion procedure. Those EAC/operator policies still need a statement from the responsible operator; no retention, no-training or deletion promise can be inferred from the client. Formal artifact signing remains unclosed: this change does not verify an installed Windows executable's Authenticode signature or independently reproduce the Magpie binary. The engine's pinned source, local patch, build recipe and hashes are documented in [`vendor/magpie/engine.json`](../vendor/magpie/engine.json), [`vendor/magpie/NOTICE.md`](../vendor/magpie/NOTICE.md) and [`scripts/build-magpie-engine.mjs`](../scripts/build-magpie-engine.mjs); hashes identify bytes, while the project's signing key remains the update trust anchor. Issue #947 contains claims about a particular older install. The current source establishes the dispatch and discovery boundaries above; it does not prove or disprove every observation on that machine. **#947 needs operator input before closure**: an explicit EAC retention/training/deletion policy, artifact-specific formal signature/build evidence, and any additional runtime evidence remain outstanding. The local notice acknowledgement does not close those gaps.