{"version":"2.1.326","anchor":"inline-shell-env-append-handled-in-permission-check","canonical_anchor":"inline-shell-env-append-handled-in-permission-check","heading":"Permission check now spots export HOME+= as well as export HOME=","tier":"notice","area":"Bash Safety","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/inline-shell-env-append-handled-in-permission-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Permission check now spots `export HOME+=` as well as `export HOME=`\n\nThe shell command permission check now catches commands that append to `HOME` and handles `NAME+=value` settings on a command line\n\n**What**\n\nBefore Claude runs a shell command, Claude Code checks it to decide whether to ask your permission. Environment variables are named settings passed to programs, and `HOME` says where your home folder is.\n\nThe check for commands that change `HOME` now matches both `export HOME=` and `export HOME+=`. Previously only `export HOME=` was caught. The check also now joins variables set with `+=` on a command line into a single `NAME+=value`.\n\n**Why**\n\nThis tightens a security check, so a command that changes `HOME` by appending to it is no longer missed.\n\n- Area: Bash Safety\n- Names: `HOME`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}