Even if your company doesn't sue you immediately, the fact that the intellectual property might be of questionable ownership can also mess up fundings or acquisitions down the road. If a company is looking to buy you and realizes that there's a chance of BigCorp claiming ownership of some piece of your IP because you signed a bad employment contract, it's going to be one more reason for them to say no to the deal.