- Find the secrets using Gitleaks - Mask the secrets before sending them to the AI model - highlight the leaked secret in the PR