This answer is about how we define good and bad. Such quality attributes apply to everything we interact with, not only persons.
It seems incredibly simple, but our behavior basically consist in taking multiple binary decisions: as subjects, we interact with some objects, we get personal results, which are different from the object's, and then we take the binary decision: interact again or not. The same decision means creating attraction for the object or creating rejection. Our discourse about such results is expressed on terms of something being good or bad.
For example, I have a conversation with a person. If I see that such person had given me positive results after our interaction (whether economic, personal, ludic, whatever my interest would be), I decide if such person is good or bad. This is amazing, if you think about it: we qualify others (persons or things) as good or bad, with few information, with just a tiny amount of knowledge. We use prejudices always, to start interacting. That's a survival mechanism. If it's bad, I create rejection, and avoid further interactions. If the result is good, positive, I create attraction and try to have further interactions. Of course, my assessment about someone can radically change at any moment.
So, there's no objective attributes that make someone good or bad. A drug addict or a tibetan monk could be a good person for me depending on what are the goals of my life. We survive taking such decisions permanently. Our personal truth depends not only on reality and facts, but also on our personal position about other persons or things, obtained by means of interaction.
We also qualify things the same way: by interacting with them and creating attraction or rejection towards them. Think about drugs, foods, gaming machines, a rock, a country, a political ideology, etc. and you'll se our behavior about thing is the same.
My personal research field is interaction, if you are interested on the mechanics of interaction, you can find more about it on my profile. You can read my answer about the definition of truth here: https://philosophy.stackexchange.com/a/54862/23407