In the US, though, yes, the risk is on whoever the IRS feels is the "employer" in the situation (hint: it's not the contractor).