I don't see the issue. The beauty of OSS is that you can audit the code yourself and evaluate it according to your standards.
Do you trust all OSS repos coded before 2024? AI-generated code is no different than code written by a human with different levels of seniority, different levels of focus, or different levels of discipline. A human is perfectly capable of generating spaghetti code too.