{"version":"2.1.328","anchor":"permission-rule-secret-scan-also-checks-a-normalized-form","canonical_anchor":"permission-rule-secret-scan-also-checks-a-normalized-form","heading":"Secret check on permission rules now also scans a cleaned-up copy","tier":"internal","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/permission-rule-secret-scan-also-checks-a-normalized-form","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Secret check on permission rules now also scans a cleaned-up copy\n\nClaude Code now checks both a permission rule and a cleaned-up copy of it for secrets, flagging the rule if either matches\n\n**What**\n\nPermission rules tell Claude Code which actions it may take without asking you. Claude Code checks these rules for things that look like secrets, such as passwords or keys. That check now looks at two versions of each rule: the rule as written, and a copy with some text cleaned out of it. The rule is flagged if either version looks like it holds a secret.\n\nPreviously only one version was checked.\n\n**Why**\n\nFewer secrets written into permission rules should get past the check.\n\n- Area: Permissions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}