Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.335 ·

Credential and helper commands now share one folder-trust check

apiKeyHelper, awsAuthRefresh, awsCredentialExport, gcpAuthRefresh, otelHeadersHelper and proxyAuthHelper now go through one shared trust check

Group of 5 You'll notice Improvements
JSON All of v2.1.335
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SettingsArea: what it touches
ImprovementsKind: in v2.1.335,
ImprovementsSection of the release

What

Several settings let you name your own command, which Claude Code runs to fetch credentials or headers. Examples are a command that prints an API key or refreshes cloud login details. Claude Code checks whether it is safe to run such a command. One part of that check is folder trust, which means whether you have said you trust the project folder you are working in. Each of these settings used to have its own check, which read the project settings and the local settings directly. They now all go through one shared check:

  • apiKeyHelper now asks a general settings-source helper about the key apiKeyHelper.
  • awsCredentialExport, gcpAuthRefresh, otelHeadersHelper and proxyAuthHelper use a shared trust helper. Its answer is one of three states: held, untrusted or trusted.
  • awsAuthRefresh runs only if a new lookup returns a command. The lookup is either namedOutsideFolder or inTrustedFolder for the session. It used to be a simple trust test.
  • The awsAuthRefresh and gcpAuthRefresh values are now handled as a structured object in the code, not as plain text.
  • The helper for policy-managed settings now receives both the setting and its command, and passes the command on.
  • A separate otelHeadersHelper check was folded into the shared one.

What the shared check does:

  • A command set in policy settings runs without waiting for folder trust. Policy settings are settings an administrator manages for the machine.
  • A command that is not named in the project or local settings also runs without waiting for folder trust.
  • In a folder you have not trusted, a command named in the project or local settings is held, or Claude Code raises the existing security error.

Why

These checks decide when a command from a project's settings may run before you have trusted the folder. If you or your administrator rely on one of these helper commands, it may now run, wait or be refused at a different moment than before.

Read from
Names in the bundleapiKeyHelper

See this entry in the whole of v2.1.335 →

Feedback