Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for New Composer plugin in Magento 2.4.3
Rafael Corrêa Gomes
Rafael Corrêa Gomes

Posted on • Edited on • Originally published atrafaelcg.com

     

New Composer plugin in Magento 2.4.3

Issues with Composer dependencies are very common to happen, some related to integrity, but security issues too. That's why Magento 2.4.3 applied a new verification routine via a new Composer plugin. It's going to perform integrity checks during the Composer installations.

Frequently we use private and public composer package repositories to deliver code to Adobe Commerce and Magento Open Source merchants. While Composer allows for a convenient experience, it can introduce certain limitations and occasional risks.

Adobe audits the private composer package repository at repo.magento.com, including performing a malware scan and package upload validation. However, it is possible for a malicious user to claim an unused namespace on the public package repository at packagist.org and upload a malicious code package. The plugin is currently available to both Adobe Commerce and Magento Open Source merchants on the Magento GitHub.

The plugin performs two checks and throws an exception when: 

  • If the private repositories cannot be reached. It tries to reach the package sending a request for the repo.
  • A package is present in private repositories and Packagist (public repository) simultaneously. The version of the package that satisfies the requirement from the public repo is higher.

Adobe will release the new composer plugin in Adobe Commerce 2.4.3 on August 10. The plugin will also be integrated into the Extension Quality Program since release 2.4.3. To avoid EQP failure, no exception might be generated by the composer plugin conditions.

To prevent problems with updating your code on the Magento Marketplace, we recommend you to:

  • Use the composer plugin while testing your extensions' installation flows.
  • Verify that you own your namespace on Packagist.org.

Are you ready for the upgrade? Let's talk and create a plan of action!

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Writing about eCommerce development, Adobe Commerce, Shopify, automation, productivity, and developer career.
  • Location
    Montréal, QC - Canada
  • Work
    Director, Adobe Commerce & Shopify Practice at Valtech
  • Joined

More fromRafael Corrêa Gomes

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp