定制 magento/composer-dependency-version-audit-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

magento/composer-dependency-version-audit-plugin

最新稳定版本:0.1.6

Composer 安装命令:

composer require magento/composer-dependency-version-audit-plugin

包简介

Validating packages through a composer plugin

README 文档

README

This composer plugin is used to protect Adobe Commerce merchants from Dependency confusion attacks. It will detect when a public version of a package at packagist.org has a higher version than the one available from a private like repo.magento.com. When you try to install/update packages with composer, if it detects a potential issue, the plugin will give you a recommendation message and stop the process.

By default the plugin will obey the stability configuration in the composer.json config file which is stable by default. If you would like to be covered for unstable versions of a package (dev, alpha, beta, RC), you can either change the minimum-stability level or explicit require a dev version or only betas with the version constraint for ex: ‘^1.0.2-beta1’

Installation

composer require magento/composer-dependency-version-audit-plugin

Usage

When you install/update composer, the composer plugin will stop the process if it detects a potential Dependency Confusion attack. In that case, composer install/update will fail with an error message similar to:

Higher matching version x.x.x of package/name was found in public repository packagist.org than x.x.x in private.repo. 
Public package might've been taken over by a malicious entity; 
please investigate and update package requirement to match the version from the private repository.

统计信息

  • 总下载量: 895.54k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 6
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 7
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固