Think there are different types of foam. Speedway motors sells some that is supposed to be safe for alcohol. I bought some to put in my spare tire area cell that I use for my alky system. Been in there for a year now without any issues. I put a chunk in a glass container at the same time to watch and see if it starts breaking down but no signs of that happening.