# US 2026/0086783 A1 · Large language model (llm) risk mitigation

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

- Number: US 2026/0086783 A1
- Document ID: US20260086783A1
- Status: Published application
- Kind: A1
- Application number: 19/407,492
- Filed: 2025-12-03
- Published: 2026-03-26
- Earliest claimed: 2023-10-03
- Assignees: American Express Travel Related Services Company, Inc.
- Applicants: American Express Travel Related Services Company, Inc.
- Inventors: Hiranmayi Palanki; Shankar Djeyassilane
- Web page: https://patentgrep.com/patent/US20260086783A1

## CPC

- G06F 8/35: model driven
- G06F 8/60: Software deployment
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed are various approaches for large language model (LLM) application risk mitigation. A large language model (LLM) application along with a LLM risk mitigation program can be deployed. A system call for the LLM application is intercepted, in which the system interacts with a network LLM service using the LLM risk mitigation program. An LLM risk mitigation action is executed and modifies the system call using the LLM risk mitigation program based at least in part on a packet from the system call.

## Claims

### Claim 1

A system, comprising:
at least one computing device comprising at least one processor and at least one memory; and
machine-readable instructions stored in the at least one memory that, when executed by the at least one processor, cause the at least one computing device to at least:
deploy a large language model (LLM) application along with an LLM risk mitigation program;
intercept a system call for the LLM application that interacts with a network LLM service using the LLM risk mitigation program; and
execute an LLM risk mitigation action that modifies the system call using the LLM risk mitigation program based at least in part on a packet from the system call.

### Claim 2 (depends on 1)

The system of claim 1, wherein the machine-readable instructions that intercept the system call for the LLM application further cause the at least one computing device to at least determine that the system call corresponds to an LLM interaction fingerprint that identifies the system call as being generated for a communication between the LLM application and the network LLM service.

### Claim 3 (depends on 2)

The system of claim 2, wherein the LLM risk mitigation program modifies the system call in an instance in which the system call is identified to correspond to the LLM interaction fingerprint based at least in part on a packet inspection of the system call.

### Claim 4 (depends on 1)

The system of claim 1, wherein the LLM risk mitigation action comprises executing LLM risk mitigation code for the LLM application.

### Claim 5 (depends on 1)

The system of claim 1, wherein the machine-readable instructions, when executed by the at least one processor, cause the at least one computing device to at least:
transmit LLM interaction tracing data to a network service, the LLM interaction tracing data comprising at least one of: the packet of the system call, a modified packet, timestamped metadata associated with the system call, or any combination thereof.

### Claim 6 (depends on 1)

The system of claim 1, wherein the system call uses at least one risk mitigation function that comprises an in-line LLM implemented using the LLM risk mitigation program.

### Claim 7 (depends on 1)

The system of claim 1, wherein the system call comprises a command to transmit or receive communications.

### Claim 8

A non-transitory, computer-readable medium, comprising machine-readable instructions that, when executed by a processor of a computing device, cause the computing device to at least:
deploy a large language model (LLM) application along with an LLM risk mitigation program,
intercept a system call for the LLM application that interacts with a network LLM service using the LLM risk mitigation program; and
execute an LLM risk mitigation action that modifies the system call using the LLM risk mitigation program based at least in part on a packet from the system call.

### Claim 9 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the machine-readable instructions that intercept the system call for the LLM application further cause computing device to at least determine that the system call corresponds to an LLM interaction fingerprint that identifies the system call as being generated for a communication between the LLM application and the network LLM service.

### Claim 10 (depends on 9)

The non-transitory, computer-readable medium of claim 9, wherein the LLM risk mitigation program modifies the system call in an instance in which the system call is identified to correspond to the LLM interaction fingerprint based at least in part on a packet inspection of the system call.

### Claim 11 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the LLM risk mitigation action comprises executing LLM risk mitigation code for the LLM application.

### Claim 12 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the machine-readable instructions, when executed by the processor, cause the computing device to at least:
transmit LLM interaction tracing data to a network service, the LLM interaction tracing data comprising at least one of: the packet of the system call, a modified packet, timestamped metadata associated with the system call, or any combination thereof.

### Claim 13 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the system call uses at least one risk mitigation function that comprises an in-line LLM implemented using the LLM risk mitigation program.

### Claim 14 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the system call comprises a command to transmit or receive communications.

### Claim 15

A method, comprising:
identifying, via at least one computing device, a large language model (LLM) application that interacts with a network LLM service;
generating, via the at least one computing device, an LLM risk mitigation code based at least in part on a portion of code from the LLM application that interfaces with the network LLM service; and
deploying, via the at least one computing device, an LLM filtering program that implements the LLM risk mitigation code.

### Claim 16 (depends on 15)

The method of claim 15, wherein the LLM filtering program is deployed at a kernel-layer and in a runtime environment for an execution of the LLM application.

### Claim 17 (depends on 15)

The method of claim 15, further comprising:
intercepting, via the at least one computing device, a system call for the LLM application that interacts with a network LLM service using the LLM filtering program.

### Claim 18 (depends on 17)

The method of claim 17, wherein using the LLM filtering program further comprises
generating a modified packet based at least in part on trapping a packet from the system call; and
transmitting the modified packet to an original destination.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
executing, via the at least one computing device, an LLM risk mitigation action that modifies a system call using the LLM filtering program based at least in part on a packet from the system call.

### Claim 20 (depends on 15)

The method of claim 15, further comprising:
transmitting, via the at least one computing device, LLM interaction tracing data to a network service, the LLM interaction tracing data comprising at least one of: packet of a system call intercepted for the LLM application, a modified packet, timestamped metadata associated with the system call, or any combination thereof.
