Run away relays when external power applied

Just aside… I wonder if the original ‘relay’ supply was putting out dirty DC or even AC ? !