System and method to use past computer executable instructions to evaluate proposed computer executable instructions
AssigneeVisa International Service Association
InventorsYue Li, Theodore Harris, Tatiana Korolevskaya
Life of this patent
Estimating the term…
Abstract
Computer executable instructions including code sections are received and compared to previously analyzed computer executable instructions. The code sections are then analyzed and assigned a risk score. If the risk score is over a threshold, an alarm may be communicated or the system may substitute computer executable instructions that may have been created according to a standard or have been previously approved.
Claims20
A method of analyzing computer executable instructions for risk comprising:
- receiving computer executable instructions, wherein the computer executable instructions are yet to be executed;
- determining a proposed risk factor for the computer executable instructions, wherein the determining the proposed risk factor comprises:
- determining code level analyzable elements from the computer executable instructions, wherein the determining comprises reviewing a coding style of the computer executable instructions based on one or more of the following:
- comments in the computer executable instructions, libraries used by the computer executable instructions, indentation lines of codes of the computer executable instructions, uses of sub-routines of the computer executable instructions, existence of commands in the computer executable instructions, and lack of commands in the computer executable instructions;
- recursively separating recognizable sections of the code level analyzable elements from unrecognizable sections;
- executing a comparison of a first analyzable element to past analyzable elements stored in the memory that were previously scored as risk factors, wherein the comparison compares the coding style to coding styles stored in the memory;
- based on the comparison, calculating a coding style similarity score as part of the proposed risk factor;
- determining a threshold for the proposed risk factor according to at least one of the following:
- a government authority with grades of thresholds, and a past history of the proposed risk factor of the computer executable instructions;
- and
- in response to the determined risk factor calculated for the first analyzable element being meeting over the determined threshold, undertaking a risk response,
- wherein the risk response comprises one of the following:
- communicating a risk warning associated with the computer executable instructions, replacing the computer executable instructions identified as risk with a comparable computer executable instructions that have been determined to have an acceptable risk, or placing a hold on the computer executable instructions.
A computer system comprising an input output circuit, a memory and a processor physically configured according to computer executable instructions, the computer executable instructions comprising instructions for:
- receiving computer executable instructions, wherein the computer executable instructions are yet to be executed;
- determining a risk factor for the computer executable instructions, wherein the determining the risk factor comprises:
- determining code level analyzable elements from the computer executable instructions, wherein the determining comprises reviewing a coding style of the computer executable instructions based on one or more of the following:
- comments in the computer executable instructions, libraries used by the computer executable instructions, indentation lines of codes of the computer executable instructions, uses of sub-routines of the computer executable instructions, existence of commands in the computer executable instructions, and lack of commands in the computer executable instructions;
- recursively separating recognizable sections of the code level analyzable elements from unrecognizable sections;
- executing a comparison of a first analyzable element to past analyzable elements stored in the memory that were previously scored as risk factors, wherein the comparison compares the coding style to coding styles stored in the memory;
- based on the comparison, calculating a coding style similarity score as part of the proposed risk factor;
- determining a threshold for the risk factor according to at least one of the following:
- a government authority with grades of thresholds, and a past history of the risk factor of the computer executable instructions;
- and
- in response to the determined risk factor calculated for the first analyzable element being meeting the determined threshold, undertaking a risk response,
- wherein the risk response comprises one of the following:
- communicating a risk warning associated with the computer executable instructions, replacing the computer executable instructions identified as risk with a comparable computer executable instructions that have been determined to have an acceptable risk, or placing a hold on the computer executable instructions.
A tangible non-transitory computer readable medium comprising computer executable instructions for:
- receiving computer executable instructions, wherein the computer executable instructions are yet to be executed;
- determining a risk factor for the computer executable instructions, wherein the determining the risk factor comprises:
- determining code level analyzable elements from the computer executable instructions, wherein the determining comprises reviewing a coding style of the computer executable instructions based on one or more of the following:
- comments in the computer executable instructions, libraries used by the computer executable instructions, indentation lines of codes of the computer executable instructions, uses of sub-routines of the computer executable instructions, existence of commands in the computer executable instructions, and lack of commands in the computer executable instructions;
- recursively separating recognizable sections of the code level analyzable elements from unrecognizable sections;
- executing a comparison of a first analyzable element to past analyzable elements stored in the memory that were previously scored as risk factors, wherein the comparison compares the coding style to coding styles stored in the memory;
- based on the comparison, calculating a coding style similarity score as part of the proposed risk factor;
- determining a threshold for the risk factor according to at least one of the following:
- a government authority with grades of thresholds, and a past history of the risk factor of the computer executable instructions;
- and
- in response to the determined risk factor calculated for the first analyzable element being meeting the determined threshold, undertaking a risk response,
- wherein the risk response comprises one of the following:
- communicating a risk warning associated with the computer executable instructions, replacing the computer executable instructions identified as risk with a comparable computer executable instructions that have been determined to have an acceptable risk, or placing a hold on the computer executable instructions.
Dependencies are inferred from the claim text.