How one team built a fully local AI tool to scan coding agent transcripts for secrets
Coding agent sessions like Claude Code save full transcripts as JSONL files on disk, which can silently retain sensitive credentials such as database URLs long after a session ends. A team at Oye Collective identified that the common fix — sending transcripts to a cloud model for scanning — would itself expose the very secrets being searched for. To avoid this, they built a privacy detection feature that runs entirely on the user's local machine, combining regex pattern matching for structured tokens like AWS keys and JWTs with a locally run, int8-quantized ONNX model for context-dependent data like names, addresses, and password phrases. The model weights total around 1.6 GB and are downloaded only when a user explicitly enables the feature, with SHA-256 hash verification to ensure file integrity. The inference session is also designed to be disposable, freeing memory when idle so the tool remains lightweight for users who keep it running in the background.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in