Because I had a similar thought when Twitch's code "leaked" and I never got round to asking: is it illegal under US law to download such a leak for private inspection? That is, illegal in a way beyond copyright violation, such as being party to an act of espionage.

(This leak doesn't interest me at all, but if ever the source for QBasic leaked, say.. well I might like to read it without becoming a wanted fugitive ;-))

> but if ever the source for QBasic leaked

QBasic? - Why that modern thing. Just use the proper BASIC: https://github.com/microsoft/GW-BASIC ;)