I saw this popular question and I was wondering if my solution was secure/would be of any help for trying to save any source code written on the machine and prevent attacks:
I considered posting this as an answer/comment but I wasn't sure if it would work/keep the receiving computer clean. Would you put the local network at risk?
The goal here is to avoid actually exposing the receiving computer to any malware that could be sent to the "clean" computer. I am looking at this as a way to send text information in a sanitized way from an infected machine to a clean one without allowing for the possibility of malware from traveling between the machines. It's possible for emails/scp's from an infected machines to include extra malicious traffic right?
You still risk your network but I think most modern browsers should have protections. You avoid using a usb all together.