{"version":"2.1.337","anchor":"inline-shell-commands-blocked-when-arguments-came-from-untru","canonical_anchor":"inline-shell-commands-blocked-when-arguments-came-from-untru","heading":"Inline shell commands with untrusted arguments are now blocked","tier":"notice","area":"Skills","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/inline-shell-commands-blocked-when-arguments-came-from-untru","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Inline shell commands with untrusted arguments are now blocked\n\nInline shell blocks in skills and commands no longer run when their arguments came from a link, paste or attachment, and a new inline_shell_denied outcome is recorded\n\n**Unclear.** Whether a setting or remote switch controls this behaviour, and so whether it is active for you, was not established.\n\n**What**\n\nSome skills and commands contain inline shell commands, which are commands the skill runs by itself on your computer when it is used. When the arguments those commands read came from a link, a paste or an attachment, the command is now not run. Claude gets a placeholder in place of the command's output, beginning \"[shell command not run: it reads the arguments, and they came from a link, a paste or an attachment, so someone else may have written them.\", and is told to read the command from the skill's source file and run it itself with the arguments quoted.\n\n- A new `inline_shell_denied` counter sits beside the existing `inline_shell_unchecked` counter.\n\n- The rule that watches for dangerous file removal in an inline `shell -c` script that runs `rm` now reports `inline_shell_denied` when a certain condition holds, and keeps reporting `inline_shell_unchecked` otherwise.\n\nWhat switches this behaviour on was not traced.\n\n**Why**\n\nText from a link, a paste or an attachment may have been written by someone else, and passing it straight into a shell command could make that command do something you did not intend. Holding the command back means Claude has to run it as an ordinary step, with the arguments quoted, instead of it running silently.\n\n- Area: Skills\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: yes"}