I took to wearing my daughter when cooking to prevent her from getting under my legs while I was using a knife or the stove. I put her in the sling and swung her around to my back. This worked fine until I was cooking something on the stove that splattered and stung her legs, which were wrapped around my waist, so they were in range of the hot grease. It was just a tiny droplet of grease, and after a minute under some cool water, she seemed to forget the whole incident. I try to distract her at cooking time, but I think that putting her on my back is still safer than having her clinging to my legs. And it's not really practical to stop cooking what I am cooking and switch to eating cereal for dinner just because she wants to be held. I would like to get a better sling to keep her a bit more secure on my back, but otherwise, I think you just have to use your best judgement.