Any rifle or pistol ammo is just fine to store as you found it, oddly enough smokeless powder is not explosive, unless detonated in a confined breech. Blackpowder and blackpowder cartridges are explosive and should be rendered inert by soaking in oil, pull the bullet, dump the powder, and treat with old motor oil, old containers of blackpowder can simply be spread on the grass or driveway and soaked with the hose. Other major munitions that may have been found should be handled by qualified professionals. As always there will be other views, but most all modern dug munitions, for small arms are inherently safe.