GitGuardian/ggshield — reverse-engineered prompt
Reverse engineered prompt
Build me a command line tool like ggshield that helps developers catch hardcoded secrets before they leak. It should scan files, folders, full git repos, and plain text, and flag things like API keys, tokens, passwords, and other credentials across 500 plus secret types, with validation checks when possible. I want it to work both on a local machine and in CI, with easy setup through a login flow or an environment variable for the API key.
Please make it practical for everyday use, with clear terminal output, useful exit codes, and support for running as a pre commit check and as a GitHub Action. It should also be able to scan Docker images and Python packages when those tools are available. Add sensible config files and examples, basic docs, and tests so it feels like a polished open source tool someone could actually install and use on macOS, Linux, and Windows. Look up the current GitGuardian API docs online if you need to.
Want more depth? Deep Reverse