You gave your AI agent access to your codebase. Cool. Did you also give it access to ~/.aws/credentials, your SSH keys, and every token in your shell environment?

Because you probably did — by accident.

This is a quick practical guide on locking down the most popular AI coding tools so they can't read things they shouldn't. Copy-paste configs,...