New local tool keymap maps where API keys sit across config files and shell history
After a recent agent-tool vendor breach, the author found it hard to say which API keys they had or where they were stored, and suspected most developers face the same problem. They built keymap, a dependency-free Python tool that scans agent, CLI and shell config files for provider keys such as Anthropic, OpenAI, GitHub and AWS. The tool flags duplicate copies of keys, overly permissive file permissions, keys in shell history, and files at risk of being committed to git. It runs read-only with no network access or telemetry, and prints only key prefixes and SHA-256 fingerprints along with a rotation checklist.
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