{"version":"2.1.225","anchor":"secret-redaction-patterns-factored-into-shared-lists","canonical_anchor":"secret-redaction-patterns-factored-into-shared-lists","heading":"Secret-redaction patterns factored into shared lists","tier":"internal","area":"Telemetry","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225\/e\/secret-redaction-patterns-factored-into-shared-lists","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225","markdown":"### Secret-redaction patterns factored into shared lists\n\nSecret-scrubbing rules live in one shared list so more paths can strip credentials consistently.\n\n**What**\n\nThe credential-scrubbing regex table was split into two reusable arrays so more than one code path can apply the same rules.\n\n**Details**\n\n- One array covers Bearer, Basic, sk-ant, sk-, AKIA and ASIA forms.\n- The other covers gh*_ tokens, xox*- tokens and JWTs.\n- The existing transcript redactor splices both lists in.\n- A new standalone helper applies all of them to any string, and is what the SDK error paths use for file paths.\n\n**Evidence**\n\n`\/\\bey[A-Za-z0-9_-]{10,}\\.[A-Za-z0-9_-]{10,}\\.[A-Za-z0-9_-]{10,}\/g`\n\n- Area: Telemetry\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 0\/5"}