Patent attributes
In some implementations, a system may receive a set of data intended for storage. The system may detect, within the set of data and using pattern matching, a set of potential sensitive data fields. The system may detect, using characters not included in the potential sensitive data fields, at least one non-sensitive data field included in the set of potential sensitive data fields. The system may mask first data included in the set of potential sensitive data fields other than the at least one non-sensitive data field and may refrain from masking second data included in the at least one non-sensitive data field. The system may generate a modified set of data based on masking the first data and refraining from masking the second data and output the modified set of data for storage.