If you are going to use any lube on a magazine, a dry lube like Remington Dry Lube is the only lube you should use.
Anything else will attract dirt, sand, lint, etc.
Dry lube inside the mag body to make the follower and spring move up and down easier, and outside the mag body to help the mags drop free during changes.
No way is something like dry lube ever going to contaminate your powder or primer.
You'd have to leave the round submerged in a cup of wet lube soaking for a while to do that.
Most all magazine springs I've seen are stainless steel, so they aren't going to need any protection from corrosion.