If this is true or not, I had a situation in my past where I was developing an ecommerce API as a business that had both web and backend. Basically, it made integrations take a day instead of 3-4 months. I hired some offshore developers to use my API to setup for new clients, effectively making a killing as I could still charge quite a lot for this specific integration and yet undercut all the competition. Long story short, my API code was stolen from under me by the offshore people I hired and I subsequently was made obsolete in my business model. I did not know how to prove this or go forward with litigation. Anyways, that's in my past but kind of a reverse way of screwing yourself.