Despite the possibility of viruses, ROMs are typically harmless. Since ROM files cannot be executed, they should be secure barring any emulator exploits.