Under some conditions, coconut oil can become a surfactant. Considering that your product is a soap bar, sodium hydroxide is added to the formulation, which is not always healthy. It is a toxic and corrosive ingredient. It’s caustic lye used to convert plant fat into foaming soap.