Heroic Comedic Sociopath/Playing With

Basic Trope: A Token Evil Teammate and Devil in Plain Sight who is also the story's primary Plucky Comic Relief, through liberal use of Comedic Sociopathy, Dead Baby Comedy and his/her evil deeds being Played for Laughs.
 * Straight: Alice McMalice is a member of Team Good and is aiding the heroes in defeating the Big Bad. At the same time, she gleefully continues to be an evil jerk both towards the heroes' enemies, the heroes' allies and the heroes themselves, and the story treats it as funny.
 * Exaggerated: Alice is more villainous and more powerful than said Big Bad, who is deathly afraid of her to boot.
 * Justified: The world lacks a justice system to deal with Alice's nastiness, and the other main characters don't dare stand up to her.
 * Inverted:
 * Alice is The Ace: She is so ludicrously good-natured and heroic that she makes the rest of the party look bad by comparison.
 * Alternatively, she is the party Chew Toy: If something nasty happens, it will happen to her most of all. And she never deserves any of it.
 * Alternatively, she is a clearly good character that works for the Big Bad.
 * Alternatively, she performs completely good deeds which are seen as incredibly evil.
 * Subverted: Alice suddenly ends up doing something not-so-amusing and the party ends up sending Alice to prison for it.
 * Double Subverted: She blows her way out of jail and rejoins the party, who decide it was a poor idea to leave anyone else to supervise her.
 * Parodied: Alice's sociopathic deeds ignores any and all laws of common sense, continuity, characterisation and physics, and defies all possible explanations for how she's able to do it and get away -- just because it is funny.
 * Deconstructed: The show goes meta as the narrator starts criticising the viewer for finding Alice funny, pointing out that her actions are in fact harming lots of innocent people but we cheer for her anyway because she's Laughably Evil, before pointing out the Moral Dissonance inherent in that.
 * Reconstructed: While the narrator is busy ranting, Alice collapses the fourth wall (in the form of a literal wall) on top of him. The implications of her horribleness are never brought up again.
 * Zig Zagged: Alice is both on the giving and receiving end of misfortunes, being the top dog of Comedic Sociopathy one moment and a Butt Monkey the next one.
 * Averted: The character gallery lack a person like this. Any characters who shows signs of evil is treated as a villain and dealt with accordingly.
 * Enforced: "Research shows that wish-fulfilment about having an evil best friend to sic on your troubles is a huge hit; let's add one to the cast."
 * Lampshaded: The other main characters point out that Alice is a horribly un-heroic character and notes how she never seems to end up in trouble for all the evil deeds she does.
 * Invoked: A main character about to do an evil deed decides to overkill so blatantly that people will think it's funny.
 * Defied: The party takes one look at Alice and decides to stay far, far away.
 * Discussed: "Alice is a horrible excuse for a human being and takes delight in tormenting both friend and foe equally (and I'm pretty sure I saw her take candy from a baby in that last town we were in)... But she's our horrible excuse for a human being and I'd rather not imagine what she'd do if she was against us."
 * Conversed: "Do you notice how some evil guys can get away with anything just because they're main characters?"
 * Played For Laughs: The default state of the trope. The jerkiness, the abuse and the repeated flaunting of the rules are treated as funny.
 * Played For Drama: Sociopathic Hero.

Now get back to Heroic Comedic Sociopath... Or Alice will read your IP address and find out where you live.