Anyway, that's very unlikely to happen and the malware can't do any harm to the Nano S.
I agree, but if OP though like that he wouldn't even use an offline computer after all.
As he said:
...please save yourself the lazy non-answer of 'a Nano S is an offline computer'. I am aware of that line of thinking...
So, he is assuming that a malware from an online enviroment can somehow harm ledger nano.
However, what is the point of this? As an experiment is may be interesting, but it doesn't make much sense to load data from an online computer to an offline computer, as the malware could affect the offline computer this way.
QR codes would make more sense.