Specifically, does Civ. Code § 3517 "No one can take advantage of his own wrong" have such an equivalent?
Any others are welcome or anything similar.
Law Stack Exchange is a question and answer site for legal professionals, students, and others with experience or interest in law. It only takes a minute to sign up.Sign up to join this community
Some jurisdictions codify maxims, many do not, but these maxims still exist.
Nullus commodum capere potest de injuria sua propria (no one can take advantage of his own wrong) is a generally recognized principle of equity, broadly connected to the principle "who comes into equity must come with clean hands" and the covenant of good faith.
Some civil law countries (e.g. France) recognizes Nemo auditur propriam turpitudinem allegans (no one can be heard to invoke his own turpitude).
Asset Forfeiture, which removes any property that was gained through illicit means from the person or persons who gained them. This can range from contraband items such as drugs, illegal arms, counterfeit currency or products, or illicit goods under embargo or protective custody as well as ordinary legal items such as moneys or legal goods procured through illegal means or with proceeds of illegal actions.
"Son of Sam" style laws (the original one was unconstitutional but constitutional variants exist) work to prevent criminals from profiting off the notoriety of their actions after the fact by seizing proceeds from interviews, book deals, scripts, or other media co-operations seeking such profit or memorabilia of related to the crime or the criminal (Others may certainly profit off of this... just not the guy convicted on it.).