BASH_ENV
A Claude Code environment variable, read out of the shipped bundle. It was in the build from v2.1.242 and was gone by v2.1.265.
Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.234.
In the changelogs
4Releases whose published page names BASH_ENV.
-
v2.1.248
Denylist of shell startup variables added
A list names shell variables that can hijack a startup, with no visible consumer.
found in this entry's text
-
v2.1.242
Plugin file access is confined to the project and blocked from credential folders
Plugin file reads stay inside the project and cannot touch credential folders.
found in this entry's text
-
v2.1.235
Policy-helper subprocess environment scrubbing moved and hardened
Policy-helper environment scrubbing moved into its own module and now strips more variables
found in this entry's text
-
v2.1.234
Inline policy helpers run with a scrubbed environment and a fixed PowerShell path
Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.
found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
2Build by build
56One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.