Tag autofill function security