But this time it went hostile, normaly it doesnt (atleast from all the clips ive seen of people shooting it).
At the same time they have been glitching out left and right, chances are it glitched and got the position of the barnacle off and targeted the ship instead. As for hardpoints, even if you deploy your discovery scanner you are still deploying hardpoints so I don't take too much stock into that