/ Search - type / Modes - type M Star on GitHub - 5.7k

dotenvx run

--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.

Watch demo →

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