Given amount of duplication and variation there is no way to guarantee any level of security in such codebase. The bright future ahead!