promptshift_sanitize_secrets
Inspect and redact exposed private credentials in AI prompt instructions in memory before committing, sharing, or deploying to prevent leaks.
Instructions
Inspect and redact exposed private credentials (OpenAI sk-, Anthropic sk-ant-, AWS AKIA*, GitHub ghp_*, Google AIza*, Stripe sk_*) from prompt instructions in-RAM. Use this tool before committing, sharing, or deploying AI prompts to prevent credential leaks. Do not use for cryptographic key generation or data encryption. Pure idempotent scanner executing with zero persistent retention.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text, system prompt, or configuration file content to inspect and sanitize. |