# US 2025/0384124 A1 · Browser-Side Execution Detection and Prevention

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

- Number: US 2025/0384124 A1
- Document ID: US20250384124A1
- Status: Published application
- Kind: A1
- Application number: 18/986,554
- Filed: 2024-12-18
- Published: 2025-12-18
- Earliest claimed: 2024-06-17
- Assignees: 360 It, Uab
- Applicants: 360 It, Uab
- Inventors: Dainius Razinskas; Mohamed Adly Amer Elgaafary
- Web page: https://patentgrep.com/patent/US20250384124A1

## CPC

- G06F 21/54: by adding security routines or objects to programs
- G06F 21/554: {involving event detection and direct action}
- G06F 21/564: {by virus signature recognition}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Browser-side execution detection and prevention may include identifying, by a client device, a change to an anchor tag in a document object model of a web page; in response to identifying the change to the anchor tag, transmitting, by the client device to a link checking server, a link evaluation request for the anchor tag; receiving, by the client device and from the link checking server, a response indicating a failure of a test performed by the link checking server with respect to the anchor tag; and, in response to the response indicating the failure, altering, by the client device, a display of the anchor tag, to obtain an altered anchor tag, in the web page, the altered anchor tag including a visual indicator of the failure.

## Claims

### Claim 1

A method, comprising:
identifying, by a client device during an active session in which a web page is displayed, a change to an anchor tag in a dynamically updated document object model of the web page;
transmitting, by the client device to a link checking server, a link evaluation request for the anchor tag based on the change;
receiving, by the client device and from the link checking server, a response indicating a failure of a test performed by the link checking server with respect to the anchor tag; and
in response to the response indicating the failure, altering, by the client device, a display of the anchor tag to obtain an altered anchor tag.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
preventing, by the client device, a navigation action based on an input activating the anchor tag.

### Claim 3 (depends on 1)

The method of claim 1, wherein altering the display of the anchor tag comprises:
disabling, by the client device, a hyperlink functionality of the anchor tag.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
displaying, by the client device, a tooltip based on a hover over the altered anchor tag, the tooltip including details on the failure received from the link checking server.

### Claim 5 (depends on 1)

The method of claim 1, wherein the altered anchor tag includes a color change of a text of the anchor tag.

### Claim 6 (depends on 1)

The method of claim 1, wherein altering the display of the anchor tag comprises:
modifying a hyperlink reference of the anchor tag to redirect to a warning page that includes a description of a potential risk associated with the failure.

### Claim 7 (depends on 1)

The method of claim 1, wherein the altered anchor tag includes a reference to an icon representative of a type of threat associated with the anchor tag.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
implementing, by the client device, an override function of a built-in function by replacing the built-in function with a custom implementation of the built-in function;
intercepting by the override function an invocation of the built-in function; and
subjecting, by the client device, an input to the built-in function to a security check to determine whether to execute the built-in function based on the invocation.

### Claim 9 (depends on 8)

The method of claim 8, wherein the built-in function retrieves resources asynchronously from an input destination, and wherein the security check comprises validating the input destination.

### Claim 10 (depends on 8)

The method of claim 8,
wherein the built-in function evaluates and executes an input string, and
wherein subjecting the input to the built-in function to the security check comprises:
performing an analysis of the input string to identify a pattern indicative of a code injection attack; and
blocking execution of the built-in function with respect to the input string based on detecting the code injection attack.

### Claim 11

A device, comprising:
a memory; and
a processor, the processor configured to execute instructions stored in the memory to:
identify a change to an anchor tag in a document object model of a web page;
in response to identifying the change to the anchor tag, transmit, to a link checking server, a link evaluation request for the anchor tag;
receive, from the link checking server, a response indicating a failure of a test performed by the link checking server with respect to the anchor tag; and
in response to the response indicating the failure, alter a display of the anchor tag, to obtain an altered anchor tag.

### Claim 12 (depends on 11)

The device of claim 11, wherein the processor is further configured to execute instructions stored in the memory to:
display a tooltip based on a hover over the altered anchor tag, the tooltip including details on the failure received from the link checking server.

### Claim 13 (depends on 11)

The device of claim 11, wherein the altered anchor tag includes a visual indicator representative of a type of threat associated with the anchor tag.

### Claim 14 (depends on 11)

The device of claim 11, wherein the processor is further configured to execute instructions stored in the memory to:
implement an override function of a built-in function by replacing the built-in function with a custom implementation of the built-in function;
intercept by the override function an invocation of the built-in function; and
subject an input to the built-in function to a security check to determine whether to execute the built-in function based on the invocation.

### Claim 15 (depends on 14)

The device of claim 14, wherein the built-in function retrieves resources asynchronously from an input destination, and wherein the security check comprises validating the input destination.

### Claim 16 (depends on 14)

The device of claim 14,
wherein the built-in function evaluates and executes an input string, and
wherein to subject the input to the built-in function to the security check comprises to:
perform a heuristic analysis of the input string to identify a pattern indicative of a code injection attack; and
block execution of the built-in function with respect to the input string based on detecting the code injection attack.

### Claim 17

A non-transitory computer-readable storage medium, comprising executable instructions that, when executed by a processor, facilitate performance of operations comprising:
identifying, by a client device, a change to an anchor tag in a document object model of a web page;
in response to identifying the change to the anchor tag, transmitting, by the client device to a link checking server, a link evaluation request for the anchor tag;
receiving, by the client device and from the link checking server, a response indicating a failure of a test performed by the link checking server with respect to the anchor tag; and
in response to the response indicating the failure, altering, by the client device, a display of the anchor tag, to obtain an altered anchor tag, in the web page.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the operations further comprise:
implementing an override function of a built-in function by replacing the built-in function with a custom implementation of the built-in function;
intercepting by the override function an invocation of the built-in function; and
subjecting an input to the built-in function to a security check before to determine whether to execute the built-in function based on the invocation.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the built-in function is a first built-in function or a second built-in function,
wherein the first built-in function retrieves resources asynchronously across a network from an input destination, and the security check comprises validating the input destination, and
wherein the second built-in function evaluates and executes an input string, and subjecting the input to the built-in function to the security check comprises:
performing a heuristic analysis of the input string to identify a pattern indicative of a code injection attack; and
blocking execution of the built-in function with respect to the input string based on detecting the code injection attack.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the altered anchor tag includes a reference to an icon representative of a type of threat associated with the anchor tag.
