Murali, here’s a bit more info.
https://www.ag.ndsu.edu/news/columns/prairie-fare/prairie-fare-unusual-containers-for-preparing-food-not-always-safe
“The company representative told me that Ziploc brand bags cannot be used to boil food. The bags are made from polyethylene plastic with a softening point of about 195 degrees. Therefore, they could melt when exposed to 212 degrees”
Ziploc doesn’t claim their bags to be boiled water safe & warn that they can melt in a microwave. So I switched to mylar/film bags.
The real risk is hard to know. Boiled water in a typical meal brings the combined temp to ~ 170F IIRC if poured carefully onto the food to buffer the temperature shock, below the plastic’s softening point but not by much.
Outdoor Herbivore makes plastic bags (17g) that are safe for boiled water, because they’re ~ 5mil thick vs the Ziploc’s (6g) 2.7mil thickness.
A rule of thumb is that a polyethylene or polypropylene cook bag is generally safe if it’s free of BPA, phthalates, and other plasticizers and is microwave safe (which requires FDA approval)