On-device masking
On-device masking is the replacement of regulated data with placeholders on the user's machine before a prompt or file leaves it, so the AI service receives only the placeholders.
The distinguishing word is on-device. Masking performed by a cloud proxy or a vendor's own filter means the data has already left the machine and reached a third party. On-device masking means the identifier never does. Masking is not de-identification in the regulatory sense; whether masked content meets HIPAA's de-identification standard or any other standard is a determination for the firm and its counsel. Masking also differs from redaction, which removes the value permanently; see reversible masking.
In a regulated firm, masking is a secondary leak precaution behind the approved-tools policy and the record. Names, SSNs, dates of birth, medical record numbers, account and card numbers and profession-specific identifiers become placeholders such as mask-pii-name and mask-pii-ssn before the prompt leaves the device. Files uploaded to AI tools are masked the same way. Where an approved provider must receive the original data under a signed agreement, masking can be turned off for that provider, and the setting is recorded in the AI usage record.