Dig Security interview question

Q: You are given a string that was identified incorrectly as a sensitive data, write a script (pseudo code) to avoid this mistake in the future