Browser-Level Homomorphic Encryption for WAF Data Scanning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing Web Application Firewall (WAF) deployments expose sensitive data to third-party providers due to decryption processes, risking data breaches and performance degradation from repeated homomorphic encryption.

Innovation Solution

Implement homomorphic encryption at the browser level to encrypt sensitive data before transmission, using a plugin system to aggregate and encrypt data with a public key, allowing WAF to analyze encrypted data without decryption, thus preventing exposure and maintaining performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional WAF decryption processing is used, then security scanning capability is improved, but data exposure risk increases and performance degrades

Engineering Contradiction:
Improvesecurity scanning capabilityVSAvoiddata exposure risk
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent introduces homomorphic encryption as an intermediary mechanism that allows the WAF to process encrypted data without decryption. The encryption layer acts as a mediator between the data and the scanning function, enabling security analysis while maintaining data confidentiality and preventing exposure to third-party WAF providers.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces the traditional mechanical decryption process with homomorphic encryption technology. Instead of decrypting data to scan it (which exposes data to the WAF provider), the system uses homomorphic encryption to perform scanning operations on encrypted data directly, substituting the conventional approach with a cryptographic-based solution that eliminates data exposure risk.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Object-affected harmful factors

If homomorphic encryption is applied repeatedly, then data security is improved, but computational overhead increases

Engineering Contradiction:
Improvedata securityVSAvoidcomputational overhead
Core Design Contradiction:
Object-affected harmful factorsVSUse of energy by moving object

Solution Approach 1:

The patent applies homomorphic encryption at the browser level before data transmission, performing the encryption action in advance. This preliminary encryption at the client side reduces the computational burden on the server and WAF, as the data is already encrypted before reaching the processing systems, thereby minimizing repeated computational overhead while maintaining security.

Inventive Principle:
Principle #10Preliminary action

3Object-affected harmful factors

If data is encrypted before transmission, then data exposure to third parties is prevented, but processing speed decreases

Engineering Contradiction:
Improvedata exposure to third partiesVSAvoidprocessing speed
Core Design Contradiction:
Object-affected harmful factorsVSSpeed

Solution Approach 1:

The patent performs encryption as a preliminary action at the browser level before data transmission to the WAF. By encrypting data at the client side in advance, the system prevents data exposure to third-party WAF providers while the encryption operation is completed before the data needs to be processed, minimizing the impact on processing speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Homomorphic encryption serves as an intermediary that enables data to remain encrypted throughout the transmission and processing pipeline. This intermediary cryptographic layer allows data to be processed without decryption, maintaining both security against third-party exposure and acceptable processing performance by eliminating the need for decryption operations at the WAF.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12457195B2Homomorphic encryption for web application firewall processing
Publication Date: 2025.10.28 SALESFORCE INC
  • US12457195B2 patent drawing
  • US12457195B2 patent drawing
  • US12457195B2 patent drawing

AI summary

A method and apparatus for avoiding exposure of data that was entered into a web application in the context of having that data scanned by a third-party web application firewall (WAF). The apparatus receives, in response to forwarding a request to a web application, a response from the web application that includes a web form. The apparatus forwards the response to a browser and in response receives a second request that includes a version of the web form modified by the browser such that data entered into a plurality of fields of the web form was extracted, aggregated, and homomorphically encrypted. The apparatus causes the second request to be scanned by the third party WAF using one or more homomorphic encryption signatures, and in response to the scanning determines whether to forward the second request to the web application or take corrective action.