Black mud is classic for not good storage of onions. Moist and warm places are necessary for its development.
This is the aspect of onoins with black mud.
Under the damaged layer thewre aren’t lesions.
To prevent this problem onions are to be stored after a complete drying process, before on the soil (with sunny days) and then hung in aired and warm place.