Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.328 ·

npm installs can run with scripts disabled and git sources blocked

Behind the flag tengu_fluttering_starlight, npm installs run by Claude Code can add --allow-git=none and a --script-shell that disables scripts

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

Unclear It is not clear when the condition holds, so which npm installs get the extra options is unknown.

What

Claude Code sometimes runs npm, the JavaScript package installer, for you. It already passed --git= pointing at a path named git-is-disabled every time. It can now add two more options:

  • --allow-git=none, which stops npm from installing packages straight from git repositories.
  • --script-shell= pointing at a path named scripts-are-disabled, which stops the setup scripts that some packages run when they install.

These two options are added only when the feature flag tengu_fluttering_starlight is on. A feature flag is a switch Anthropic can turn on or off remotely. The flag is read in a safe mode. Its default value was not found, and nothing has been read about its state.

Why

Package setup scripts and git sources are common ways for a bad package to run code on your computer. Where these options apply, npm installs started by Claude Code no longer run those scripts or fetch from git. A package that needs either one may then fail to install.

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 doubtIt is not clear when the condition holds, so which npm installs get the extra options is unknown.

See this entry in the whole of v2.1.328 →

Feedback