Cooking food in soft plastic materials (like plastic wrap, zip-top bags, or grocery bags) in boiling water is generally not safe and should be avoided. While some specialized plastics are designed for high-heat cooking, everyday soft plastics can leach harmful chemicals into your food or melt under high temperatures.