Wildfire smoke aside, lol...
Cool. Dark. Dry. It seems like the vast majority of "powder gone bad" issues are caused by moisture/humidity.
P.S. Basements aren't dry.
When powder used to come in "laminated paper" containers, with metal caps, moisture used to be an issue. That hardly applies any more.
That being said, I still have powder in some of those old containers and am on the last four or five pounds of "4831", no prefix, that's 75+ years old, in the original factory laminated paper container. There isn't a seal per se', just a tight fitting lid with a 5cm overlap.
This powder is just as reliable now as it was when I purchased a ton of it over 50 years ago.
It's quite a bit faster than modern "H" 4831, so I keep it for "special" loads.
I have some spare plastic containers that I'm going to put this last lot into and get rid of the container, to create some space in the magazine.
It's too bad I tore off the original wrapping and just used a felt pen to mark the container. Now it's just an old container without value.
Powders are manufactured with expiration dates now. 10-15 years ago, that wasn't an issue.
Ganderite would be able to explain the details, I'm sure, but it's definitely going to be an ongoing problem and make "surplus" ammunition a thing of the past, unless they're using different components in their mix for martial orders.