# US 2026/0093611 A1 · Security testing based on generative artificial intelligence

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0093611 A1
- Document ID: US20260093611A1
- Status: Published application
- Kind: A1
- Application number: 19/414,038
- Filed: 2025-12-09
- Published: 2026-04-02
- Earliest claimed: 2023-09-06
- Assignees: The Toronto-Dominion Bank
- Applicants: The Toronto-Dominion Bank
- Inventors: Gopendu Sen
- Web page: https://patentgrep.com/patent/US20260093611A1

## CPC

- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An example operation may include one or more of executing tests on a software application via a test environment of a test platform and logging results of the tests in a log file, identifying a new feature to be added to the software application based on execution of a machine learning model on logged results of the tests stored in the log file, generating source code for the new feature to be added to the software application based on execution of a generative artificial intelligence (GenAI) model on the new feature and a repository of source code, and displaying the generated source code via a user interface of the software application. The example operation may further include an AI agent that performs an action based on the generated source code.

## Claims

### Claim 1

An apparatus comprising:
a memory configured to store a log file;
a display; and
a processor coupled to the memory and the display, the processor configured to:
generate source code for a new feature to be added to a software application based on execution of a generative artificial intelligence (GenAI) model on the new feature and a repository of source code stored in the memory;
execute the generated source code and at least one test case to generate test results; and
display the generated source code and the test results on the display via a user interface of the software application.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to add the generated source code for the new feature to existing source code of the software application to generate an updated software application, and store the updated software application in the memory.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to generate a description of the new feature based on execution of the GenAI model on the new feature and the repository of source code and store the description with the generated source code in the memory, wherein an AI agent performs an action based on the generated source code.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to execute the generated source code and the at least one test case to generate test results, and display the test results via the user interface of the software application.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the processor is configured to generate the at least one test case based on execution of the GenAI model on the generated source code and at least one repository of sample test cases.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to identify a new input mechanism to be added to the user interface of the software application based on the execution of the GenAI model, and generate source code for the new input mechanism on the user interface.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to execute the at least one test case on the software application simultaneously while identifying of the new feature to be added to the software application.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to generate the source code by modifying an existing code module of the software application to perform the new feature, and display the modified code module via the user interface.

### Claim 9

A method comprising:
generating source code for a new feature to be added to a software application based on execution of a generative artificial intelligence (GenAI) model on the new feature and a repository of source code stored in a memory;
executing the generated source code and at least one test case to generate test results; and
displaying the generated source code and the test results on a display via a user interface of the software application.

### Claim 10 (depends on 9)

The method of claim 9, wherein the method comprises adding the generated source code for the new feature to existing source code of the software application to generate an updated software application, and storing the updated software application in a software repository.

### Claim 11 (depends on 9)

The method of claim 9, wherein the method comprises generating a description of the new feature based on execution of the GenAI model on the new feature and the repository of source code and storing the description with the generated source code in a file on the memory, wherein an AI agent performs an action based on the generated source code.

### Claim 12 (depends on 9)

The method of claim 9, wherein the method comprises executing the generated source code and executing at least one test case to generate test results, and displaying the test results via the user interface of the software application.

### Claim 13 (depends on 12)

The method of claim 12, wherein the method comprises generating the at least one test case based on execution of the GenAI model on the generated source code and at least one repository of sample test cases.

### Claim 14 (depends on 9)

The method of claim 9, wherein the identifying comprises identifying a new input mechanism to be added to the user interface of the software application based on the execution of the GenAI model, and the generating comprises generating source code for the new input mechanism on the user interface.

### Claim 15 (depends on 9)

The method of claim 9, wherein the executing the at least one test case on the software application via a test environment comprises executing the at least one test case on the software application simultaneously while performing the identifying of the new feature to be added to the software application.

### Claim 16 (depends on 9)

The method of claim 9, wherein the generating the source code comprises modifying an existing code module of the software application to perform the new feature and displaying the modified code module via the user interface.

### Claim 17

A computer-readable medium comprising storing instructions which when executed by a processor cause a computer to perform:
generating source code for a new feature to be added to a software application based on execution of a generative artificial intelligence (GenAI) model on the new feature and a repository of source code stored in a memory;
executing the generated source code and at least one test case to generate test results; and
displaying the generated source code and the test results on a display via a user interface of the software application.

### Claim 18 (depends on 17)

The computer-readable medium of claim 17, wherein the computer is configured to perform adding the generated source code for the new feature to existing source code of the software application to generate an updated software application, and storing the updated software application in a software repository.

### Claim 19 (depends on 17)

The computer-readable medium of claim 17, wherein the processor is configured to perform generating a description of the new feature based on execution of the GenAI model on the new feature and the repository of source code and storing the description with the generated source code in a file in the memory, wherein an AI agent performs an action based on the generated source code.

### Claim 20 (depends on 17)

The computer-readable medium of claim 17, wherein the processor is configured to perform executing the generated source code and executing at least one test case to generate test results, and displaying the test results via the user interface of the software application.
