Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.246 ·

Commands named after JavaScript built-ins no longer confuse permission checks

Commands literally named constructor or __proto__ no longer skew Bash permission checks.

You'll notice Bug Fixes
JSON All of v2.1.246
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PermissionsArea: what it touches
Bug FixesKind: in v2.1.246,
Bug FixesSection of the release
What

Bash and PowerShell permission checking looked commands up in its tables by direct property access, so a command literally named constructor or __proto__ matched a built-in language property instead of missing. Lookups now go through a safe helper, so such names can no longer skew write detection or argument skipping.

Details
  • The affected tables are the ones listing command wrappers, options and verbs used to work out whether a command writes and which arguments to ignore.
  • A write with no determinable target still falls back to asking you: is a write operation but no target path could be determined; requires manual approval.
Evidence

is a write operation but no target path could be determined; requires manual approval

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.246 →

Feedback