𝗜 𝗧𝗿𝘂𝘀𝘁𝗲𝗱 𝗠𝘆 𝗔𝗜 𝗖𝗼𝗱𝗶𝗻𝗴 𝗔𝘀𝘀𝗶𝘀𝘁𝗮𝗻𝘁. 𝗜𝘁 𝗧𝘂𝗿𝗻𝗲𝗱 𝗠𝘆 𝗖𝗼𝗺𝗽𝘂𝘁𝗲𝗿 𝗜𝗻𝘁𝗼 𝗮 𝗦𝘂𝗿𝘃𝗲𝗶𝗹𝗹𝗮𝗻𝗰𝗲 𝗦𝗲𝗿𝘃𝗲𝗿.

Your AI does more than help you write code. It builds a massive log of your work on your machine.

I wanted to clean my data before selling my laptop. I opened the Claude Code config directory. I expected to find an API key. Instead, I found a goldmine of private data.

Claude Code saved everything to ~/.claude/:

• history.jsonl: 695 lines of every prompt you typed. • sessions: Metadata for every chat. • shell-snapshots: Records of every command you ran. • telemetry: 63 files tracking your usage. • projects: 19 different directories containing your work.

I found passwords in the history. If you ask an AI "what was my database password?", it saves that answer forever.

Every project directory contains .jsonl files. One session file I opened had:

• 590 AI responses. • 272 internal reasoning steps. • 101 tool calls. • 208 file history snapshots.

The tool logs your system PATH, your installed tools, and your Java version. A buyer using free recovery software can find all of this even if you delete the files.

They can reconstruct:

• Your real name from PDF filenames. • Your project names and logic. • Your passwords from history entries. • Your tools and system setup.

It is a digital autobiography. This happens with Cursor, Cline, and Windsurf too. If an AI tool runs commands on your machine, it stores data.

Use this cleanup checklist to protect your privacy:

  1. Delete the entire ~/.claude/ directory to remove all history and keys.
  2. Delete .claude/ folders inside every project directory.
  3. Delete %APPDATA%\Claude Code\ to clear the application cache.
  4. Use a tool to overwrite free disk space to prevent recovery.
  5. Reset your operating system for a total wipe.

AI tools run two systems at once. You see a coding assistant. The machine sees a recording device. It logs every line, every question, and every file path.

Protect yourself:

• Daily: Delete old JSONL files in your project folders. • End of project: Check for hidden .claude/ directories. • Selling hardware: Use the full 5-step wipe. • Always: Never paste passwords or sensitive tokens into an AI.

This is not a bug. It is the design. Now you know.

מקור: https://dev.to/yurenpai_c188178e6b313e59/i-trusted-my-ai-coding-assistant-it-turned-my-computer-into-a-surveillance-server-hbh

קהילת למידה אופציונלית: https://t.me/GyaanSetuAi