scan_diff_for_secrets
Scans added git diff lines for hardcoded credentials and secret leaks, then returns exact .env replacement diffs to remove exposed keys before merge.
Instructions
Scans added git diff lines for hardcoded credentials (AWS, Stripe, Supabase JWT, OpenAI, Anthropic, GitHub PAT, Slack webhooks, PEM keys, high-entropy secrets) and returns exact .env replacement diffs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Unified git diff to inspect for credentials and secret leaks. |