In my opinion, stories that assume the existence of basilisks [0] that work on humans (biologically normal ones who don't have brain implants or anything like that) fall into the realm of fantasy, not science fiction.
[0]: https://en.wikipedia.org/wiki/David_Langford#Basilisks