Anti-Sue

An Anti-Sue is what happens when an author tries so hard to avoid making a character a Mary Sue, that the character ends up so extremely flawed (ugly, psychopathic, disliked by all) that they can be considered even worse than a Mary Sue.