If someone asked ChatGPT to generate some code, then copy and pasted it mindlessly into their project, I wonder what OpenAI would think about the claim:
"The bug was a result of faulty code produced by ChatGPT."
Using an open source library is like copy and pasting code into your project. You assume responsibility for any pitfalls.