They do: https://www.ycombinator.com/ethics/
YC founders are told to review these guidelines before we accept the investment.
From the ethics page:
> To maintain our community, if a founder behaves unethically during or after YC, we will revoke their YC founder status.