Skip to content

Require approval for dependency install scripts - #49

Merged
jstayton merged 1 commit into
developmentfrom
require-install-script-approval
Oct 6, 2026
Merged

jstayton merged 1 commit into
developmentfrom
require-install-script-approval

Conversation

@jstayton

@jstayton jstayton commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

An install now fails on any dependency with an install script that hasn't been reviewed, using npm's strict-allow-scripts. None of the dev dependencies has one today, so there's no allowScripts field yet; AGENTS.md covers how to approve or deny one when it comes up. .npmrc isn't in files, so the published package is unchanged.

npm 11.19+ enforces it, which covers the Node 24 and 26 CI jobs. Node 22's npm 10 warns about an unknown config and ignores it.

🤖 Generated with Claude Code

An install now fails on any dependency with an install script that
hasn't been reviewed. None has one today, so there's nothing to
approve yet. npm 11.19+ enforces it; npm 10 (Node 22) warns about an
unknown config and ignores it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jstayton
jstayton merged commit 5afd04f into development Oct 6, 2026
5 checks passed
@jstayton
jstayton deleted the require-install-script-approval branch October 6, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant