The darkening in miso during storage is a result of the Maillard reaction due to exposure to warm temperature. This doesn't compromise the safety aspects of miso.