Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

Fix Composer 2.9 plugin installation failure#21

Open
namespacebrian wants to merge 1 commit into
mainfrom
fix/composer-audit-block-insecure
Open

Fix Composer 2.9 plugin installation failure#21
namespacebrian wants to merge 1 commit into
mainfrom
fix/composer-audit-block-insecure

Conversation

@namespacebrian
Copy link
Copy Markdown
Contributor

Summary

  • Adds config.audit.block-insecure=false to composer.json to prevent Composer 2.9 from blocking plugin installation due to transitive dependency security advisories

Problem

Composer 2.9 introduced a new default behavior that blocks installation when any dependency has a security advisory. This causes terminus self:plugin:install to fail with errors like:

Root composer.json requires psy/psysh v0.12.9 (exact version match), found psy/psysh[v0.12.9] 
but these were not loaded, because they are affected by security advisories

Solution

This matches the fix already applied to terminus core. The setting allows installation to proceed while still reporting advisories via composer audit.

Test plan

  • Verify JSON is valid: python3 -m json.tool composer.json
  • Test plugin installation with Composer 2.9+

Composer 2.9 introduced a new default behavior that blocks installation
when dependencies have security advisories. This causes terminus plugin
installation to fail even when the advisories are not directly relevant.

Add config.audit.block-insecure=false to allow plugin installation to
proceed, matching the fix applied to terminus core.
@namespacebrian namespacebrian requested a review from a team as a code owner February 5, 2026 22:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants