"It is good of you to help them" is OK. I can't think of any circumstance in which "It is bad of you to help them" would work. It's not natural and I can't imagine what it would mean. If, for example, someone helps someone with something they were supposed to do alone, I might say "You shouldn't have helped them" or "It was wrong of you to help them".
Student or Learner