GitHub will defend you, if accused of copyright infringement due to Copilot
twitter.com
twitter.com
You are responsible of your own action, it's similar when you buy stolen goods from facebook marketplace, you should always ask for a receipt or proof of ownership, for code it's similar, you ask what's the license, and you include the license in your source tree if you are allowed to use the code ;)
github is full of projects like that: https://github.com/zeldaret/oot, good luck ;)
No. 4 : https://github.com/customer-terms/github-copilot-product-spe...