The inside of aluminum rims take a lot of abuse, moisture seeps in past the spoke nipples and slowly rots away the inside of the rim,
This is typically what I find when I pull the tire and tube off a Borrani wheel

To get the rim cleaned and inspected the spokes need to come off and the rim cleaned to bare alloy.
Soda blasting is safe, if messy

Cleaned but before the spokes have been removed

Once the spokes are out I take a small wire wheel in a dremel and clean the spoke recess in the rim.
Prior to reassembly I coat the inside of the rim with ACF-50

I have had one rim that was so corroded around the spoke dimples that it was dangerous to use, had to throw it out (Florida bike).