Oh cool, a sword of detect evil

https://startrek.website/post/2755131

Oh cool, a sword of detect evil - Star Trek: Website

I mean, that sounds very much like a paladin in unapologetic violation of one or more of their oaths.
I mean… theyre not harming anything good so not really?
But would it kill neutral innocent people?
Are neutral innocent people evil?