A typical short version of such a file might look like this: default-passwords.txt - danielmiessler/SecLists - GitHub

Preventing secret leaks is vastly easier than cleaning up after a compromise. Implement these best practices into your daily development cycle: Use a .gitignore File

Never store secrets in your code. Instead, use environment variables. Use a .env file for local development and keep it strictly out of your repository.

in a plain text file like password.txt on GitHub, especially in public repositories.