{"version":"2.1.327","anchor":"secret-redaction-regexes-handle-invisibleunicode-characters","canonical_anchor":"secret-redaction-regexes-handle-invisibleunicode-characters","heading":"Secret hiding now handles text with invisible characters","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/secret-redaction-regexes-handle-invisibleunicode-characters","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Secret hiding now handles text with invisible characters\n\nThe secret redactor now uses separate patterns for text with invisible characters and also scans keys in URLs and empty keys\n\n**Unclear.** It is not clear which secrets are now hidden that were not hidden before.\n\n**What**\n\nClaude Code hides secrets such as API keys by replacing them with `[REDACTED]`. Each rule used to have one fixed pattern. Each rule now has two versions, and Claude Code picks one depending on whether the text contains invisible characters (characters that take up no visible space but can split a secret so a plain pattern misses it). The redactor also adds scans for keys inside URLs and for empty keys.\n\n**Why**\n\nThis affects what is hidden in logs and transcripts.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}