Doesn't this defeat the whole purpose of an offline computer?
This could be mitigated by using QR codes for loading unsigned transactions and broadcasting the signed ones. Anyway, that's very unlikely to happen and the malware can't do any harm to the Nano S.