Hello everbody.
I think that we need to include a Static Code Analyzer to the SoftwareLifeCycle.
What are the benefit of SCA?
They will analyze static code in search of flaws, security problems and other bugs.
When developing a security program like a Password Manager this is a (very) good thing to do.
This will
not detect every vulnerability in your program but can help fix some.
The most known is
flawfinder (
http://www.dwheeler.com/flawfinder/ http://freecode.com/projects/flawfinder) and it's already in most of distro's repository
I attach the report of flawfinder on the current feature/autotype-delay-#76 branch
PS: some flaws are false positive and can be hidden with a comment in the code like the following so every "ignore" must be argued with a comment in the code specifying why can be ignored/* Flawfinder: ignore */
How we can add it to the software life cycle?
Some Ideas:
- Maintainers and Contributors, when reviewing Pull Request, perform a scan and post the result in the review
- Developers that post Pull Request must add a link to a Gist or a Pastebin with result of the scan
- Maintainers before every release perform a scan and fix problems before the release (this will leave flaws in the develop code from a release to another)
Opinions?