{"version":"2.1.336","anchor":"prompt-shell-commands-set-checksinlinecommand","canonical_anchor":"prompt-shell-commands-set-checksinlinecommand","heading":"Shell commands written into prompts now go through an extra permission check","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/prompt-shell-commands-set-checksinlinecommand","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Shell commands written into prompts now go through an extra permission check\n\nShell commands embedded in a prompt are now marked for an inline-command permission check, and still never run in auto mode\n\n**Unclear.** What the extra inline-command check allows or blocks is not stated.\n\n**What**\n\nSome prompts, such as custom commands, can contain shell commands (lines run in your terminal) whose output is inserted into the prompt. When Claude Code runs these, the permission settings it uses are now marked so that the command itself is checked as an inline command.\n\nAs before, if you are in auto mode (where Claude Code approves actions without asking), it switches to the default mode for these commands, so you are asked as usual.\n\n**Why**\n\nShell commands hidden inside a prompt get their own permission check rather than slipping through with the prompt.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}