Text this: Enhancing the secured software framework using vulnerability patterns and flow diagrams