{"name":"BASH_ENV","slug":"bash-env","family":"env","title":"Environment variables","noun":"environment variable","description":"Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.","description_source":"entry","described_by":{"version":"2.1.234","anchor":"inline-policy-helpers-run-with-a-scrubbed-environment-and-a-"},"presence":{"first_seen":"2.1.242","removed_in":"2.1.265","in_current_build":false,"newest_mined":"2.1.308","builds":15,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.248","anchor":"denylist-of-shell-startup-variables-added","heading":"Denylist of shell startup variables added","line":"A list names shell variables that can hijack a startup, with no visible consumer.","released_at":"2026-08-27 20:35:36","reason":"found in this entry's text"},{"version":"2.1.242","anchor":"plugin-file-access-is-confined-to-the-project-and-blocked-fr","heading":"Plugin file access is confined to the project and blocked from credential folders","line":"Plugin file reads stay inside the project and cannot touch credential folders.","released_at":"2026-08-24 19:16:14","reason":"found in this entry's text"},{"version":"2.1.235","anchor":"policy-helper-subprocess-environment-scrubbing-moved-and-har","heading":"Policy-helper subprocess environment scrubbing moved and hardened","line":"Policy-helper environment scrubbing moved into its own module and now strips more variables","released_at":"2026-08-18 18:24:10","reason":"found in this entry's text"},{"version":"2.1.234","anchor":"inline-policy-helpers-run-with-a-scrubbed-environment-and-a-","heading":"Inline policy helpers run with a scrubbed environment and a fixed PowerShell path","line":"Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.","released_at":"2026-08-17 18:19:13","reason":"found in this entry's text"}],"entries_total":4,"docs":[{"source":"claude-code","path":"hooks-guide","title":"Automate actions with hooks","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"BASH_MAX_OUTPUT_LENGTH","slug":"bash-max-output-length","description":"Maximum number of characters of bash output that Claude Code reads back into a command's result (default: 30000; maximum: 150000). If you set the [`bashOutputMaxChars`](\/docs\/en\/settings-reference#bashoutputmaxchars) setting, Claude Code ignores this variable. See [Output limits](\/docs\/en\/tools-reference#output-limits)"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/bash-env","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}