Agents frequently handle Stripe (sk_live_...) and LLM-provider keys (OpenAI sk-..., Anthropic sk-ant-...). These leaking into a tool call is exactly what DLP is for.
Task
Add rules to policies/dlp/manifest.yaml for Stripe live/test keys ((?i)sk_(live|test)_[0-9a-z]{24,}) and a generic provider key (sk-[a-zA-Z0-9]{20,}). Category credentials, severity critical.
Acceptance criteria
Agents frequently handle Stripe (
sk_live_...) and LLM-provider keys (OpenAIsk-..., Anthropicsk-ant-...). These leaking into a tool call is exactly what DLP is for.Task
Add rules to
policies/dlp/manifest.yamlfor Stripe live/test keys ((?i)sk_(live|test)_[0-9a-z]{24,}) and a generic provider key (sk-[a-zA-Z0-9]{20,}). Categorycredentials, severitycritical.Acceptance criteria
test_dlp_scanner.pywith fake keys (gitleaks:allow).