---
title: "Security and privacy — PromptConduit docs"
description: What PromptConduit captures, what it masks, what leaves your machine and when, what the platform stores, the known gaps, and how to report a problem.
image: "https://promptconduit.dev/og-image.png"
---

<!-- Markdown copy of https://promptconduit.dev/security. Index of every page: https://promptconduit.dev/llms.txt -->

# 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](https://github.com/promptconduit/cli), so you can read the code behind each claim. For the full path of an event and every network call, see [How PromptConduit works](https://promptconduit.dev/docs/how-it-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.

> [!WARNING]
> **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](https://promptconduit.dev/docs/installation#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](https://promptconduit.dev/docs/teams).

## Other ways data reaches PromptConduit

-   **Claude Code telemetry:** cost events Claude Code sends itself, if you set it up. See [Claude Code telemetry](https://promptconduit.dev/docs/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](https://app.promptconduit.dev/profile).
-   OAuth for the remote MCP server requires PKCE.

## Report a security problem

Email [hello@promptconduit.dev](mailto:hello@promptconduit.dev). Please don't open a public issue for a security report.

## Next steps

-   [How PromptConduit works](https://promptconduit.dev/docs/how-it-works): one event from hook to dashboard, and every network call.
-   [Local-only mode](https://promptconduit.dev/docs/configuration#local-only): capture everything and send nothing.
-   [Privacy policy](https://promptconduit.dev/privacy): the legal terms for the data above.

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "@id": "https://promptconduit.dev/#software",
  "name": "PromptConduit",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "macOS, Linux, Windows",
  "description": "PromptConduit shows what AI coding costs per developer, repo, and pull request across Claude Code and Cursor. An open-source CLI records every session to a local JSONL file first, with git context and exact cost computed on your machine. Teams sync to see spend across members, models, repos, and clients, with budgets and alerts.",
  "url": "https://promptconduit.dev",
  "installUrl": "https://promptconduit.dev/docs/installation",
  "softwareHelp": {
    "@type": "CreativeWork",
    "url": "https://promptconduit.dev/docs"
  },
  "releaseNotes": "https://promptconduit.dev/changelog",
  "license": "https://opensource.org/licenses/MIT",
  "isAccessibleForFree": true,
  "publisher": {
    "@id": "https://promptconduit.dev/#organization"
  },
  "offers": [
    {
      "@type": "Offer",
      "name": "Free",
      "description": "The full CLI on your machine, and a team of up to 3.",
      "price": "0",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 3,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Team",
      "description": "Up to 15 members. One flat price, no seat math.",
      "price": "99",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "99",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 15,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Growth",
      "description": "Up to 50 members, for teams and agencies running AI across many repos.",
      "price": "249",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "249",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 50,
        "unitText": "members"
      }
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://promptconduit.dev/#organization",
  "name": "PromptConduit",
  "url": "https://promptconduit.dev",
  "logo": "https://promptconduit.dev/favicon.svg",
  "email": "hello@promptconduit.dev",
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer support",
    "email": "hello@promptconduit.dev",
    "url": "https://promptconduit.dev/about"
  },
  "sameAs": [
    "https://github.com/promptconduit/cli",
    "https://github.com/promptconduit/editor-extension",
    "https://twitter.com/promptconduit"
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://promptconduit.dev/"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Docs",
      "item": "https://promptconduit.dev/docs"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Security and privacy",
      "item": "https://promptconduit.dev/security"
    }
  ]
}
```
