The long and short of it is, if it is military surplus from a former soviet country, russia, poland, czech, etc, it is corrosive.
If it is military surplus Chinese from before around 1995, it is corrosive (middle number on crate, ex 31-71-13 is made in 1971). The 1971-1973 chinese in green crates has been sold and labeled at "non corrosive" but i have found that not to be entirely true. I had one spam can that the first 300ish rounds were non corrosive, didn't clean my sks, never had any problems, the last 100-150 rounds rusted everything it touched. So even if you do the nail test on this early 70's ammo, it's not consistent. You would literally have to test every round, but then you would get to shoot any of it. My guess is they were experimenting with non corrosive primers around this time, but it wasn't consistently applied across the board.
If it is chinese surplus made after or around 1995 is may or may not be corrosive and you will need to test to make sure.
If is comes in 20 round boxes with big bold letters saying "NON CORROSIVE" then it is likely non corrosive.