Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Git env hardening classifies toolchain env vars as a directory or a file

Git environment hardening now sorts toolchain variables like JAVA_HOME as folders and UV_PYTHON as files

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

When Claude Code runs git, it builds a restricted, hardened set of environment variables for it. Environment variables are named settings passed to programs. A new sorting step labels toolchain variables by what they point to:

  • Folders, such as GOROOT, JAVA_HOME and VIRTUAL_ENV.
  • Files, such as JAVACMD, UV_PYTHON and SOPS_GPG_EXEC.

The hardened environment builder now uses this sorting.

Why

In practice, these variables are now handled according to whether they name a folder or a file when git runs.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say how each label changes the way a variable is treated.

See this entry in the whole of v2.1.281 →

Feedback