{"version":"2.1.332","anchor":"windows-for-loop-words-that-may-reach-a-network-share-now-f","canonical_anchor":"windows-for-loop-words-that-may-reach-a-network-share-now-f","heading":"Windows for loops that may open a network share now need permission, plus other auto-approval changes","tier":"notice","area":"Windows","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/windows-for-loop-words-that-may-reach-a-network-share-now-f","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Windows for loops that may open a network share now need permission, plus other auto-approval changes\n\nOn Windows, for loops whose words may reach a network share now prompt for permission; find is allowed unless it runs or deletes\n\n**Unclear.** It is not clear which setups skip this check.\n\n**What**\n\nClaude Code decides which shell commands it can run without asking you. A few of those rules changed.\n\n- On Windows, the Bash permission check now flags a for loop in two cases: a word in its list names a network share, or a word's value is only known when the loop runs. Such a command is no longer treated as a simple read-only command. The prompt warns: \"Opening a share can send your Windows sign-in details to the share's host.\" Before, the only related warning was that just the first pass of a loop could be checked. The parser marks these cases as `forWordMayReachNetwork`.\n\n- The read-only check, which decides whether a tool can run alongside others or without permission, now returns false for one more specific tool, as well as for MCP tools.\n\n- A new rule allows `find` unless it uses `-exec`, `-ok`, `-delete`, `-fprint` or `-fls`.\n\n**Why**\n\nOn Windows, simply opening a network share can hand your sign-in details to another machine. Loops that might do that now ask you first instead of running automatically. Plain `find` searches can run without a prompt, while forms that run commands, delete or write files still need your approval.\n\n- Area: Windows\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}