{"version":"2.1.335","anchor":"wrapper-command-stripping-handles-env-timeout-and-nice-more","canonical_anchor":"wrapper-command-stripping-handles-env-timeout-and-nice-more","heading":"Permission rules see through env, timeout and nice wrappers more accurately","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/wrapper-command-stripping-handles-env-timeout-and-nice-more","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Permission rules see through env, timeout and nice wrappers more accurately\n\nPermission matching now handles more options on env, timeout and nice, including env -a and --argv0, when finding the real command\n\n**What**\n\nPermission rules decide which shell commands Claude may run without asking. When a command is wrapped in another command, such as `env`, `timeout` or `nice`, Claude Code strips the wrapper to find the real command before checking the rules. That stripping is now more careful.\n\n- It now handles `--`, environment variable assignments, short flags that take a value, and `timeout` durations. Before, it only skipped flags and numeric arguments for `timeout` and `nice`.\n\n- The `env` options that take a value now include `-a` and `--argv0`, alongside `-u`, `-C`, `-S`, `--unset` and `--chdir`.\n\n**Why**\n\nThis changes which wrapped commands match your allow or deny rules. For example, `env -a x cmd` could previously be read as the wrong command; it is now matched against the rules for `cmd`.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}