Roave/SecurityAdvisories
关于
:closed_lock_with_key: 安全公告以简单的 Composer 排除列表形式提供,每日更新
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +3
- 1个月
- +6
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Roave Security Advisories
A message to Russian 🇷🇺 people
If you currently live in Russia, please read this message.
Help Palestine 🇵🇸
Purpose
This package ensures that your application doesn't have installed dependencies with known security vulnerabilities.
[!TIP] Safety first, my friend! Help keep your supply chain secure with this library, but if you need an extra hand with updating dependencies, application security development, or anything else, get in touch.
- The Roave Team
Installation
composer require --dev roave/security-advisories:dev-latest
Usage
This package does not provide any API or usable classes: its only purpose is to prevent installation of software
with known and documented security issues.
Simply add "roave/security-advisories": "dev-latest" to your composer.json "require-dev" section and you will
not be able to harm yourself with software with known security vulnerabilities.
For example, try following:
composer require --dev roave/security-advisories:dev-latest
# following commands will fail:
composer require symfony/symfony:2.5.2
composer require zendframework/zendframework:2.3.1
The checks are only executed when adding a new dependency via composer require or when running composer update:
deploying an application with a valid composer.lock and via composer install won't trigger any security versions
checking.
You can manually trigger a version check by using the
--dry-runswitch on an update while not doing anything. Runningcomposer update --dry-run roave/security-advisoriesis an effective way to manually trigger a security version check.
roave/security-advisories for enterprise
Available as part of the Tidelift Subscription.
The maintainers of roave/security-advisories and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.
You can also contact us at [email protected] for looking into security issues in your own project.
Stability
This package can only be required in its dev-latest version: there will never be stable/tagged versions because of
the nature of the problem being targeted. Security issues are in fact a moving target, and locking your project to a
specific tagged version of the package would not make any sense.
This package is therefore only suited for installation in the root of your deployable project.
Sources
This package extracts information about existing security issues in various composer projects from the FriendsOfPHP/security-advisories repository and the GitHub Advisory Database.
探索相关项目
加载中…