Skip to content

In-depth lesson · Leaked secrets

Reports behind this point

Start by searching public repositories for common secret patterns. Use GitHub's code search or dedicated tools to look for strings like 'api_key', 'password', 'token', or file names like '.env', 'config.json', or 'id_rsa'. Focus on repositories belonging to the target organisation or its employees. The evidence shows many leaks in dotfiles, environment files, and configuration files.

Seen in these reports

3