security

Security and privacy

What PromptConduit captures, what it masks, what leaves your machine, and how to check each one.

This page states exactly what the CLI and the platform do, including the gaps. The CLI is open source, so you can read the code behind each claim. For the full path of an event and every network call, see How PromptConduit works.

Everything starts in one local file

Each hook event becomes one JSON line in ~/.promptconduit/events.jsonl, written before any network call. It's the full record of what the CLI captured. Read it, search it, or diff it before and after a session:

bash
promptconduit events -n 20

Each event holds two kinds of data:

  • Enrichments, computed on your machine: branch and repo names, commit hashes, token counts, cost, timings, tool names and outcomes. Enrichments don't contain prompt text or code, except the name of a skill file you invoked.
  • The assistant's own event JSON, kept as it came. Depending on the hook, it can hold your prompt text, tool inputs and error output.

What's masked

Before an event is written to disk, values that look like secrets are replaced with ***REDACTED***:

  • Bearer tokens.
  • Anthropic (sk-ant-…), OpenAI (sk-…, sk-proj-…) and PromptConduit (sk_…) keys.
  • AWS access key IDs and GitHub tokens.
  • Values of JSON fields named like api_key, token, secret or password.

The patterns are narrow on purpose, so they don't corrupt ordinary text. A secret in another format isn't masked. Don't paste secrets into prompts.

Known gaps

  • Uploads before CLI v0.43.5: earlier versions masked the local file but uploaded the envelope as captured. Run promptconduit upgrade. Events already uploaded aren't rewritten.
  • Transcripts: synced transcripts are uploaded as your assistant saved them, without masking. Masking them is planned. Until then, stay in local-only mode if your sessions can contain secrets.

What leaves your machine

  • With no API key, or in local-only mode, no events or transcripts are sent. Capture, cost, the editor extension and local skills all work offline.
  • The anonymous usage ping is separate. Once a day, release builds send a random install ID, the CLI version, OS and CPU, which assistants have hooks, the editor extension version, and whether you're signed in. Never prompts, paths or repo names. Local-only mode doesn't stop it. Turn it off with promptconduit config set --disable-telemetry=true, DO_NOT_TRACK=1 or PROMPTCONDUIT_TELEMETRY=0. It's never sent when CI is set.
  • Update checks read the latest release from GitHub once a day, and the CLI downloads the public rate card. Neither sends anything about you. config set --disable-auto-update=true stops both.
  • After you sign in, events and session transcripts are uploaded over HTTPS to api.promptconduit.dev, authenticated with your key.

To turn capture off altogether:

  • PROMPTCONDUIT_EVENT_LOG=0 stops writing the local file.
  • promptconduit uninstall <tool> removes the hooks. See Uninstall.

What the platform stores and uses

  • Uploaded events are kept for 90 days, scoped to your account, then deleted. Daily cost totals are kept after that.
  • Cost views are built from the enrichments: tokens, cost, repo, branch, model.
  • Skills are built from synced transcripts, which are full text. Patterns quote short excerpts as evidence, such as a failed command and its error. Excerpts are masked again on the server and dropped when the events they quote pass the 90-day window.
  • On a team, your new synced sessions count toward the team. Sessions from before you joined stay private unless you choose to share 30 days of history. See Set up a team.

Other ways data reaches PromptConduit

  • Claude Code telemetry: cost events Claude Code sends itself, if you set it up. See Claude Code telemetry.
  • CI: GitHub Actions run and job metadata, never logs or code, when you run promptconduit ci sync.
  • Slack: the webhook URL you connect for budget alerts.
  • Remote MCP: an agent you approve in your browser reads team data, with team:read by default. Tokens expire after an hour.

Accounts and access

  • Sign-in is through Google or GitHub only. There are no PromptConduit passwords.
  • The CLI gets its key through a browser device flow. You can see and revoke keys on your profile page.
  • OAuth for the remote MCP server requires PKCE.

Report a security problem

Email [email protected]. Please don't open a public issue for a security report.

Next steps