While it may be tempting to use new plastic trash bags as throw-away containers for storing foods and beverages, the Soap and Detergent Association warns this is not a safe practice. Only wrappers or containers manufactured specifically for food and beverage use should be used for storing any food or beverage.
Containers not manufactured for this purpose, such as trash bags have not been tested for food safety. In some cases, such containers contain substances that could leach into food and make it toxic. In addition, some types of trash bags are treated with deodorants that may contaminate the food as well as give it undesirable odors and/or flavors. Lack of proper insulation is another consideration. Trash bags do not provide insulation to maintain a safe temperature for more than two hours, the limit considered safe for cooked foods to be left unrefrigerated.