Moral hazard

A situation when a person or entity either fails to act in good faith, or knowingly engages in activities that either benefit or potentially benefit themselves while coming at a cost to another.