This. "Scam resistance", in my mind, maps to critical thinking and a bit of pattern matching. Could definitely be taught, but critical thinking seems to be out of favor in (American) education at the moment (and has been for a while, honestly).