I think the best defence may be boundaries.
Insist most/all of your salary is cash.
Employee: If first salary isn't paid promptly. Quit.
Contractor: If first invoice isn't paid by the time 2nd is issued, pause all work until it is. Make it clear those are your terms up front.