I understand what you are saying and I don't disagree with the idea that bad actors will use science in bad ways.
But I think going down this path of denying (or hiding) science that can be used for bad ideas ends up causing (rightly, imho) a distrust of science -- which is far worse.
A distrust of science (not saying it was caused by this particular issue) is how we ended up with so much anti-vax sentiment in the US. And that is the reason we are seeing outbreaks of diseases that used to be minimal.
I think if you want people to "trust the science", you have to trust the people.
it seems like you are simultaneously arguing for a science that holds itself outside public opinion, and one that is beholden to it.
no, wait, I get it.
all scientists should expect mistrust because of perceptions of bias of any of them, regardless of how well founded. that seems at the very least unproductive.