I think that the OP's question has been answered already in the first couple of replies. Whether it's simply a matter of the boxes absorbing moisture, or them being made from some material that contains something that is harmful to metal, there is no getting away from the fact that it does happen, the only safe way is, as has been said above, to lay some sort of barrier under the pistol.