Github has some responsibility
Github now clearly know that they host code that enables modding of drones to let them fly illegally in dangerous airspace. The have a responsibility to take down the forks purely on public safety grounds. Letting the code and forks stay up due to some dogmatic belief in the right to copy / free speech / anti takedown or whatever is immature and irresponsible. If they feel they can't do it because it would violate their own Ts&Cs then those need to be fixed immediately to include a discretionary clause.