security-checker

PHP frontend for security.symfony.com

  • 所有者: sensiolabs/security-checker
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

SensioLabs Security Checker

The SensioLabs Security Checker is a command line tool that checks if your
application uses dependencies with known security vulnerabilities. It uses the
Security Check Web service and the Security Advisories Database.

TIP: As an alternative, you can use the Symfony CLI tool that has the
following advantages: it does not depend on PHP, all checks are done locally (no
calls to the security.symfony.com API):

$ symfony security:check

Usage

Download the security-checker.phar file:

$ php security-checker.phar security:check /path/to/composer.lock

Use the code from the repository directly:

$ composer install
$ php security-checker security:check /path/to/composer.lock

Integration

The checker uses the Symfony Console component; so, you can easily integrate
the checker into your own project:

  • by using the SecurityCheckerCommand class into your Symfony Console
    application;

  • by using the SecurityChecker class directly into your own code:

     use SensioLabs\Security\SecurityChecker;
    
     $checker = new SecurityChecker();
     $result = $checker->check('/path/to/composer.lock', 'json');
     $alerts = json_decode((string) $result, true);
    

主要指标

概览
名称与所有者sensiolabs/security-checker
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2013-02-01 10:45:33
推送于2021-01-15 07:12:15
最后一次提交2021-01-15 08:12:09
发布数46
最新版本名称v6.0.3 (发布于 2019-11-01 14:20:38)
第一版名称v1.0 (发布于 2013-02-19 16:31:44)
用户参与
星数2k
关注者数58
派生数116
提交数162
已启用问题?
问题数0
打开的问题数0
拉请求数48
打开的拉请求数0
关闭的拉请求数31
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?