Patent ID: 11880488
Assignee: CAPITAL ONE SERVICES, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A method of remediating sensitive information within document object model (DOM) structures, comprising:
receiving, by a device, one or more rules, each rule being associated with a respective identifier and each rule indicating a corresponding element, a corresponding pattern, a conditional attribute, and a type of remediation;
receiving, by the device, at least one DOM structure including at least one element that is associated with text and associated with an attribute;
determining, by the device, an order for applying the one or more rules based on the respective identifier associated with each rule;
determining, based on the order for applying the one or more rules, that the DOM structure is evaluated according to a first rule, of the one or more rules, prior to the DOM structure being evaluated according to a second rule, of the one or more rules based on an identifier associated with the first rule satisfying a condition with respect to an identifier associated with the second rule;
traversing, based on the order determined for the one or more rules, the at least one DOM structure to identify one or more elements that map to one or more corresponding elements indicated by the one or more rules;
determining, by the device, whether one or more attributes, associated with the one or more identified elements, map to one or more conditional attributes indicated by the one or more rules;
determining, when the one or more attributes associated with the one or more identified elements map to the one or more conditional attributes indicated by the one or more rules, whether at least some text, associated with the one or more identified elements, is sensitive information by determining whether the at least some text maps to one or more corresponding patterns indicated by the one or more rules;
performing, by the device, at least one validation on the sensitive information, wherein performing the at least one validation includes:
determining that a first portion of the at least some text is a false positive;

modifying, by the device, the at least one DOM structure based on the sensitive information, the at least one validation, and one or more types of remediation indicated by the one or more rules,
wherein the false positive is not modified when the at least one DOM structure is modified; and

outputting, by the device, the at least one modified DOM structure.