I've been wondering if a diffusion model could just generate software as binary that could be fed directly into memory.

Yeah, what could go wrong.