Skip to content

Fix Composer 2.9 plugin installation failure#109

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

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

Conversation

@namespacebrian
Copy link
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 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