# US 2026/0268098 A1 · Methods and apparatus to self-guardrail large language model responses

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

- Number: US 2026/0268098 A1
- Document ID: US20260268098A1
- Status: Published application
- Kind: A1
- Application number: 19/664,519
- Filed: 2026-04-30
- Published: 2026-09-10
- Earliest claimed: 2023-10-06
- Assignees: McAfee, Inc.
- Applicants: McAfee, LLC
- Inventors: German Lancioni; Jonathan Brent King
- Web page: https://patentgrep.com/patent/US20260268098A1

## CPC

- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- H04L 51/212: using filtering or selective blocking
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 51/046: Interoperability with other network applications or services
- 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

Systems, apparatus, articles of manufacture, and methods to self-guardrail large language model responses are disclosed. An example apparatus includes interface circuitry, instructions, and programmable circuitry to at least one of execute or instantiate the instructions to access a first response message provided by a first large language model, the first response message generated based on an initial prompt, cause a second large language model to determine the first response message is inappropriate, modify the initial prompt to create a modified prompt, and provide the modified prompt to the first large language model to trigger generation of a second response message.

## Claims

### Claim 1

At least one non-transitory computer readable medium comprising instructions that cause at least one processor circuit to at least:
access a request to validate whether a digital message is at least one of a spam message, a phishing message, or a malicious message;
provide, to a first large language model, an initial prompt based on the digital message to generate a response message including an explanation of whether the digital message is at least one of the spam message, the phishing message, or the malicious message;
perform a first-pass screening of the response message to determine whether the response message includes at least one word or phrase identified as inappropriate;
when the first-pass screening indicates the response message does not include a word or phrase identified as inappropriate, perform a second determination by causing a second large language model to evaluate the response message with respect to at least one hypothesis to determine whether the response message is inappropriate; and
when the response message is determined to be inappropriate based on the second determination, modify the initial prompt to create a modified prompt by insertion of an anti-hypothesis corresponding to the at least one hypothesis, and provide the modified prompt to the first large language model to trigger generation of a subsequent response message including a subsequent explanation of whether the digital message is at least one of the spam message, the phishing message, or the malicious message.

### Claim 2 (depends on 1)

The at least one non-transitory computer-readable medium of claim 1, wherein the at least one hypothesis is to test whether the response message includes at least one of a harmful suggestion, malicious advice, or malicious code.

### Claim 3 (depends on 1)

The at least one non-transitory computer-readable medium of claim 1, wherein the at least one hypothesis is to test whether the response message includes a hallucination.

### Claim 4 (depends on 1)

The at least one non-transitory computer-readable medium of claim 1, wherein to perform the second determination, the instructions cause one or more of the at least one processor circuit to cause the second large language model to evaluate the response message with respect to a generalized hypothesis applicable to a plurality of appropriateness tests, and, when the response message is determined to be inappropriate with respect to the generalized hypothesis, cause the second large language model to evaluate the response message with respect to a specialized hypothesis from among a plurality of specialized hypotheses corresponding to the generalized hypothesis, wherein the anti-hypothesis corresponds to the specialized hypothesis.

### Claim 5 (depends on 4)

The at least one non-transitory computer-readable medium of claim 4, wherein the instructions cause one or more of the at least one processor circuit to cause the second large language model to evaluate the response message with respect to two or more specialized hypotheses from among the plurality of specialized hypotheses, and to select the specialized hypothesis based on comparative indications of inappropriateness produced by the evaluations of the two or more specialized hypotheses.

### Claim 6 (depends on 1)

The at least one non-transitory computer-readable medium of claim 1, wherein to perform the second determination, the instructions cause one or more of the at least one processor circuit to cause the second large language model to generate an acceptability score for the response message on a scale of zero to one, wherein the response message is determined to be appropriate when the acceptability score meets or exceeds an acceptability threshold, and the response message is determined to be inappropriate when the acceptability score meets a non-acceptability threshold.

### Claim 7 (depends on 6)

The at least one non-transitory computer-readable medium of claim 6, wherein the acceptability threshold is a value of nine tenths on the scale of zero to one, and the non-acceptability threshold is a value of three tenths on the scale of zero to one.

### Claim 8 (depends on 6)

The at least one non-transitory computer-readable medium of claim 6, wherein when the acceptability score does not meet the acceptability threshold and does not meet the non-acceptability threshold, the instructions cause one or more of the at least one processor circuit to cause the second large language model to evaluate the response message with respect to a specialized hypothesis to determine whether the response message is inappropriate.

### Claim 9 (depends on 6)

The at least one non-transitory computer-readable medium of claim 6, wherein the instructions cause the one or more of the at least one processor circuit to cause the second large language model to provide a reason for the acceptability score in addition to the acceptability score.

### Claim 10 (depends on 1)

The at least one non-transitory computer-readable medium of claim 1, wherein the anti-hypothesis is a negative modifier to the initial prompt.

### Claim 11 (depends on 1)

The at least one non-transitory computer-readable medium of claim 1, wherein the anti-hypothesis is a positive modifier to the initial prompt.

### Claim 12 (depends on 1)

The at least one non-transitory computer-readable medium of claim 1, wherein the instructions cause one or more of the at least one processor circuit to select the at least one hypothesis based on a likelihood of detecting that the response message is inappropriate.

### Claim 13 (depends on 1)

The at least one non-transitory computer-readable medium of claim 1, wherein when an attempt counter meets or exceeds an attempt threshold without generation of an appropriate subsequent response message, the instructions cause one or more of the at least one processor circuit to return a message indicating that an acceptable response message could not be generated.

### Claim 14

An apparatus, comprising:
memory;
machine readable instructions; and
at least one processor circuit to at least one of instantiate or execute the machine readable instructions to:
access a request to validate whether a digital message is at least one of a spam message, a phishing message, or a malicious message;
provide, to a first large language model, an initial prompt based on the digital message to generate a response message including an explanation of whether the digital message is at least one of the spam message, the phishing message, or the malicious message;
perform a first-pass screening of the response message to determine whether the response message includes at least one word or phrase identified as inappropriate;
when the first-pass screening indicates the response message does not include a word or phrase identified as inappropriate, perform a second determination by causing a second large language model to evaluate the response message with respect to at least one hypothesis to determine whether the response message is inappropriate; and
when the response message is determined to be inappropriate based on the second determination, modify the initial prompt to create a modified prompt by insertion of an anti-hypothesis corresponding to the at least one hypothesis, and provide the modified prompt to the first large language model to trigger generation of a subsequent response message including a subsequent explanation of whether the digital message is at least one of the spam message, the phishing message, or the malicious message.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the at least one hypothesis is to test whether the response message includes at least one of a harmful suggestion, malicious advice, or malicious code.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the at least one hypothesis is to test whether the response message includes a hallucination.

### Claim 17 (depends on 14)

The apparatus of claim 14, wherein to perform the second determination, the instructions cause one or more of the at least one processor circuit to cause the second large language model to evaluate the response message with respect to a generalized hypothesis applicable to a plurality of appropriateness tests, and, when the response message is determined to be inappropriate with respect to the generalized hypothesis, cause the second large language model to evaluate the response message with respect to a specialized hypothesis from among a plurality of specialized hypotheses corresponding to the generalized hypothesis, wherein the anti-hypothesis corresponds to the specialized hypothesis.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein one or more of the at least one processor circuit is to cause the second large language model to evaluate the response message with respect to two or more specialized hypotheses from among the plurality of specialized hypotheses, and to select the specialized hypothesis based on comparative indications of inappropriateness produced by the evaluations of the two or more specialized hypotheses.

### Claim 19 (depends on 14)

The apparatus of claim 14, wherein one or more of the at least one processor circuit is to cause the second large language model to generate an acceptability score for the response message on a scale of zero to one, wherein the response message is determined to be appropriate when the acceptability score meets or exceeds an acceptability threshold, and the response message is determined to be inappropriate when the acceptability score meets a non-acceptability threshold.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the acceptability threshold is a value of nine tenths on the scale of zero to one, and the non-acceptability threshold is a value of three tenths on the scale of zero to one.
