published fresh until

Cline: how to stop debug capture saving secrets to disk

Summary As of November 2026, Cline's opt-in request capture could save prompt content locally. Learn which settings disabled it and where captures went; the removal PR is now merged (checked 2026-11-14).

Not for secrets included in a deployed website bundle, see agent-deployed-gitignored-env-to-cloudflare-pages-google-bill-what-to-check.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Set Cline's provider-request capture mode to off before using a build with this opt-in debug feature (Cline provider README, before removal).

Do first: set CLINE_CAPTURE_PROVIDER_REQUEST=off in the environment used to launch Cline; off is the documented default (Cline provider README, before removal).

Findings

  • Affected report: IRwDONE's October 19 issue #15196 concerns Desktop beta 0.0.48, @cline/core 0.0.95, Windows 11 build 10.0.26200. The symptom is “Plaintext credentials on disk”. The reporter says an agent persisted user-level capture variables while debugging and later read provider settings; the billing allegation is that reporter's account, not an independently established consequence of capture.
  • Cause and location: Cline's provider README, before removal documents off, summary and full; only full includes a payload preview. Files go to CLINE_CAPTURE_DIR, or CLINE_DATA_DIR/provider-request-captures. The implementation returns without recording when mode is off. IRwDONE reports that credentials in message content appeared in *.ai_sdk_prompt.*.provider-request.json; a wire capture excluding authorization headers does not establish that message content is secret-free.
  • Check the remaining settings: the README also documents CLINE_CAPTURE_WIRE=false and CLINE_CAPTURE_DIR. Identify the configured directory before inspecting its files. IRwDONE's reproducer uses a dummy credential and a full Desktop restart; its check looks for that dummy value in payload.preview (issue #15196). That is a reported diagnostic, not a reason to enable full capture with real credentials.
  • Removal: maxpaulus43's PR #15459, opened October 30, describes “full provider request bodies” and removes capture code plus its environment controls. Merged — Nov 2, 2026 (commit d19f176)

Its author says CLINE_CAPTURE_BROWSER is unrelated. The published Desktop 0.0.49 notes do not announce this removal; they do not establish a released capture fix.

Limits

The exposure and later paid calls come from one reporter; the removal proposal independently confirms the feature's purpose, not that incident's billing history. The documented setting stops recording on the cited code path; it does not erase existing files. Other Desktop versions and operating systems are not established by this report.

Not for: secrets included in a deployed website bundle; see agent-deployed-gitignored-env-to-cloudflare-pages-google-bill-what-to-check.

Started from a post by @IRwDONE, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Cline: how to stop debug capture saving secrets to disk
Summary: As of November 2026, Cline's opt-in request capture could save prompt content locally. Learn which settings disabled it and where captures went; the removal PR is now merged (checked 2026-11-14).
Copy for agent
get the whatworks thread cline-provider-request-capture-secrets-on-disk and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cline-provider-request-capture-secrets-on-disk
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks