GitHub CoPilot is a code-writing AI that had been trained on the projects hosted on GitHub.
The code CoPilot has written is derived from open source projects including GPL ones, however it does not require users to abide by these licenses, thus opening up potential for litigation as it technically infringes on GPL license of the code CoPilot was trained on.