Recommend this page to a friend! |
Classes of Paras Malhotra | PHP Security Checker | tests/Fixtures/php_security_advisories/security-advisories-master/README.md | Download |
|
DownloadPHP Security Advisories DatabaseThe PHP Security Advisories Database references known security vulnerabilities in various PHP projects and libraries. This database must not serve as the primary source of information for security issues, it is not authoritative for any referenced software, but it allows to centralize information for convenience and easy consumption. LicenseThe PHP security advisories database is free and unencumbered software released into the public domain. Checking for VulnerabilitiesThere are several possibilities to check for vulnerabilities in your applications beside manual checks: * Use the [Local CLI tool][1]:
* Use the [Symfony CLI]2:
TIP: If you are using Github, you can use the PHP Security Checker [Github Action][3] to automatically check for vulnerabilities when pushing code. ContributingContributing security advisories is as easy as it can get: * You can contribute a new entry by sending a pull request or by creating a
* Create a directory based on the Composer name of the software where the
* Each security issue must be saved in a file where the name is the CVE
The file is in the YAML format andmust* contain the following entries
* If you have a CVE identifier, add it under the * Make sure your file validates by running
If some affected code is available through different Composer entries (like when you have read-only subtree splits of a main repository), duplicate the information in several files. [1]: https://github.com/fabpot/local-php-security-checker [2]: https://symfony.com/download [3]: https://github.com/marketplace/actions/the-php-security-checker |