Just brainstorming here: anything temperature-based? Starts degrading above 10C for example. In your fridge it's no problem, chuck it out of the window like a savage and it will eventually degrade, unless you live on the poles.
Sounds like a good avenue for (organic) material science research.
Does something like that exist? Can something like that exist? don't forget it needs to be food safe - including whatever it breaks down to, and whatever bacteria might grow on it - so long as the food itself is safe to eat.
Materials science has come a long way, but some problems still are not solved and it isn't always clear if the problem can be solved.
Sounds like a good avenue for (organic) material science research.