Typically, I would just translate it to, "you are bad", "you're a bad influence".
When somebody is 有毒, it means that it is bad to be around that person, or something bad might happen when you're with that person.
It cannot be used as a complement, UNLESS you're being ironic, say it jokingly, or something.