Doxxing a hostile act.

If it's negative depends on if you think they deserve the hostility.

Most people who dox for a reason they think is justified will nonetheless reject the label of doxing for what they did. They'll say "I didn't dox him, I just discovered publicly available but obscure information about him and posted it."