requirements to dissolve/rust steel
Bill Tindall, E.Tn.
Background: ethanol adulterated gasoline can not be pumped through pipe lines because it will corrode the steel. The ethanol is mixed along with additives at the terminal before delivery to stations. The chemistry behind corrosion and the chemistry running a battery are the same, with the same requirements.
There are only two requirements necessary to dissolve and/or rust steel.
For iron to dissolve or rust it must give up some electrons from its atoms. They have to go somewhere. Something has to accept these electrons. We call this stuff the oxidizing agent, corrosive agent, or electron acceptor. The most common and prevalent of these chemicals are oxygen or any acid.
Second, the solution must be conductive. Water and alcohols are sufficiently conductive to enable corrosion.
We most commonly stop corrosion by making the surface in contact with the metal non-conductive by painting it, greasing it, waxing, etc.
In the beginning the can was coated with something, epoxy or something similar. Over time the coating got breached. The alcohols used to formulate shellac are sufficiently conductive. A partially filled can has lots of oxygen in the head space. No doubt you also left the can open for some time and the solvent picked up additional water from the air. I think I read somewhere that shellac is acidic or it becomes so.
So all the ingredients are there to rust the can as soon as the steel's protective coating is compromised. Don't stir with a screwdriver next time. Alternatively, over time oxygen and water diffused through an inadequate coating, initiated a rust spot, that in turn bubbled and delaminated some coating and corrosion took hold in earnest from there.