Skip to content

Privacy and Data Handling

Mcdavid Obioha edited this page Dec 1, 2026 · 3 revisions

Privacy and Data Handling

Kera runs on your machine. It requires no Kera account or Kera-hosted service and sends 0 bytes to Kera infrastructure. Kera collects no analytics or telemetry and has no cloud sync or hosted capture store.

The local dashboard serves its bundled assets from the loopback listener and uses system fonts. It makes no external icon, favicon, or font requests.

What Kera stores locally

Kera stores captured HTTP request and response metadata, including methods, paths, query strings, headers, status codes, and timing, as well as the original body bytes up to the configured per-body limit. It can also store provider labels and links between original captures and replays. The database can contain credentials and personal information; redaction changes what is displayed, not what is stored.

Setting Default
Data directory ~/.kera/, mode 0700 on POSIX
Traffic database ~/.kera/traffic.db, mode 0600 on POSIX
SQLite sidecar files 0600 on POSIX
Retention The newest 1,000 captures, including failed requests and replays
Capture size Up to 1 MiB per request body and 1 MiB per response body

Use KERA_DATA_DIR or the MCP --data-dir flag to select a different store. KERA_MAX_STORED_REQUESTS changes the retention count. See Configuration and Flags for limits and defaults.

Delete captures

  • CLI: Run kera clear and confirm. Use kera clear --older-than 60 to remove only captures older than 60 minutes.
  • MCP: Call clear_traffic without confirmation to preview the scope. Then call it with the same scope and confirm: true. Omit older_than_minutes to select all captures.
  • Remove the local store: Stop all Kera processes using it. Delete ~/.kera/, or the data directory you configured, to remove the database and any sidecar files. This also removes other local Kera files in that directory.

Deleting local captures does not delete backups, exports, editor or model-provider logs, or copies held by a service that already received the traffic. The clear commands delete SQLite rows; they do not securely erase the underlying files.

Redaction before inspection

By default, Kera masks recognized values in inspection results across MCP, the terminal CLI, and the local dashboard:

  • Headers: Authorization, Proxy-Authorization, Cookie, Set-Cookie, and other credential headers such as X-API-Key. This includes recognized webhook signature headers such as Stripe-Signature and X-Shopify-Hmac-Sha256. Header matching is case-insensitive.
  • JSON, query strings, and URL-encoded forms: Recognized field names such as password, api_key, access_token, secret, and signature. JSON matching includes nested values and arrays. These field names are matched without regard to case, hyphens, or underscores.

Redaction is name-based. Secrets in paths, unrelated header values, or free-form text may remain visible. raw: true remains redacted unless you start Kera with KERA_REDACTION_POLICY=allow-unredacted-raw. Keep the default policy when sharing traffic with an AI client. See Security and Privacy for the masking rules and limits.

When data leaves your machine

  • AI model provider: When you or your connected MCP client invokes a tool, Kera returns the result over local stdio. The client may include request and response excerpts in the context it sends to your chosen model provider. Your client's settings and the provider's policies determine how results are sent, logged, or retained. Kera does not contact the model provider directly.
  • Cloudflare Quick Tunnel: Off by default. With --tunnel (or KERA_TUNNEL=true for the MCP server only), Cloudflare terminates public HTTPS. Requests and responses transit Cloudflare, and cloudflared delivers incoming requests to 127.0.0.1. If no executable is already available, tunnel setup may download it from Cloudflare's GitHub releases.
  • Configured application target: Kera forwards and replays requests to the upstream you configure. If it is remote, that traffic leaves your machine even with tunneling off. Inspection redaction does not apply to forwarding or replay.
  • Installation and upgrades: npx and npm install may contact the package registry to install or upgrade Kera. This is package-manager traffic; Kera does not check for updates during normal operation.

Responsible use

  • Use synthetic or test data where possible. Do not capture regulated personal data or payment-card (PCI) data unless you are authorized to handle it and your environment meets the applicable requirements.
  • Keep webhook signature verification and application authentication enabled in your upstream app. A Quick Tunnel is public and can expose every route reachable through the proxy.
  • Review excerpts before sending them to a model provider or pasting them into shared logs, issue reports, or chat.

See the repository security guide for implementation details.

Clone this wiki locally