---
title: "Discussion on \"Your AI chat history is in git: .aider.chat.history.md, .specstory/history and the API keys inside them\" | Hashnode"
description: "Discussion on \"Your AI chat history is in git: .aider.chat.history.md, .specstory/history and the API keys inside them\". AI coding tools write transcripts, prompt histories and personal settings into your project folder. One \"git add .\" later they are in the repository, the npm package or the Docker image, with every pasted key and customer row. Here is where each tool writes, what its docs say about git, and ChatLeak, a free VS Code extension that finds the leaks."
url: "https://hashnode.com/posts/chatleak-aider-chat-history-specstory-committed-secrets/6b030d6acbd6cfb05875e61e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Your AI chat history is in git: .aider.chat.history.md, .specstory/history and the API keys inside them](https://jaytank.hashnode.dev/chatleak-aider-chat-history-specstory-committed-secrets?utm_source=hashnode&utm_medium=feed)

AI coding tools write transcripts, prompt histories and personal settings into your project folder. One "git add ." later they are in the repository, the npm package or the Docker image, with every pasted key and customer row. Here is where each tool writes, what its docs say about git, and ChatLeak, a free VS Code extension that finds the leaks.

Nov 22 · 9 min read · jaytank.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#security](https://hashnode.com/tag/security)
-   [#ai](https://hashnode.com/tag/ai)
-   [#vscode-extensions](https://hashnode.com/tag/vscode-extensions)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)

## Written by

[JAY TANK](https://hashnode.com/@jaytank)

@jaytank

  
[View profile](https://hashnode.com/@jaytank)

Engineering insights on building and scaling modern software.

Cloud &amp; Platform Engineer focused on building systems that scale and endure. I explore how infrastructure, automation, and engineering practices come together to support modern software teams.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
