This is one issue to pilotless aircraft.
http://www.aviationtoday.com/2017/11/08/boeing-757-testing-shows-airplanes-vulnerable-hacking-dhs-says/
Another issue is GPS. Almost everything we fly nowadays is GPS based so if gps gets compromised so does navigation. Now yes I know gps reverts to vor/vor or dme/dome and yes I know INS systems exist but until the worked out both of those issues I don’t see pilots going away. I could see maybe a single pilot aircraft but even then I feel like that’s a stretch due to incapacitation issues.