# US 2025/0165724 A1 · Cyber security system for electronic communications

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

- Number: US 2025/0165724 A1
- Document ID: US20250165724A1
- Status: Published application
- Kind: A1
- Application number: 18/954,194
- Filed: 2024-11-20
- Published: 2025-05-22
- Earliest claimed: 2023-11-20
- Inventors: Nathan Bryce MCINTYRE
- Web page: https://patentgrep.com/patent/US20250165724A1

## CPC

- G06F 40/47: Machine-assisted translation, e.g. using translation memory
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- H04L 51/063: Content adaptation, e.g. replacement of unsuitable content
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- 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

A method including receiving an electronic communication including content. The method also includes identifying, in the content, relevant data including a first portion of the content predetermined to be relevant to an evaluation of authenticity of the electronic communication and irrelevant data including a second portion of the content predetermined to be irrelevant to the evaluation. The method also includes converting the relevant data into a prompt for a language model. The method also includes executing the language model on the prompt. The method also includes outputting, by the language model, a prediction whether the electronic communication is at least one of malicious, deceptive, inauthentic, and untrustworthy.

## Claims

### Claim 1

A method comprising:
receiving an electronic communication comprising content;
identifying, in the content, relevant data comprising a first portion of the content predetermined to be relevant to an evaluation of authenticity of the electronic communication and irrelevant data comprising a second portion of the content predetermined to be irrelevant to the evaluation;
converting the relevant data into a prompt for a language model;
executing the language model on the prompt; and
outputting, by the language model, a prediction whether the electronic communication is at least one of malicious, deceptive, inauthentic, and untrustworthy.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
outputting, by the language model, an explanation for the prediction.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
outputting, by the language model, an explanation for the prediction; and
returning, by the language model, a confidence valuation of an accuracy of the prediction.

### Claim 4 (depends on 1)

The method of claim 1, wherein the prediction is that the electronic communication is malicious, and wherein the method further comprises:
outputting, by the language model, an explanation for the prediction; and
displaying, on a user device, the prediction and the explanation.

### Claim 5 (depends on 1)

The method of claim 1, wherein outputting comprises outputting the prediction to a media manager.

### Claim 6 (depends on 5)

The method of claim 5, wherein the method further comprises the media manager performing an action comprising one of:
permitting, responsive to the prediction being that the electronic communication is not malicious, the electronic communication to be delivered to a user device; and
displaying, responsive to the prediction being that the electronic communication is malicious, the prediction to the user device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
remediating, responsive to the prediction that the electronic communication is malicious, the electronic communication.

### Claim 8 (depends on 1)

The method of claim 1, wherein the content comprises a combination of text, an image, and hypertext markup language (HTML) data, and wherein the relevant data comprises the text and the image.

### Claim 9 (depends on 8)

The method of claim 8, wherein:
the text further comprises unimportant text determined, by the language model, to be semantically unimportant; and
the irrelevant data comprises the HTML data and the unimportant text.

### Claim 10 (depends on 1)

The method of claim 1, wherein the prediction is that the electronic communication is malicious, and wherein the method further comprises:
outputting, together with the prediction, a reason expressed in human readable language why the electronic communication is malicious and a suggested course of action for a user to take.

### Claim 11 (depends on 1)

The method of claim 1, wherein receiving the electronic communication comprises receiving at least one of an email, a text, an instant message, and a social media post, and wherein identifying, converting, and outputting are performed automatically upon receipt of the electronic communication.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
pre-processing the electronic communication prior to converting the relevant data into the prompt.

### Claim 13 (depends on 12)

The method of claim 12, wherein pre-processing comprises:
removing the irrelevant data; and
converting the relevant data into a predetermined data format suitable for inclusion in the prompt.

### Claim 14 (depends on 13)

The method of claim 13, wherein converting the relevant data into the predetermined data format comprises sorting the relevant data into different prompt elements according to a plurality of types of data contained in the relevant data.

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
generating an additional prompt instructing the language model to predict a reaction of a human user to the electronic communication; and
executing the language model on the additional prompt to generate a predicted reaction; and
outputting the prediction at least in part based on the predicted reaction.

### Claim 16 (depends on 1)

The method of claim 1, further comprising:
removing the irrelevant data;
determining, from the relevant data, a plurality of data types;
identifying contextual data related to the electronic communication;
retrieving a prompt template comprising a plurality of prompt elements;
inserting the relevant data into the plurality of prompt elements of the prompt according to the plurality of data types; and
adding the contextual data to the prompt.

### Claim 17 (depends on 1)

The method of claim 1, further comprising:
outputting, by the language model and prior to outputting the prediction, a plurality of comparisons of the relevant data; and
merging the plurality of comparisons into the prediction.

### Claim 18 (depends on 1)

The method of claim 1, wherein converting the relevant data into the prompt comprises converting the relevant data into a plurality of prompts, wherein executing the language model on the prompt comprises executing the language model separately on the plurality of prompts; and wherein the method further comprises:
combining a plurality of outputs, corresponding to the plurality of prompts, of the language model into the prediction.

### Claim 19 (depends on 1)

The method of claim 1, further comprising:
adding, to training data to generate updated training data, the content, the relevant data, the irrelevant data, the prompt, and the prediction; and
retraining the language model on the updated training data to generate a fine-tuned language model.

### Claim 20

A system comprising:
a computer processor;
a data repository in communication with the computer processor and storing:
an electronic communication comprising content, wherein the content comprises relevant data comprising a first portion of the content predetermined to be relevant to an evaluation of authenticity of the electronic communication and irrelevant data comprising a second portion of the content predetermined to be irrelevant to the evaluation,
a prompt for a language model, and
a prediction whether the electronic communication is at least one of malicious, deceptive, and inauthentic;
a server controller which, when executed by the computer processor, performs a computer-implemented method comprising:
receiving the electronic communication,
identifying, in the content, the relevant data and the irrelevant data,
converting the relevant data into a prompt for a language model;
executing the language model on the prompt; and
outputting, by the language model, the prediction.
