--redact -- claude
Runtime leak protection and log redaction for Claude Code. Start an interactive Claude session with real secrets while redacting them from output and transcripts.
Usage
Runtime leak protection for Claude Code: Claude receives the real environment variables, but log redaction replaces any matching values it prints with [REDACTED] throughout the interactive session — so secrets stay out of the terminal and agent transcript.
$ echo "SECRET=super-secret-value" > .env
$ dotenvx run --redact --quiet -- claude