Wikimedia Security Team/Third Party Code Review Checklist
Here are some basic items the Security Team will check when reviewing third party packages and libraries. This should not be thought of as an exhaustive list and if time permits, more rigorous reviews of third party code are certainly recommended.
- Check for number and most recent dates of contributions to code, along with number of active developers.
- Check for current usage statistics of code, if available. i.e. how many downloads, by who, etc.
- Check for published security issues, especially open issues on project github or similar pages.
- Check for current, accurate method of reporting security vulnerabilities to a project. Get a sense of how responsive developers are, if possible.
- Check for published vulnerabilities within various databases:
- NIST vulns: https://nvd.nist.gov/search
- snyk: https://snyk.io/vuln
- language-specific tools:
- Static analysis, if feasible.
(note: many of the checks above are contained/automated within the php-security-tools toolkit)