ToolsThe story, in brief

Sieve – scans Cursor/Claude chat history for leaked API keys

AI coding tools are leaking your API keys into plaintext databases. Sieve just plugged the gap.

Paper-cut illustration of a coral software window opening into a three-dimensional drafting space.
New tools for building and creating with AI.AI illustration by KeyNews
The KeyNews take

Why it matters

As AI agents (Cursor, Claude Code, Copilot) become standard dev tools, they're creating a blind spot in security: chat histories and state files store unencrypted secrets outside traditional git scanning. Sieve addresses a real vulnerability in the AI-native dev workflow.

The key facts

5 to know
  1. AI coding tools (Cursor, Claude Code, Copilot, Cline) embed API keys in unencrypted local SQLite databases during normal operation

  2. Standard secret scanners (gitleaks, detect-secrets) only scan git repos — not AI transcript stores

  3. Sieve product: macOS app that scans local chat history files, flags exposed keys by severity, redacts in-place, stores fingerprints in Keychain

  4. Covers: Cursor, Claude Code, Claude Desktop, Copilot, Cline, Roo Cline, Windsurf, Gemini CLI, .env files

  5. Published May 2026 on Hacker News (nascent product/tool announcement)

Go to the source

Hacker Newsapps.apple.com

Publisher excerpt: Background: I was using Cursor to set up an OpenAI integration.The agent read my .env file, added the key to the config, and everything worked. What I didn't think about: that key was now sitting in a plaintext SQLite database at ~/Library/ApplicationSupport/Cursor/User/workspaceStorage/.. AI…
Read original report
Back to today's editionMore tools news

Keep reading

Related stories

More from Tools