I was under the impression Google engineers went through a rigorous hiring process, yet this is the sort of thing you get from lowest bidder consultants who have inexperienced devs.
All that leetcode, whiteboarding, and Googly-style interview questions just to put front-end validation for security.