Safe Harbor is an on-chain legal agreement, which protocols can adopt so that security researchers can rescue a protocol during an ongoing attack. Whitehats are further protected under the Security Research Legal Defense Fund who will cover eligible whitehats' with any legal fees