Unclear It is not clear whether the remote switch the guard also depends on leaves it active for every account.
When Claude Code runs a PowerShell command, it now adds a short guard in front of the command. The guard stops PowerShell from loading a library file when the command contains text in the form [name, path]. PowerShell reads text like that as a type plus the library file that holds it, and loads the file while it is still reading the command.
If the guard stops a command, Claude Code shows a message saying it stopped before that point, so it could not fully check the command against your permission rules. Permission rules are the settings that decide which commands Claude may run without asking you.
The guard is on unless you set the environment variable CLAUDE_CODE_DISABLE_POWERSHELL_LIBRARY_LOAD_GUARD. It is also tied to a remote switch.
Loading a file during reading could let a command do something before Claude Code had a chance to check it against your permission rules. The guard closes that gap.
It is not clear whether the remote switch the guard also depends on leaves it active for every account.