leaking oil sending unit

when oil leaks from the oil sending unit, is it the sensor itself thats defect or is it possible that its leaking from the threads??

take it out and inspect. if the sensor doesn’t have a crack anywhere, re-seal with liquid thread sealant and install