Term: frenemy
Example: it is recommended for your own safety/sanity that you limit yourself to one frenemy at any given time in your life
Definition: a person with whom you may have a lot of fun and/or a lot in common, who also has a vile and random dark side