The closest word I can think of is a sycophant but that's too strong word and not exactly what I'm looking for. The word I'm thinking of has negative connotations and it's for someone who is friends with different groups but only at a superficial level and isn't necessarily honest about who all they're friends with. This person would be seen as untrustworthy.
I’ve had friends that were friends with ex-cons, etc.
you do you but I would definitely want to know if my friends were close with people who'd been in prison. If I worked in a field where they do background checks i would absolutely need to know if my friends were friends with those in prison. There's a difference between dictating who people are friends with and knowing who people you give information to are close with.