Tons of tech businesses are built on the back of open disregard for intellectual property and tech access laws. It just takes the wrong combination of events to get hauled in for that. Look at Aaron Swartz, whose conviction proceeded purely based on Carmen Ortiz's desire to get a cybercrime prosecution on her resume.
The truth is that a good deal of the work that HN users are likely to get involved in could be considered criminal because of unfair laws like the CFAA, DMCA, and the Copyright Act, all of which prescribe criminal penalties.
There are other laws that stalk startups and businessmen, ranging from tax law to esoteric industry regulations. If a businessman makes the wrong person mad, he could easily end up locked in jail. Martin Shkreli is another good example of this -- a few days after he made the news and pissed everyone off, the SEC filed an indictment. They did that because it's easy to accuse anyone who's done anything slightly out of the ordinary of crimes. This really has almost nothing to do with the person's moral fortitude or the harm they've caused in the world, except insofar as you believe that people in authority are unwilling to target innocent people (true pretty often, but not often enough).