@abotcrapper pasta is a standard in lunch boxes. Is there a reason why you’re particularly worried about it being pasta, rather than a sandwich, say? I’ve done a food hygiene course (and have also suffered all my life with anxiety, including a bit of food anxiety now and then so I know where you’re coming from), and I can’t think of any reason why pasta would be any worse than anything else.
My parents have always, always left meals on the hob and portioned then off to take to work / give to the kids (when we were small) the next day. I’m not saying I would be comfortable with this - that’s the old anxiety talking! - but it can be reassuring to think that people have a much lower threshold in terms of what is safe, and are still totally fine. Please try not to worry. Visualise a positive outcome and invest emotional energy in doing so. I find that helps drown out the catastrophising. Honestly, you and your little one are fine x