# US 2026/0093826 A1 · System and method for secure data consumption by machine learning models

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

- Number: US 2026/0093826 A1
- Document ID: US20260093826A1
- Status: Published application
- Kind: A1
- Application number: 18/902,479
- Filed: 2024-09-30
- Published: 2026-04-02
- Earliest claimed: 2024-09-30
- Assignees: Bank of America Corporation
- Applicants: Bank of America Corporation
- Inventors: Shailendra Singh; Krishna Mamadapur; Jigesh Rajendra Safary
- Web page: https://patentgrep.com/patent/US20260093826A1

## CPC

- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 9/5005: {to service a request}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In response to receiving a request to generate an Application Programming Interface (API) program configured to extract data from an endpoint storage, the API program is generated based on the request by generating a software script configured to accept a data request to extract data from the endpoint storage, interface with the endpoint storage, and extract a requested piece of data from the endpoint storage. An NFT minting processor is used to generate an NFT for the API program, wherein the NFT stores one or more security rules defining usage of the API program. The NFT is then allocated to a requesting ML model allowing the ML model to use the API program to extract data from the endpoint storage.

## Claims

### Claim 1

A system comprising:
a blockchain network comprising one or more Non-Fungible Token (NFT) minting processors configured to generate NFTs;
a memory configured to store one or more security rules defining usage of an Application Programming Interface (API) program configured to extract data from an endpoint storage; and
a processor communicatively coupled to the blockchain network and the memory, the processor configured to:
receive a request to generate the API program configured to extract data from the endpoint storage, wherein the request at least comprises an identity of the endpoint storage;
generate the API program based on the request, wherein generating the API program comprises generating a software script that is configured to accept a data request to extract data from the endpoint storage, interface with the endpoint storage, and extract a requested piece of data from the endpoint storage;
obtain the one or more security rules defining usage of the API program;
cause the one or more NFT minting processors of the blockchain network to generate an NFT that uniquely identifies the API program, wherein the NFT stores the one or more security rules associated with the API program;
store the NFT in a data file on the blockchain network;
receive a request from a machine learning (ML) model to use the API program for extracting data from the endpoint storage; and
access the NFT associated with the API program from data file on the blockchain network; and
allocate the NFT associated with the API program to the ML model allowing the ML model to use the API program to extract the requested data from the endpoint storage.

### Claim 2 (depends on 1)

The system of claim 1, wherein the processor is further configured to:
in response to receiving the request from the ML model to use the API program, extract, from the data file, the one or more security rules associated with the NFT of the API program;
generate a smart contract that implements usage of the API program according to the one or more security rules; and
store the smart contract in the blockchain network.

### Claim 3 (depends on 2)

The system of claim 2, wherein the processor is further configured to:
transmit the smart contract to the ML model;
receive an approval of the smart contract from the ML model; and
in response to receiving the approval of the smart contract, allocate the NFT associated with the API program to the ML model.

### Claim 4 (depends on 2)

The system of claim 2, wherein the processor is further configured to:
transmit the smart contract to the ML model;
receive a request to update a particular security rule included in the smart contract;
update the particular security rule to generate an updated smart contract;
transmit the updated smart contract to the ML model;
receive an approval of the updated smart contract from the ML model; and
in response to receiving the approval of the updated smart contract, allocate the NFT associated with the API program to the ML model.

### Claim 5 (depends on 2)

The system of claim 2, wherein the processor is further configured to:
detect that the ML model has accessed the API program and initiated a data interaction for extracting data from the endpoint storage using the API program;
in response to detecting that the ML model has accessed the API program, access the smart contract from the blockchain network; and
run the smart contract to monitor the data interaction and implement the one or more security rules in the smart contract.

### Claim 6 (depends on 5)

The system of claim 5, wherein:
the smart contract includes a particular security rule that specifies that the ML model is not authorized to extract a particular piece of data from the endpoint storage; and
the processor is further configured to:
detect, based on monitoring the data interaction using the smart contract, that the API program is used to extract the particular piece of data from the endpoint storage; and
in response to detecting that the API program is used to extract the particular piece of data from the endpoint storage, withdraw allocation of the NFT associated with the API program to the ML model to stop further use of the API program by the ML model.

### Claim 7 (depends on 1)

The system of claim 1, wherein the one or more security rules define usage of the API program relating to one or more of a type of data that can be extracted from the endpoint storage, a time period of usage of data extracted from the endpoint storage, a number of times data can be extracted from the endpoint storage, an encryption type of data extracted from the endpoint storage, an endpoint URL where the endpoint storage is to be accessed, an extraction protocol to be used to extract data from the endpoint storage, or identities on one or more ML models that are authorized to use the API program.

### Claim 8

A method comprising:
receive a request to generate an API program configured to extract data from an endpoint storage, wherein the request at least comprises an identity of the endpoint storage;
generate the API program based on the request, wherein generating the API program comprises generating a software script that is configured to accept a data request to extract data from the endpoint storage, interface with the endpoint storage, and extract a requested piece of data from the endpoint storage;
obtain one or more security rules defining usage of the API program;
cause one or more NFT minting processors of a blockchain network to generate an NFT that uniquely identifies the API program, wherein the NFT stores the one or more security rules associated with the API program;
store the NFT in a data file on the blockchain network;
receive a request from a machine learning (ML) model to use the API program for extracting data from the endpoint storage; and
access the NFT associated with the API program from data file on the blockchain network; and
allocate the NFT associated with the API program to the ML model allowing the ML model to use the API program to extract the requested data from the endpoint storage.

### Claim 9 (depends on 8)

The method of claim 8, wherein the processor is further configured to:
in response to receiving the request from the ML model to use the API program, extract, from the data file, the one or more security rules associated with the NFT of the API program;
generate a smart contract that implements usage of the API program according to the one or more security rules; and
store the smart contract in the blockchain network.

### Claim 10 (depends on 9)

The method of claim 9, wherein the processor is further configured to:
transmit the smart contract to the ML model;
receive an approval of the smart contract from the ML model; and
in response to receiving the approval of the smart contract, allocate the NFT associated with the API program to the ML model.

### Claim 11 (depends on 9)

The method of claim 9, wherein the processor is further configured to:
transmit the smart contract to the ML model;
receive a request to update a particular security rule included in the smart contract;
update the particular security rule to generate an updated smart contract;
transmit the updated smart contract to the ML model;
receive an approval of the updated smart contract from the ML model; and
in response to receiving the approval of the updated smart contract, allocate the NFT associated with the API program to the ML model.

### Claim 12 (depends on 9)

The method of claim 9, wherein the processor is further configured to:
detect that the ML model has accessed the API program and initiated a data interaction for extracting data from the endpoint storage using the API program;
in response to detecting that the ML model has accessed the API program, access the smart contract from the blockchain network; and
run the smart contract to monitor the data interaction and implement the one or more security rules in the smart contract.

### Claim 13 (depends on 12)

The method of claim 12, wherein:
the smart contract includes a particular security rule that specifies that the ML model is not authorized to extract a particular piece of data from the endpoint storage; and
the processor is further configured to:
detect, based on monitoring the data interaction using the smart contract, that the API program is used to extract the particular piece of data from the endpoint storage; and
in response to detecting that the API program is used to extract the particular piece of data from the endpoint storage, withdraw allocation of the NFT associated with the API program to the ML model to stop further use of the API program by the ML model.

### Claim 14 (depends on 8)

The method of claim 8, wherein the one or more security rules define usage of the API program relating to one or more of a type of data that can be extracted from the endpoint storage, a time period of usage of data extracted from the endpoint storage, a number of times data can be extracted from the endpoint storage, an encryption type of data extracted from the endpoint storage, an endpoint URL where the endpoint storage is to be accessed, an extraction protocol to be used to extract data from the endpoint storage, or identities on one or more ML models that are authorized to use the API program.

### Claim 15

A non-transitory computer-readable medium storing instructions that when executed by a processor causes the processor to:
receive a request to generate an API program configured to extract data from an endpoint storage, wherein the request at least comprises an identity of the endpoint storage;
generate the API program based on the request, wherein generating the API program comprises generating a software script that is configured to accept a data request to extract data from the endpoint storage, interface with the endpoint storage, and extract a requested piece of data from the endpoint storage;
obtain one or more security rules defining usage of the API program;
cause one or more NFT minting processors of a blockchain network to generate an NFT that uniquely identifies the API program, wherein the NFT stores the one or more security rules associated with the API program;
store the NFT in a data file on the blockchain network;
receive a request from a machine learning (ML) model to use the API program for extracting data from the endpoint storage; and
access the NFT associated with the API program from data file on the blockchain network; and
allocate the NFT associated with the API program to the ML model allowing the ML model to use the API program to extract the requested data from the endpoint storage.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the processor is further configured to:
in response to receiving the request from the ML model to use the API program, extract, from the data file, the one or more security rules associated with the NFT of the API program;
generate a smart contract that implements usage of the API program according to the one or more security rules; and
store the smart contract in the blockchain network.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the processor is further configured to:
transmit the smart contract to the ML model;
receive an approval of the smart contract from the ML model; and
in response to receiving the approval of the smart contract, allocate the NFT associated with the API program to the ML model.

### Claim 18 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the processor is further configured to:
transmit the smart contract to the ML model;
receive a request to update a particular security rule included in the smart contract;
update the particular security rule to generate an updated smart contract;
transmit the updated smart contract to the ML model;
receive an approval of the updated smart contract from the ML model; and
in response to receiving the approval of the updated smart contract, allocate the NFT associated with the API program to the ML model.

### Claim 19 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the processor is further configured to:
detect that the ML model has accessed the API program and initiated a data interaction for extracting data from the endpoint storage using the API program;
in response to detecting that the ML model has accessed the API program, access the smart contract from the blockchain network; and
run the smart contract to monitor the data interaction and implement the one or more security rules in the smart contract.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein:
the smart contract includes a particular security rule that specifies that the ML model is not authorized to extract a particular piece of data from the endpoint storage; and
the processor is further configured to:
detect, based on monitoring the data interaction using the smart contract, that the API program is used to extract the particular piece of data from the endpoint storage; and
in response to detecting that the API program is used to extract the particular piece of data from the endpoint storage, withdraw allocation of the NFT associated with the API program to the ML model to stop further use of the API program by the ML model.
