Lots of talk here about the myriad ways employees can get screwed, but sometimes they do great.
Another awesome company? Linear Tech. Not quite a startup anymore, but they do a lot of hardcore analog+digital EE design. Their engineers get design ownership over specific projects/chip designs, and are paid _a percentage of profits_ on that chip. So there are a substantial number of regular employees there who are millionaires because they designed something cool.
By comparison, YC is an early employee-comprehensible brand, and I'd expect anyone contemplating screwage would hear "You are about to chill hiring at several hundred companies in the mafia. Are you sane?! Don't do this. If you insist on doing this, we'll be forced to very publicly disassociate ourselves from your decision. You do not want to be the one ex-mafia guy in the Valley. It is a lonely place."
1) Liquidation preferences.
2) "We wipe out common stock at acquisition and offer employees retention bonuses, leaving 2% owner who moved on totally shafted."
3) Pretend your corporate charter is a Ruby program and a malicious adversary gets write access to it. Seriously, the sky's the limit. Integers might be kitten pictures now, and multiplication returns shades of pink.
But the good news is that upper management and regular employees are in principle affected the same way by these vicissitudes, and in practice I've seen that mostly happen. Some exceptions include founders/upper-management getting special opportunities to cash out or receiving significant anti-dilutive share bonuses. I'm not saying that the founders and employees have exactly the same incentives here, but they are at least somewhat helpfully aligned.
2) Agree that I've heard gossip about these kinds of scenarios, but (I've often wondered) wouldn't this be a violation of their fiduciary duty to certain stockholders? Can a lawyer weigh in on whether (in theory) this scenario allows for a legal remedy?
3) True, the corporate charter is not a contract with an employee, and it can be rewritten at will by the Board. But it seems to me there are limits: if they edit the charter in a way that deliberately wipes out the value of your shares and had a choice not to, this resembles case 2, where I suspect one can seek legal redress (right?).
I like to think I'm smart. Two years ago, prior to HNducation, many common-as-dirt features of cap tables like e.g. liquidation preferences would have been a totally successful ambush on me. (If you can't explain three ways why 2% of $40 million is zero, consider carefully whether your best interests are being represented in a negotiation with someone who can.)