Instead you have legal concerns when you are re-licensing code you don't know where it comes from.
Someone could have published a snippet of code with retained copyright (not FOSS) and GPT-4 slurped it up, splitting it back to you and somehow the law firm representing the author comes across it.