An automatic front-end website user
network behavior security detection
system comprises a website automatic test module, a front-end code analysis module, a
dynamic instrumentation analysis module and a user behavior analysis module, and the website automatic test module analyzes the result information according to the front-end code analysis module and the
dynamic instrumentation analysis module. The code collection module is used for interacting with the website code analysis module, executing page operation according to instructions of the website code analysis module, continuously collecting newly loaded codes and outputting the newly loaded codes to the website code analysis module; the front-end code analysis module is used for performing
static analysis on the collected front-end codes, identifying key elements and elements related to network operation, and obtaining a
JavaScript function related to the network operation; the
dynamic instrumentation analysis module modifies a front-end code loaded by a browser according to a
JavaScript function, inserts a log recording code into the
JavaScript function, and replaces a front-section original webpage code with the JavaScript code obtained after
instrumentation; the website automatic test module simulates interaction between a user and a website, log information output by codes after
instrumentation is collected by user behaviors, and all potential user network behaviors are obtained by integrating key
network behavior related elements obtained by front-end code analysis. Through an
automation technology, comprehensive and real-time monitoring of user behaviors is realized, and potential security threats are automatically detected and responded.