txmztr/Token-logger-educational-use ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple PowerShell script that looks through a folder for accidentally exposed API keys, tokens, and other secrets, then shows a clear local report so I can clean them up.

I only want this for educational and defensive use on my own files, with no sending anything anywhere. If you can, make it easy to run from one script, print useful findings with the file name and line number, and include a short README with how to use it safely.

If there are any current PowerShell best practices or simple secret detection patterns worth using, look them up online and use them.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab