Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Introduce a new check:security command #11146

Copy link
Copy link
Closed
@javiereguiluz

Description

@javiereguiluz
Issue body actions

(this issue is part of the "DX" ("Developer eXperience") initiative introduced by Symfony project)

Security for professional web applications is not an option. That's why we should make easier for developers to check for potential security vulnerabilities in their Symfony applications. In the past, Symfony project took some bold actions towards security, such as organizing a crowdfunded security audit for Symfony2.

The proposal

Introduce a new command (for now, let's call it check:security) that checks the status of your project's dependencies using the public Security Advisories Database provided by SensioLabs. As a matter of fact, there is already a project called security-checker which is a Symfony console command that performs this check.

Example of the desired output for this command:

$ php app/console check:security

 +---------------------------+
 | Security Status: CRITICAL |
 +---------------------------+

 The security checker detected 1 package with known vulnerabilities.
 Upgrade those dependencies as soon as possible.

 Detected vulnerabilities
 ------------------------

  * swiftmailer/swiftmailer (v5.1.0)
    > Sendmail transport arbitrary shell execution
    > http://blog.swiftmailer.org/post/88660759928/security-fix-swiftmailer-5-2-1-released

Lastly, if you think that this command is "too coupled with SensioLabs", please point to an alternative public database of vulnerabilities related to PHP/Symfony which is actively maintained and that provides a simple and free API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)DX = Developer eXperience (anything that improves the experience of using Symfony)Security

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.