{"version":"2.1.335","anchor":"hand-over-secret-check-hardened-against-path-changes","canonical_anchor":"hand-over-secret-check-hardened-against-path-changes","heading":"Secret check before handing over a file catches files that moved","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/hand-over-secret-check-hardened-against-path-changes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Secret check before handing over a file catches files that moved\n\nThe check for secret keys before a file is handed over now refuses if the file's path changed during the check or while you were asked\n\n**What**\n\nBefore Claude Code hands a file over, it checks the file for secret keys such as passwords or tokens. Before, the only refusal was that the check did not finish.\n\nThe check now looks at the different ways the path can be written, and refuses in two new cases:\n\n- The file's path changed while the check was running.\n\n- A file that was skipped, or that a rule would deny, changed while you were being asked. It is checked again after you answer, and if it changed, the send is refused and Claude is told to send it again.\n\n**Why**\n\nThis stops a file being swapped or renamed between the check and the handover, so a file with secrets cannot slip through.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}