If corruption is confirmed or suspected:

Using an older version of Goldleaf or Tinfoil that doesn't understand the NSP structure properly.

Move all update and DLC NSP files out of your main ROMs folder into a separate subdirectory.