1. A non-transitory computer readable storage medium, comprising executable instructions to: perform an automated analysis of program instructions using a security module to analyze application output prior to the program instructions being invoked, wherein the automated analysis includes an automated analysis of injection vulnerabilities, an automated analysis of potential repetitive attacks including session ID guessing, credential guessing, click fraud and site probing, an automated analysis of sensitive information, and an automated analysis of specific HTTP attributes; select and insert protective instructions into the program instructions based on the automated analysis of the injection vulnerabilities, wherein the protective instructions comprise a call that generates a security event during runtime; and utilize a runtime security module to detect and respond to attacks by analyzing the generated security event during execution of the program instructions.
4. The computer readable storage medium of claim 1 wherein specific HTTP attributes include session fixation, anonymous access, publicly available attack tools, and forceful browsing.