1. A method for automatically remedying security flaws, the method comprising the steps of: receiving in memory a static binary analysis report for a binary file corresponding to an application; identifying a section of the binary file, by a processor, based on, at least in part, the received report, the identified section corresponding to a security flaw; determining if a binary patch matching with the identified section exists in a library of patches; if the matching patch is determined to exist, determining if replacing the identified section with the matching binary patch would result in a change in a function of the binary file; if no change in the function is determined to occur, replacing the identified section with the matching patch; and generating a notification if the library lacks the matching binary patch or if the replacement would change the function.