If there was, all black-hats would be coming from Ivy League schools. They’re not.
Nor is there a correlation between Stanford degrees and wanting to write secure code.