Open-Attestation / privacy-filter

This tool helps you to 🔍 locate potential fields in your OpenAttestation document that may reveal sensitive information, so that you can ⬛ redact them before sharing with others.
https://privacy-filter.netlify.app
MIT License
0 stars 1 forks source link

feat: check for address #20

Closed gjj closed 4 years ago

gjj commented 4 years ago

From https://github.com/Open-Attestation/privacy-filter/issues/12, I noticed that residential address is not being checked, this MR fixes that and recommends filtering out a user's residential address.

Reason being residential address is considered personal data under PDPA (https://www.pdpc.gov.sg/-/media/Files/PDPC/PDF-Files/Resource-for-Individuals/what-you-need-to-know-about-pdpa-v1-0.pdf).

Note: While I know https://github.com/Open-Attestation/privacy-filter/issues/12 highlights a different issue as the current algorithm detects nric in key names, will probably change it to match NRIC using regex at a later stage.