{"version":"2.1.286","anchor":"secret-redaction-now-uses-shared-precompiled-patterns","canonical_anchor":"secret-redaction-now-uses-shared-precompiled-patterns","heading":"Hiding of secrets in text now uses shared patterns","tier":"internal","area":"Secret Scrubbing","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.286\/e\/secret-redaction-now-uses-shared-precompiled-patterns","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.286","markdown":"### Hiding of secrets in text now uses shared patterns\n\nThe step that hides tokens, keys and passwords in text now uses shared patterns instead of its own inline ones\n\n**Unclear.** Whether the shared patterns match exactly what the old inline patterns matched is not known.\n\n**What**\n\nClaude Code hides secrets such as bearer tokens, keys and passwords by replacing them in text. This step used to carry its own matching patterns. It now uses two shared patterns defined elsewhere.\n\n**Why**\n\nWhat gets hidden in logs or transcripts may differ from before if the shared patterns match differently.\n\n- Area: Secret Scrubbing\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}