Skip to content

Preparing for release 13.20.0 (automated).#2527

Merged
36degrees merged 2 commits intomainfrom
release-13.20.0
Apr 10, 2026
Merged

Preparing for release 13.20.0 (automated).#2527
36degrees merged 2 commits intomainfrom
release-13.20.0

Conversation

@36degrees
Copy link
Copy Markdown
Contributor

New features

When you install plugins using the 'Manage prototype' page or install other dependencies using the npm command:

  • npm scripts will no longer be run for the installed plugins or dependencies
  • you will not be able to install plugins or dependencies using Git references if you're using npm v11.10.0 or later
    This only applies to new prototypes created using npx govuk-prototype-kit@latest create.
    To protect existing prototypes, add the following lines to the .npmrc file in your prototype:
ignore-scripts=true
allow-git=none

We've made these changes to help protect Prototype Kit users against supply chain attacks, where malicious code is included in a dependency.
It's still possible for dependencies to execute malicious code. Make sure you only install dependencies from trusted sources.
#2519: Disable npm scripts and installing from git dependencies by default for new prototypes

Fixes

@36degrees 36degrees merged commit 950a2fc into main Apr 10, 2026
36 checks passed
@36degrees 36degrees deleted the release-13.20.0 branch April 10, 2026 13:36
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.

2 participants