Skip to content

Warp's "Custom Inference" privacy claim is false — requests are proxied through warp.dev #11681

Open

Description

@bmansvk

Pre-submit Checks

Describe the bug

I've been testing Warp's "Custom Inference" feature, which lets users configure a custom LLM endpoint and API token. After inspecting the network behavior, it's clear that requests are not sent directly to the configured endpoint — they are proxied through Warp's own infrastructure (*warp.dev). There is no technical reason for this. The user explicitly configured a third-party endpoint; the client should call it directly.

More importantly, the "Custom Inference" documentation claims that API keys are stored locally and never synced to the cloud. That statement is false in practice. If every request is routed through your servers, then the API key is, by definition, transmitted to and handled by your infrastructure on every call — regardless of where the key is "stored" at rest. The distinction between "synced" and "transmitted on every request" is meaningless from a security and privacy standpoint.

This is a serious misrepresentation. Please either (1) change the implementation so custom endpoints are called directly from the client, or (2) update the documentation to accurately describe the data flow, including the fact that user credentials and prompts are routed through Warp-controlled servers. Until one of those happens, the current description is misleading users about what they're consenting to.

To reproduce

Warp's "Custom Inference" feature claims that API keys are stored locally and never synced to the cloud. In practice, requests made to a user-configured custom endpoint are not sent directly from the client — they are proxied through Warp's own infrastructure (*.warp.dev). This contradicts the in-product description and has clear privacy/security implications: the API key and prompt content are transmitted to Warp servers on every request.

Steps to reproduce

  1. Open Warp → Settings → AI → Custom Inference (or equivalent).
  2. Configure a custom LLM provider with:
    • A custom endpoint URL pointing to a host you control (e.g. https://my-provider.example.com/v1).
    • A custom API token.
  3. Save the configuration and select this provider as the active one.
  4. Start capturing outbound network traffic from the Warp process,
  5. In Warp, trigger any AI action that should hit the configured endpoint (chat message, command suggestion, etc.). But its not.
  6. Observe the network traffic.

Expected behavior

No response

Screenshots, videos, and logs

No response

Operating system (OS)

Select an OS

Operating system and version

Macos 26

Shell Version

No response

Current Warp version

No response

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Activity

  1. added
    bug
    on May 26, 2026
  2. warp-for-oss commented on May 26, 2026

    @warp-for-oss
    Contributor

    @bmansvk

    Here's what I found while triaging this issue:

    Thanks for flagging this. This looks like a real custom-inference data-flow/documentation mismatch: endpoint credentials are stored locally at rest, but current requests appear to go through Warp's agent infrastructure rather than being fully direct client-to-endpoint calls.

    Maintainer details

    I concluded that custom inference appears to use Warp's server-mediated agent request path while the docs emphasize local-only endpoint credential storage, creating a likely data-flow/documentation mismatch..

    Triage summary

    This looks like a valid custom inference data-flow/documentation issue rather than just a reporter hypothesis. The submitted report does not include a packet capture, debugging ID, or exact Warp build, but the current client implementation supports the key observation: custom endpoint details are sent through Warp's normal agent API request path.

    Evidence from current code/docs

    • crates/ai/src/api_keys.rs stores custom endpoints in local secure storage, but custom_model_providers_for_request also builds a request payload containing each endpoint's base_url, api_key, and model config_key.
    • app/src/ai/agent/api.rs includes custom_model_providers in RequestParams when CustomInferenceEndpoints is enabled and the workspace/user is eligible.
    • app/src/ai/agent/api/impl.rs places that value into Request.Settings.custom_model_providers.
    • app/src/server/server_api.rs sends the resulting agent request to ChannelState::server_root_url()/ai/multi-agent rather than making a direct provider request from this code path.
    • app/src/settings_view/custom_inference_modal.rs rejects localhost/private endpoint hosts, which is also consistent with server-mediated endpoint access rather than arbitrary client-local routing.
    • The docs in ../docs/src/content/docs/agent-platform/inference/custom-inference-endpoint.mdx say endpoint URLs and credentials are stored locally and never synced to Warp's servers, and that Warp does not retain/store endpoint credentials. That wording may be technically about storage/sync, but it does not clearly disclose transient handling if requests are routed through Warp infrastructure.

    Likely next step

    Maintainers should decide whether the intended product contract is direct client-to-provider routing or server-mediated routing. If server-mediated routing is intended, the docs and in-product wording should explicitly describe the data flow and credential handling; if direct routing is intended, the client request-building path likely needs to change so custom inference credentials are not attached to Warp's /ai/multi-agent request.

    This is my automated analysis and may be incorrect. A maintainer will verify the details.

    Powered by Oz

  3. added
    area:agent
    documentation
    os:mac
    repro:high
    triaged
    on May 26, 2026
  4. kevinchevalier commented on May 26, 2026

    @kevinchevalier
    Contributor

    The Oz agent harness is not open source. In order to use the harness, traffic must be routed to the Warp server that then makes requests to the model endpoint.

    To avoid the Warp server completely, you must use a different harness.

    Can you point to the documentation that states the key will not be sent to the Warp server?

  5. bmansvk commented on Jun 1, 2026

    @bmansvk
    Author

    The Oz agent harness is not open source. In order to use the harness, traffic must be routed to the Warp server that then makes requests to the model endpoint.

    To avoid the Warp server completely, you must use a different harness.

    Can you point to the documentation that states the key will not be sent to the Warp server?

    I saw the docs and its there (routing my api keys via your servers).

    But this behavior should be mentioned directly in the app for the users who do not read the docs in the first place.

  6. kevinchevalier commented on Jun 1, 2026

    @kevinchevalier
    Contributor

    I think that is reasonable.

  7. added
    ready-to-spec
    on Jun 1, 2026
  8. warp-for-oss commented on Jun 1, 2026

    @warp-for-oss
    Contributor

    @kevinchevalier

    I'm starting work on product and tech specs for this issue.

    You can view the conversation on Warp.

    I created a new spec PR for this issue.

    Preview generated specs:

    Next steps:

    • Review the spec PR and confirm that the proposed approach looks right.
    • Request or make any needed spec updates before moving on to implementation.

    Powered by Oz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:agentbugdocumentationos:macready-to-specrepro:hightriagedwarp:auto-triage-review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions